Poisoned Pipeline / Incidents / AS428
getcookies backdoor reached mailparser through a dependency chain
npm removed getcookies, two related cookie packages and three mailparser releases after a community report found a request-header backdoor in the dependency chain. The malicious package was pulled in transitively, so projects that never chose it still shipped it. The case is the clearest early example of the transitive dependency as the attack surface.
Mapped techniques
supply-chain getcookies backdoor reached mailparser through a dependency
A backdoored package was published to npm.
The payload rode a dependency of a popular mail parser into privileged build environments.