Malicious code in @aerodrome-finance/slipstream (npm)
The npm package @aerodrome-finance/slipstream contained malicious code that harvested environment variables, credentials, and cryptographic key material from developer machines during installation. The package impersonated the legitimate Aerodrome Finance project and targeted crypto/DeFi developers by exfiltrating wallet keystores, RPC tokens, and signing keys to an external webhook.
- Disclosed
- Last updated
- Blast radius
- Developers installing @aerodrome-finance/slipstream; targets crypto/DeFi developers with access to wallet keystores, RPC tokens, and signing keys.
- Ecosystems
- Attack vectors
- Affected entities
- @aerodrome-finance/slipstreamnpm package impersonating Aerodrome Finance DeFi project
The npm package @aerodrome-finance/slipstream was published with malicious code disguised as a legitimate library for Aerodrome Slipstream AMM contracts and ABIs. The package contained only an index.js file executed via preinstall and postinstall lifecycle hooks during installation.\n\nUpon installation, the malicious code enumerated process environment variables matching credential patterns (KEY, TOKEN, SECRET, PASS, PRIVATE, MNEMONIC, AWS, GITHUB, NPM, WALLET, SEED, etc.) and read sensitive files from the installer's system, including ~/.aws/credentials, ~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.npmrc, ~/.netrc, ~/.docker, ~/.foundry/keystores, and Solana/Sui key material. The code also searched for .env files containing additional secrets.\n\nThe collected data was serialized and sent to a detached Node subprocess that slept 60–240 seconds before POSTing the JSON payload to https://webhook.site/326b0891-2093-4800-a4c1-686ce3e07b09. The code included sandbox evasion logic, bailing out when hostname or user matched indicators such as scan-, detonation, sandbox, ubuntu-fc-uvm, honey, canarytokens, or npmmirror.\n\nThe package name was a typosquat impersonating the legitimate Aerodrome Finance DeFi project, and the credential harvest list specifically targeted crypto and DeFi developers. The incident was identified by the OpenSSF malicious-packages project."
Indicators of compromise
- Packages
- @aerodrome-finance/slipstream
- Domains
- webhook.site
Remediation
- Immediately uninstall @aerodrome-finance/slipstream from all systems
- Rotate all credentials, API keys, and tokens that may have been exposed (AWS, GitHub, NPM, RPC provider tokens, etc.)
- Revoke or regenerate SSH keys (id_rsa, id_ed25519) and any Solana/Sui wallet keys
- Review and rotate Docker credentials and Foundry keystores
- Audit environment variables and .env files for any exposed secrets
- Check npm audit logs and package.json for any unexpected dependencies on this package
- Monitor external accounts (AWS, GitHub, crypto wallets) for unauthorized activity
- Use npm's package verification and consider using npm audit to detect similar malicious packages
Sources
- GitHub Advisory GHSA-p457-j9cc-cpmp · GitHub Advisory Database
Cite this entry
"Malicious code in @aerodrome-finance/slipstream (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 11, 2026; last updated August 11, 2026. https://supplychainattack.org/incident/malicious-code-in-aerodrome-finance-slipstream-npm-45n0ge
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in lodsh-cli (npm)
lodsh-cli, a typosquat of lodash-cli on npm, contained malicious code in its postinstall script that executed arbitrary remote code and exfiltrated system information. The package downloaded a Windows executable and sent platform data to a hardcoded IP address.
npmTyposquattingCompromised package - containedcritical
Malicious code in lodahsjs (npm)
The npm package lodahsjs is a typosquatting attack on 'lodash' that contains malicious code in its postinstall script. Upon installation, it exfiltrates system information to a C2 server and downloads and executes a Windows binary, with capability to bridge WSL environments to compromise the host Windows system.
npmCompromised packageTyposquatting - containedcritical
Malicious code in loadashjs (npm)
loadashjs is a typosquat package on npm containing malicious postinstall code that exfiltrates system information and downloads a Windows PE binary from a hardcoded GitHub release URL. The package masquerades as lodash but provides no legitimate functionality.
npmTyposquattingCompromised package - containedcritical
Malicious code in chalk-core (npm)
chalk-core@1.0.0 is a typosquatting package masquerading as the popular chalk library. It contains malicious postinstall scripts that decode and execute arbitrary binaries on Windows and WSL systems, with command-and-control beaconing to 193.70.34.101:20099.
npmTyposquattingCompromised package