Poisoned Pipeline / Incidents / AS428

AS428 · 2018-04

getcookies backdoor reached mailparser through a dependency chain

npm

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

T0109 · Resource Development · Publish malicious artifact

A backdoored package was published to npm.

T0164 · Privilege Escalation · Inject malicious dependency to privileged user repository

The payload rode a dependency of a popular mail parser into privileged build environments.

Sources