Malicious code in @aerodrome-finance/contracts (npm)
The npm package @aerodrome-finance/contracts versions 1.0.0, 1.1.0, and 1.1.1 contains malicious code that executes automatically upon installation. This code harvests sensitive credentials and secrets from various common configuration and key storage locations on the host system, including AWS, SSH, Kubernetes, Docker, Git, Google Cloud, Solana, and environment variables. The stolen data is then exfiltrated to a hardcoded external endpoint. The malicious code includes sandbox and honeypot evasion techniques to avoid detection during automated scans.
AI Analysis
Technical Summary
The malicious npm package @aerodrome-finance/contracts (versions 1.0.0, 1.1.0, and 1.1.1) impersonates the legitimate @aerodrome-finance scope. Its lifecycle hooks auto-execute an index.js script on installation that reads sensitive installer secrets from multiple well-known directories and environment variables containing keys or tokens. It then sends the collected data via HTTPS POST to a hardcoded webhook.site endpoint using a detached child process that delays sending to outlive installation and scanning windows. The code includes checks to evade sandbox, honeypot, and automated detection environments by inspecting hostnames, user privileges, environment variables, and npm registry mirrors. Static analysis confirms use of child_process, https, os, and fs modules to perform these actions.
Potential Impact
This malicious package can lead to the compromise of a wide range of sensitive credentials and secrets stored on the victim's machine, including cloud service keys, SSH keys, Docker credentials, Git credentials, and various environment secrets. This exposure can result in unauthorized access to cloud resources, source code repositories, container registries, and other critical infrastructure. The stealth and evasion techniques increase the likelihood of successful undetected compromise during automated scans or sandbox analysis.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package impersonating a legitimate scope. Users should immediately remove versions 1.0.0, 1.1.0, and 1.1.1 of @aerodrome-finance/contracts if installed. Audit systems for the presence of this package and any suspicious network traffic to unknown endpoints. Rotate any potentially exposed credentials and secrets stored on affected hosts. Use trusted sources and verify package authenticity before installation to avoid typosquatting attacks.
Malicious code in @aerodrome-finance/contracts (npm)
Description
The npm package @aerodrome-finance/contracts versions 1.0.0, 1.1.0, and 1.1.1 contains malicious code that executes automatically upon installation. This code harvests sensitive credentials and secrets from various common configuration and key storage locations on the host system, including AWS, SSH, Kubernetes, Docker, Git, Google Cloud, Solana, and environment variables. The stolen data is then exfiltrated to a hardcoded external endpoint. The malicious code includes sandbox and honeypot evasion techniques to avoid detection during automated scans.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The malicious npm package @aerodrome-finance/contracts (versions 1.0.0, 1.1.0, and 1.1.1) impersonates the legitimate @aerodrome-finance scope. Its lifecycle hooks auto-execute an index.js script on installation that reads sensitive installer secrets from multiple well-known directories and environment variables containing keys or tokens. It then sends the collected data via HTTPS POST to a hardcoded webhook.site endpoint using a detached child process that delays sending to outlive installation and scanning windows. The code includes checks to evade sandbox, honeypot, and automated detection environments by inspecting hostnames, user privileges, environment variables, and npm registry mirrors. Static analysis confirms use of child_process, https, os, and fs modules to perform these actions.
Potential Impact
This malicious package can lead to the compromise of a wide range of sensitive credentials and secrets stored on the victim's machine, including cloud service keys, SSH keys, Docker credentials, Git credentials, and various environment secrets. This exposure can result in unauthorized access to cloud resources, source code repositories, container registries, and other critical infrastructure. The stealth and evasion techniques increase the likelihood of successful undetected compromise during automated scans or sandbox analysis.
Mitigation Recommendations
No official patch or remediation is available as this is a malicious package impersonating a legitimate scope. Users should immediately remove versions 1.0.0, 1.1.0, and 1.1.1 of @aerodrome-finance/contracts if installed. Audit systems for the presence of this package and any suspicious network traffic to unknown endpoints. Rotate any potentially exposed credentials and secrets stored on affected hosts. Use trusted sources and verify package authenticity before installation to avoid typosquatting attacks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13734
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7b6fd9bf8831d5393eb037
Added to database: 08/11/2026, 18:54:17 UTC
Last enriched: 08/11/2026, 19:05:19 UTC
Last updated: 08/11/2026, 19:05:19 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.