20 Popular npm Packages With 2 Billion Weekly Downloads Compromised in Supply Chain Attack
Summary: A phishing email mimicking npm (support@npmjs[.]help) tricked co-maintainer Josh Junon into entering his username, password, and 2FA token on a fake page, likely via an adversary-in-the-middle attack, and the stolen credentials were used to publish rogue versions of 20 npm packages that together draw over 2 billion weekly downloads. The injected malware hooks window.fetch, XMLHttpRequest, and window.ethereum.request to intercept cryptocurrency transactions and swap destination wallet addresses for attacker-controlled ones matched by Levenshtein distance, and the same campaign also took over maintainer duckdb_admin to distribute the wallet drainer.
Key Takeaway: One phished 2FA token reached packages with 2 billion weekly downloads, and the attackers netted only about $600 - the damage ceiling here was set by the payload's intent, not by the access gained.
Read the original at The Hacker News ↗
- Topics
- Supply Chain & AppSec
- Related
- Kitesurf is now open source Cyber Risks · Nov 13, 2026Trained to betray: How post-training supply chain attacks hijack coding agents Cyber Risks · Nov 12, 2026ZDI-26-913: (0Day) Meta fairseq load_audio_path Code Injection Remote Code Execution Vulnerability Cyber Risks · Nov 11, 2026