A phished maintainer login was used to push crypto-stealing code into 18 popular JavaScript packages (~2.6B weekly downloads). Bad versions were pulled within hours.
18 packages exposed for a few hours; under $50 in crypto stolen
Attackers tricked the volunteer who maintains a set of tiny but extremely common coding building blocks into logging in on a fake npm site. They used his account to publish versions that quietly swap crypto wallet addresses when someone sends a payment from a website built with those packages.
One phished login reached code that ships inside thousands of apps. The attackers chose a narrow crypto scam; a stealthier payload could have stolen secrets from far more companies.
Developers and companies who installed or updated JavaScript dependencies on September 8 to 9, 2025, and shipped a web front end from that build. End users were only at risk if they sent crypto through an affected site during that window.
If you run a business: check lockfiles for the affected versions, rebuild and redeploy any web bundle produced September 8 to 9, 2025, and pin known-good versions.
If you are an individual: double-check the full wallet address before confirming any crypto send.
A lookalike domain (npmjs[.]help) sent a fake mandatory 2FA update email. The fake login captured the maintainer's password and TOTP code. Malicious versions carried an obfuscated browser-side clipper that hooked fetch, XMLHttpRequest, and wallet APIs to replace recipient addresses with similar-looking attacker addresses.
Spearphishing link to a credential-harvesting page on a lookalike domain registered days earlier.
Malicious package versions published to npm; code runs in the browser of any site that bundled them.
Crypto payment destinations rewritten for Ethereum, Bitcoin, Solana, Tron, Litecoin, and Bitcoin Cash.
Defanged so nothing is clickable. Copy one indicator per line into your tools.
npmjs[.]help: lookalike phishing domainansi-regex@6.1.1ansi-styles@6.2.2backslash@0.1.1chalk-template@0.5.1chalk@5.6.1color-convert@2.1.1color-name@1.2.1color-string@1.10.2debug@4.4.2error-ex@1.4.1has-ansi@3.1.1is-arrayish@0.4.1simple-swizzle@0.2.3slice-ansi@5.1.1strip-ansi@7.2.1supports-color@9.5.1supports-hyperlinks@3.1.1wrap-ansi@8.1.1wrap-ansi@9.0.1All package versions above are malicious releases published September 8, 2025.
Detect: search lockfiles for the affected versions and scan bundles for the obfuscation marker published by researchers. Run npm audit with current advisories.
Fix: pin known-good versions with overrides, clear caches, reinstall, rebuild and redeploy front ends from the window.
The maintainer disclosed the compromise publicly the same day and worked with npm and researchers to remove the versions.
No personal data was taken. The code only tried to redirect crypto payments made through affected websites during a few hours on September 8 to 9, 2025.
Yes. The malicious versions were removed. Pin to known-good versions and rebuild anything made during the window.
Pin dependency versions, wait a few days before adopting new releases, and require phishing-resistant MFA for anyone who can publish your packages.
Add the maintainer statement and the GitHub security advisories as sources before publishing. Loss figure is from researcher reporting.
Every entry needs a primary source before it is published. Badges change when new facts confirm, dispute or debunk a report, and the page stays up as the corrected record.