npm “chalk & debug” Hijack
· npm registry
One phished maintainer briefly turned core JavaScript libraries into crypto stealers.
Open on the live 3D map →- Target
- Global / on-chain
- Type
- Supply chain
- Threat actor
- Phisher posing as npm support
- Attribution
- Non-state / unknown Official attribution
- Impact
- 18 packages, ~2.6B weekly downloads
What happened
A fake npm support email captured a maintainer’s credentials and 2FA. Malicious versions of chalk, debug and other packages swapped crypto wallet addresses in browsers.
Aftermath
The versions were pulled within hours; very little crypto was actually stolen, but the reach was enormous.