Poisoned Pipeline / Incidents / AS386

AS386 · 2022-07

CuteBoi staged 1,200 npm packages with an XMRig wrapper before any attack

npm

Checkmarx detected more than 1,200 npm packages published over a few days
by roughly 1,000 automatically created accounts, all carrying a near-identical
copy of eazyminer, a JavaScript wrapper around XMRig. The packages did nothing
on install: the copied code expects a caller to invoke the miner, and the
attacker had not wired that trigger, so this looked like staging rather than an
attack. Automation included passing npm's 2FA challenge. Checkmarx named the
actor CuteBoi from the hardcoded username in package configs and tracked them
on a dedicated page. The case is the clearest example of registry-capacity
abuse before payload delivery.

Mapped techniques

supply-chain CuteBoi staged 1,200 npm packages with an XMRig wrapper befo

T0108 · Resource Development · Accounts in public registry

About a thousand accounts created by automation.

T0139 · Impact · Resource hijacking

The staged payload was an XMRig mining wrapper.

T0109 · Resource Development · Publish malicious artifact

1,200 packages published, over 1,000 still live at publication.

Sources