📈 Get daily crypto insights that make you smarter about your money

NPM Supply Chain Attack Hijacks 2.5 Billion Weekly Downloads in Crypto Wallet Heist

A devastating supply chain attack targeting some of the most widely used JavaScript packages has exposed critical vulnerabilities in the cryptocurrency ecosystem, with threat actors successfully poisoning 18 NPM packages collectively downloaded over 2.5 billion times per week. The September 2025 breach represents one of the largest supply chain compromises in the history of open-source software, and it specifically targets cryptocurrency users through sophisticated transaction-hijacking malware.

The Exploit Mechanics

The attack began with a carefully orchestrated phishing campaign. Threat actors sent emails from the address support[at]npmjs[dot]help, directing package maintainers to npmjs[.]help — a domain designed to mimic the legitimate npmjs.com website. The emails created urgency by claiming that accounts with outdated two-factor authentication credentials would be locked starting September 10, 2025.

While several community members identified the phishing attempt and reported the malicious domain, package maintainer Josh Junon, known online as Qix, fell victim to the deception. Once the attackers gained control of his NPM account, they injected malicious code into 18 packages under his maintenance. The affected packages include widely used libraries such as ansi-styles, chalk, debug, strip-ansi, color-convert, and supports-color — foundational tools present in nearly every JavaScript project.

The injected payload operates as a browser-based interceptor designed to hijack application APIs and network traffic. Security firm Aikido explains that the malware scans specifically for cryptocurrency-related transactions, replacing user-provided wallet addresses and payment destinations with attacker-controlled substitutes. The code uses string-matching logic to replace targets with look-alike values, making the alterations extremely difficult to detect visually.

Affected Systems

According to cybersecurity firm Wiz, the scope of potential exposure is enormous. If the malicious package versions were incorporated into frontend builds and shipped as web assets during the window they were available, the payload would execute in any browser loading affected websites. This means any website that deployed updates during the compromise window could have unknowingly served the crypto-stealing code to its users.

A DuckDB maintainer was also phished in the same campaign. Although the DuckDBLabs team blocked the attacker quickly, the Node.js distribution of DuckDB on the NPM registry was briefly injected with malware. The attack reached an estimated 10 percent of cloud environments before remediation began. Bitcoin traded at approximately $113,955 at the time of the attack, making even small transaction diversions potentially highly profitable for the attackers.

The Mitigation Strategy

Junon disclosed the attack immediately after being locked out of his account, reporting the intrusion to NPM. The registry began removing malicious packages within two hours, and the maintainer regained access several hours later. Organizations using affected packages were advised to audit their dependency trees, pin versions to known-safe releases, and review any frontend builds deployed during the exposure window.

Security teams should implement lockfiles and integrity verification in their CI/CD pipelines. Subresource integrity checks and automated dependency scanning tools can detect tampered packages before they reach production environments. Ethereum, trading near $4,349 at the time of the incident, highlights the high-value target that cryptocurrency transactions represent for supply chain attackers.

Lessons Learned

This incident underscores the fragility of the open-source supply chain that underpins modern web development. A single compromised maintainer account granted attackers access to packages used by billions of projects worldwide. The phishing technique was straightforward yet effective — exploiting trust in official-looking communications during a plausible security update scenario.

For cryptocurrency projects specifically, the attack demonstrates that wallet security extends far beyond private key management. The entire software supply chain, from development dependencies to deployment pipelines, must be treated as part of the security perimeter. Projects should implement multi-party approval for dependency updates and maintain comprehensive audit trails.

User Action Required

Developers and organizations should immediately verify their dependency trees against the list of 18 compromised packages. Any builds deployed between September 8 and September 11, 2025 should be treated as potentially compromised. Users of cryptocurrency platforms and wallets should verify transaction details using multiple independent methods and monitor their wallets for unauthorized activity.

Disclaimer: This article is for informational purposes only and does not constitute financial or security advice. Always consult with qualified professionals for security decisions.

🌱 FOR BUSINESSES BitcoinsNews.com
Reach 100K+ Crypto Readers
Sponsored content, press releases, banner ads, and newsletter placements. Put your brand in front of Bitcoin's most engaged audience.

7 thoughts on “NPM Supply Chain Attack Hijacks 2.5 Billion Weekly Downloads in Crypto Wallet Heist”

    1. 2.5 billion weekly downloads across 18 packages. chalk and ansi-styles are in literally every JS project. the blast radius is insane

    1. npmjs.help as a phishing domain and nobody flagged it until after the maintainer handed over credentials. supply chain security starts with human factor

Leave a Comment

Your email address will not be published. Required fields are marked *

BTC$63,993.00+0.2%ETH$1,728.23-0.1%SOL$71.87-2.1%BNB$590.74+0.2%XRP$1.13-0.4%ADA$0.1597+0.9%DOGE$0.0821-1.0%DOT$0.9361-1.4%AVAX$6.32+1.4%LINK$7.89+0.3%UNI$2.99-0.5%ATOM$1.79+0.2%LTC$44.53-0.9%ARB$0.0827-0.5%NEAR$2.06-3.5%FIL$0.8002-0.6%SUI$0.7273+3.8%BTC$63,993.00+0.2%ETH$1,728.23-0.1%SOL$71.87-2.1%BNB$590.74+0.2%XRP$1.13-0.4%ADA$0.1597+0.9%DOGE$0.0821-1.0%DOT$0.9361-1.4%AVAX$6.32+1.4%LINK$7.89+0.3%UNI$2.99-0.5%ATOM$1.79+0.2%LTC$44.53-0.9%ARB$0.0827-0.5%NEAR$2.06-3.5%FIL$0.8002-0.6%SUI$0.7273+3.8%
Scroll to Top