Poisoned Pipeline

Poisoned Pipeline / Incidents / AS64

AS64 · 2019-03

electron-native-notify planted in Agama / Komodo wallet

npm

In March 2019 the npm security team, with Komodo, stopped a plot to
steal Agama wallet seeds. GitHub user sawlysawly added
electron-native-notify ^1.1.5 to KomodoPlatform/EasyDEX-GUI on 8 March.
Version 1.1.6 (23 March) was the first with a malicious payload; Agama
v0.3.5 shipped it on 13 April. After launch the wallet fetched a second
stage from updatecheck.herokuapp and exfiltrated the seed. Classic
“useful package, wait until adopted, then flip the next version.”
npm removed the package and wired npm audit.

Mapped techniques

supply-chain delayed malicious update

T0109 · Resource Development · Publish malicious artifact

electron-native-notify published as a useful helper, then flipped.

T0111 · Resource Development · Malicious code contribution to an open-source repository

Dependency added to KomodoPlatform/EasyDEX-GUI.

T0121 · Resource Development · Compromised legitimate artifact

Later versions of an already-adopted package carried the payload.

T0184 · Credential Access · Harvesting sensitive information from files

Agama wallet seed and login passphrases.

T0156 · Exfiltration · Exfiltration over webhooks

Second stage from updatecheck.herokuapp received the seed.

Sources