v018-axios-cdntestnpm
Malicious code in v018-axios-cdntest (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
[email protected] impersonates axios v0.18.0 (the bundle header reads /* axios v0.18.0 | (c) 2018 by Matt Zabriskie */ and the package.json description self-identifies as 'Axios library v0.18.0 with cryptojacker payload'). The main entry index.js is the legitimate axios bundle with an appended IIFE that reads document.cookie and exfiltrates it via XMLHttpRequest GET to https://webhook.site/ef6e7978-f936-4664-b3ff-296a250e1735?c=<cookie> whenever the bundle is loaded in a browser. The sibling xmr-min.js is a self-described 'Stealth Cryptojacker v3.0' that spawns Web Workers (using eval on postMessage data), mines Monero against a hardcoded wallet via pool.supportxmr.com:4444, and dynamically injects an additional <script> from https://cdn.jsdelivr.net/npm/[email protected]/index.js. Any application that bundles this package and ships it to end users will leak end-user cookies to the attacker's webhook and silently mine cryptocurrency in visitors' browsers.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection