← Back to context

Comment by chuckadams

3 hours ago

The big attacks of today are spread across several package ecosystems: TrapDoor and Shai-Hulud have been hitting npm, pypi, composer, and crates with the same malware.

And all of them "thought" of security as an after-after-after-after-after-thought.

  • Most of these are now building upon techniques that have already been exploited since past 1 years. This attack used 4 of those techniques.

    1. Lifecycle Hook Execution

    2. CI/CD Identity Plane Attacks

    3. Maintainer Account Takeover and Malicious Publish

    4. Self-Replicating npm Worms

    https://npm-supply-chain-attack-techniques.pagey.site/

    • Regardless of what these attacks exploit, see elsewhere a larping comment of mine: the solution exists, the implementation already mitigated numerous such and other exploits (it's nice to read "nix is not affected" on discourse or over matrix chat), it predates Docker by a decade, and is older than Ubuntu and Fedora (to give the perspective), yet people prefer to remain ignorant.

      1 reply →