Poisoned Pipeline / Techniques / T0258

T0258 · Defense Evasion · TA07 · observed in 2 incident(s)

Stage the payload across successive versions

Open Source Security Code Security

A package that arrives with a complete dropper in its first upload is one
file for a scanner to match. The same dropper assembled over a dozen
uploads is a version history. Publish the clean copy first, then add the
pieces one at a time — an install hook that does nothing, a downloader
with an empty URL list, the URL list with nothing else changed — and let
the account accumulate releases for an hour before the payload is
complete. Every individual diff is a small, explicable edit to a working
utility, the package has provenance-shaped history by the time it
matters, and a review that starts at the latest version sees only the
last increment.

In the clampony releases of 24 November 2026 the sequence ran from a
0.0.0-stage placeholder through an empty setup.js at 1.0.1, a downloader
with urls = [] at 1.0.6 and 1.0.7, and the two stealer URLs at 1.0.9,
with 1.0.10 and 1.0.11 following within 44 seconds. The sibling package
safeclamp3 staged the other half in parallel: 1.0.7 added a preinstall
hook that ran an empty script, and 1.0.11 added a detached launch of a
file whose whole content was console.log(1). Twelve versions from two
day-old accounts in seventy-three minutes, and no single one of them is
a dropper.

The cost is that the package is incomplete for as long as the operator
is staging it — in this case the write-and-run step never arrived, and
every install still fetched the payload from Pastebin. The technique
buys evasion at the price of a window in which the package is live,
installed and not yet doing anything, which is also the window in which
it is easiest to read.

Where this idea came from

Public incident / advisory

From clampony and safeclamp3 on 24 November 2026, twelve versions from two day-old accounts in seventy-three minutes, each adding one piece of a dropper (an empty setup.js, a downloader with urls = [], the URL list) so no single upload was a dropper and both accounts had a version history before the payload appeared. Distinct from T0230 (one old release re-versioned above the head) and T0242 (a tag rewritten after the tarball shipped) — here every release is a small, plausible increment.

Mitigations

None linked yet.

Detections

None linked yet.

Observed in incidents (2)

References