Poisoned Pipeline / Incidents / AS402
iamreboot NuGet packages abused an MSBuild loophole to run code
ReversingLabs found malicious NuGet packages exploiting an MSBuild
loophole so that code ran during the build without an obvious install script.
The NuGet ecosystem had received far less attention than npm, PyPI or RubyGems,
and this campaign showed the same technique transfers: a project file that
executes at build time is equivalent to a postinstall hook.
Mapped techniques
supply-chain iamreboot NuGet packages abused an MSBuild loophole to run c
Code executed during MSBuild rather than at install.
Malicious packages published to NuGet.