Massive NPM Hack Compromises JavaScript Libraries With Over 2 Billion Weekly Downloads

A major security breach has rocked the JavaScript community, after a phishing attack led to malware being injected into 18 popular NPM packages, including chalk, debug, and strip-ansi, putting millions of crypto users at risk. 

The malware substitutes wallet addresses in transactions with sophisticated logic, leaving decentralized apps and user funds vulnerable. As the damage continues to unfold, experts have advised users to exercise caution.

What Happened in the NPM Supply Chain Hack

On September 8, 2025, one of the most widespread supply chain attacks in recent memory hit the JavaScript ecosystem. The NPM account of a famous developer, Qix, was hacked by hackers with the help of a specific phishing email that was sent by the domain support@npmjshelp, which was created only three days before the attack.

They used that access to deliver malicious code to 18 popular NPM libraries, including core tools, like chalk, debug, and strip-ansi. These packages are downloaded over 2 billion times each week and are used in thousands of web and decentralized finance applications.

The malware is a complex crypto clipper that steals cryptocurrency wallet addresses by applying the Levenshtein algorithm to silently substitute genuine addresses with attacker-controlled addresses that appear nearly identical. 

This attack vector makes it almost impossible for users to detect the swap in real time. The main wallet identified in the exploit is: 0xFc4a. Backup wallets also linked to the hack include: 0xa29e, 0x40C35, and 0x30F8

So far, the malware has stolen over $503 worth of crypto assets, though experts warn this may just be the beginning of a much larger threat.

Reactions from Developers and Industry Experts

The attack triggered an immediate response across the blockchain and web development communities. Charles Guillemet, CTO of Ledger, warned that “swathes of crypto users could be at risk,” and called the attack a “large-scale supply chain exploit” affecting potentially “all chains.”

The malicious payload operates by dynamically replacing crypto addresses in real time to steal funds, he wrote on X. Further, the CTO noted that the affected packages have already been downloaded more than 1 billion times.

Security-focused developer Cygaar echoed the urgency, advising “I would strongly recommend not signing any crypto transactions right now.” In the meantime, other large protocols like Uniswap and Jupiter Exchange have assured their users that they are not impacted. 

Hardware and browser wallet providers such as Ledger and MetaMask also released statements that assets stored in their wallets are safe, although users should be cautious. On GitHub, Qix, who was a victim of the account breach, acknowledged that he had been a victim of a two-factor authentication reset phishing email. 

He concluded his post by saying that this is embarrassing. Meanwhile, NPM has started working to get rid of the malicious packages, though the vulnerability has raised broader concerns about the security of open-source software systems.

Final Thoughts 

This hack trails the series of attacks on crypto platforms in the past few months. With open-source tools still driving the crypto space, users, developers, and protocols have to stay vigilant since a single missed phishing email could put many at risk.

About Author

Milko Trajcevski

About Author

Milko Trajcevski

Milko Trajcevski

ABOUT COINNEWS
100k+
Active Monthly Users Around the World
50+
Guides and Reviews Articles
3
Years on the Market
8+
In-house Authors
At Coinnews, we aim to make cryptocurrency, blockchain, and Web3 understandable, and information available to everyone, no matter what level you are in your investment journey. Founded in 2022, Coinnews has been dedicated to delivering reliable, multilingual coverage of the cryptocurrency industry.