Poisoned Pipeline / Incidents / AS366

AS366 · 2024-12

Compromised npm token published mining payloads as @rspack/core and @rspack/cli

npm

A compromised npm maintainer token was used to publish @rspack/core and
@rspack/cli 1.1.7 with obfuscated postinstall code. The payload fetched an
XMRig configuration, collected host data and mined Monero on developer machines
and build runners. Socket and Sonatype published analyses; the same actor wave
(tracked as MUT-1692) also hit the vant packages. The build tooling ecosystem
was the target: Rspack users are by definition running compilation on hosts
with credentials.

Mapped techniques

supply-chain Compromised npm token published mining payloads as @rspack/c

T0113 · Initial Access · Compromised user account

A maintainer npm token was used without any registry compromise.

T0139 · Impact · Resource hijacking

The payload mined Monero on install hosts.

Sources