Poisoned Pipeline / Techniques / T0254
Split the payload so the build stages and the app launches
Two packages, each inert on its own. The first runs during the build and
only writes files: it downloads a DLL to a folder under the user's profile
and copies a legitimate Windows executable next to it, then exits. The
second runs when the application opens and only starts a path that must
already exist. A candidate who builds the project to see the starter UI
and then runs it to attempt the task performs both halves in the order the
assessment's own instructions require.
In the November 2026 NuGet operation the halves were
VS_Builder.MSBuildAnalyzer, whose MSBuild target ran a bundled DLL after
every build, and VS_Builder.WinUI3Controls, whose FileButton control
started the staged pair on first creation. Neither package is malware in
isolation. An analyst who inspects the analyzer finds a downloader and a
file copy; an analyst who inspects the control finds a hidden launch of a
path it did not create. The README pushed candidates away from the seam —
"Do not alter the inner workings or styles of the external FileButton
itself" — so the control that completes the chain was the one the
instructions protected.
That instruction is the second half of the technique. The split makes
either artifact defensible in review, and the task description makes
removing the completing artifact a failure to follow the brief. It is
distinct from T0220, where a payload is withheld until after an artifact
has been reviewed: nothing here waits on a review, the two artifacts
simply depend on each other. It is also distinct from T0239, which
manufactures a failure the installer claims to fix — the candidate is not
asked to install anything, only to build and run what a stranger sent.
Where this idea came from
From the same operation's assessment, where the analyzer package only wrote files and the FileButton control only launched a file that had to exist already, and the README told candidates not to alter that control. Distinct from T0220 (a payload withheld until after review) because nothing waits on a review, and from T0239 (a manufactured failure only an installer fixes) because the candidate is asked only to build and run.
Mitigations
None linked yet.
Detections
None linked yet.