MAL-2026-10036: Malicious code in @wagni_bot/web3-agent (npm)
The npm package @wagni_bot/web3-agent is a malicious package that masquerades as a web3 SDK but contains code that steals sensitive cryptographic keys and credentials. Upon installation, it scans the user's directories and environment variables for wallet keys, private SSH keys, and secrets, then exfiltrates this data to a hardcoded external IP address. The package exports no legitimate functionality and exists solely to harvest sensitive developer information.
AI Analysis
Technical Summary
The @wagni_bot/web3-agent npm package versions 1.0.0, 1.1.0, 1.1.1, 1.1.3, 1.1.4, and 1.1.5 contain malicious code in a postinstall.js script. This script recursively scans the current working directory and the user's home directory, including cryptocurrency wallet directories and SSH key locations, for files containing private keys and seed phrases. It also inspects environment variables for secrets. The collected sensitive data, including Ethereum and Bitcoin private keys, SSH private keys, and various tokens, is sent via HTTP POST to a hardcoded IP address (http://107.161.90.180:7777). The package's index.js exports an empty object, indicating no legitimate SDK functionality, confirming its sole purpose is data theft.
Potential Impact
Users who install any of the affected versions of @wagni_bot/web3-agent risk having their private cryptographic keys, SSH private keys, and sensitive environment variables exfiltrated to an attacker-controlled server. This compromises the confidentiality of cryptocurrency wallets, SSH access credentials, and other secret tokens, potentially leading to unauthorized access, theft of funds, and further system compromise.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. The best mitigation is to avoid installing @wagni_bot/web3-agent entirely. If already installed, remove the package immediately and rotate any potentially compromised keys and secrets. Monitor for any unauthorized access to affected wallets or systems. Since this is a malicious package, no legitimate fix exists; users should rely on trusted sources and verify package authenticity before installation.
MAL-2026-10036: Malicious code in @wagni_bot/web3-agent (npm)
Description
The npm package @wagni_bot/web3-agent is a malicious package that masquerades as a web3 SDK but contains code that steals sensitive cryptographic keys and credentials. Upon installation, it scans the user's directories and environment variables for wallet keys, private SSH keys, and secrets, then exfiltrates this data to a hardcoded external IP address. The package exports no legitimate functionality and exists solely to harvest sensitive developer information.
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/web3-agent npm package versions 1.0.0, 1.1.0, 1.1.1, 1.1.3, 1.1.4, and 1.1.5 contain malicious code in a postinstall.js script. This script recursively scans the current working directory and the user's home directory, including cryptocurrency wallet directories and SSH key locations, for files containing private keys and seed phrases. It also inspects environment variables for secrets. The collected sensitive data, including Ethereum and Bitcoin private keys, SSH private keys, and various tokens, is sent via HTTP POST to a hardcoded IP address (http://107.161.90.180:7777). The package's index.js exports an empty object, indicating no legitimate SDK functionality, confirming its sole purpose is data theft.
Potential Impact
Users who install any of the affected versions of @wagni_bot/web3-agent risk having their private cryptographic keys, SSH private keys, and sensitive environment variables exfiltrated to an attacker-controlled server. This compromises the confidentiality of cryptocurrency wallets, SSH access credentials, and other secret tokens, potentially leading to unauthorized access, theft of funds, and further system compromise.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. The best mitigation is to avoid installing @wagni_bot/web3-agent entirely. If already installed, remove the package immediately and rotate any potentially compromised keys and secrets. Monitor for any unauthorized access to affected wallets or systems. Since this is a malicious package, no legitimate fix exists; users should rely on trusted sources and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10036
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba9f68715ace43584cf2
Added to database: 07/10/2026, 09:25:51 UTC
Last enriched: 07/10/2026, 10:12:13 UTC
Last updated: 07/10/2026, 10:12:13 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.