MAL-2026-10024: Malicious code in @wagni_bot/eth-agent (npm)
The npm package @wagni_bot/eth-agent is a malicious package that executes a postinstall script upon installation. This script scans the user's home and current directories for sensitive files such as private keys and credential files, collects environment variables containing secrets, and exfiltrates this data along with system information to a remote server over unencrypted HTTP. The package masquerades as an Ethereum agent SDK but contains no legitimate functionality. Installing any affected version results in immediate credential theft.
AI Analysis
Technical Summary
The @wagni_bot/eth-agent npm package versions 1.0.0, 1.1.0 through 1.1.5, and 1.2.0 contain malicious code that runs during the postinstall lifecycle event. The code searches for private keys (.pem, .key, id_rsa, id_ed25519), credential files (.cred, .env), SSH keys in ~/.ssh, and environment variables with names indicating secrets (e.g., PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, AWS). It then sends the collected data along with hostname, username, and current working directory to a hardcoded IP address via plain HTTP without encryption or authentication. The package exports an empty module, indicating its sole purpose is data theft targeting developers working with Ethereum tooling.
Potential Impact
Successful installation of any affected version leads to immediate exfiltration of sensitive credentials including SSH private keys, environment secrets, and credential files from the installer's machine. This compromises the confidentiality of the user's cryptographic keys and secrets, potentially enabling unauthorized access to systems, cloud services, and cryptocurrency wallets.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing the @wagni_bot/eth-agent package in any version listed as affected. Remove any instances of this package from projects and scan systems for potential credential exposure. Rotate any potentially compromised keys and secrets immediately. Monitor for suspicious activity related to exposed credentials. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
MAL-2026-10024: Malicious code in @wagni_bot/eth-agent (npm)
Description
The npm package @wagni_bot/eth-agent is a malicious package that executes a postinstall script upon installation. This script scans the user's home and current directories for sensitive files such as private keys and credential files, collects environment variables containing secrets, and exfiltrates this data along with system information to a remote server over unencrypted HTTP. The package masquerades as an Ethereum agent SDK but contains no legitimate functionality. Installing any affected version results in immediate credential theft.
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 @wagni_bot/eth-agent npm package versions 1.0.0, 1.1.0 through 1.1.5, and 1.2.0 contain malicious code that runs during the postinstall lifecycle event. The code searches for private keys (.pem, .key, id_rsa, id_ed25519), credential files (.cred, .env), SSH keys in ~/.ssh, and environment variables with names indicating secrets (e.g., PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, AWS). It then sends the collected data along with hostname, username, and current working directory to a hardcoded IP address via plain HTTP without encryption or authentication. The package exports an empty module, indicating its sole purpose is data theft targeting developers working with Ethereum tooling.
Potential Impact
Successful installation of any affected version leads to immediate exfiltration of sensitive credentials including SSH private keys, environment secrets, and credential files from the installer's machine. This compromises the confidentiality of the user's cryptographic keys and secrets, potentially enabling unauthorized access to systems, cloud services, and cryptocurrency wallets.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing the @wagni_bot/eth-agent package in any version listed as affected. Remove any instances of this package from projects and scan systems for potential credential exposure. Rotate any potentially compromised keys and secrets immediately. Monitor for suspicious activity related to exposed credentials. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10024
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50baa368715ace43584e7c
Added to database: 07/10/2026, 09:25:55 UTC
Last enriched: 07/10/2026, 10:14:04 UTC
Last updated: 07/10/2026, 10:14:04 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.
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.