Hackers Strike NPM Supply Chain — but Walk Away Nearly Empty-Handed
This week the open-source and cloud security communities witnessed one of the most significant supply-chain attacks ever to hit the Node.js ecosystem. Yet despite the scale and speed of the compromise, the attackers left with almost nothing to show for it — underscoring how quickly coordinated defenders can blunt the impact of even massive incidents.
The Largest NPM Supply-Chain Compromise on Record
The attack began when Josh Junon (known as “qix”), maintainer of several hugely popular NPM packages, fell victim to a password reset phishing lure. Threat actors hijacked his account and pushed malicious updates to widely used packages — including chalk and debug-js — which together rack up 2.6 billion+ weekly downloads.
Once published, the poisoned packages propagated rapidly. According to Wiz, roughly 10% of cloud environments downloaded at least one of the malicious versions during the two-hour window before they were removed.
This short timeframe still demonstrated the frightening reach of a modern supply-chain attack. “Malicious code successfully reached 1 in 10 cloud environments,” Wiz researchers warned, highlighting how fast compromise can spread in the open-source ecosystem.
A Crypto-Theft Payload That Could Have Been Worse
Instead of installing backdoors or ransomware, the attackers embedded code designed to redirect cryptocurrency transactions by hijacking signing requests for Ethereum and Solana wallets. This “crypto-jacking” payload attempted to swap legitimate wallet addresses with attacker-controlled ones in browser environments.
While disruptive, this payload likely spared victims from far more serious consequences. With the same access, the attackers could have planted reverse shells, harvested secrets, or moved laterally into enterprise networks.
The Take: Less Than $1,000
Despite compromising packages used across virtually every Node.js project, the attackers earned only a few hundred dollars. Security Alliance and Socket researchers found the attackers’ wallets contained:
• $429 in Ethereum
• $46 in Solana
• Small amounts of BTC, Tron, BCH, and LTC totaling roughly $600
Some of these wallets have now been flagged, severely limiting the threat actors’ ability to convert or spend their gains.
Wider Impact — and a Wake-Up Call
The same phishing campaign also compromised DuckDB’s maintainer account, spreading the same crypto-stealing code through another widely used open-source project.
While this attack caused hours of cleanup, rebuilding, and audits for countless organizations, it revealed two key lessons:
1. Maintainer accounts remain a critical weak point — phishing still works even against seasoned developers.
2. Malicious packages spread at lightning speed — detection and response must be automated and near-instant.
How to Protect Your Software Supply Chain
• Enable multi-factor authentication (MFA) on all package registry accounts.
• Monitor for malicious updates with automated tools such as Socket, Snyk, or internal dependency scanners.
• Lock dependencies using package-lock.json or similar to avoid silently pulling in new versions.
• Audit and rebuild frequently, especially after supply-chain security alerts.
• Train developers to recognize phishing attempts targeting package maintainers.
Bottom Line
The NPM supply-chain attack shows both the power and the fragility of open source. A single compromised account can ripple across billions of downloads, but rapid, coordinated response from the security community can dramatically blunt the impact. This incident should serve as a rallying point for tighter controls on maintainer accounts, faster detection mechanisms, and a renewed focus on supply-chain security.

















