MAL-2026-10035: Malicious code in @wagni_bot/solana-sdk (npm)
The npm package @wagni_bot/solana-sdk is a malicious typosquatting package impersonating a legitimate Solana SDK. It contains no actual SDK functionality but instead executes a credential-harvesting script automatically during installation. This script searches common user directories and configuration files for sensitive wallet, SSH, AWS, git, and other credential files, collects their contents, and sends them in cleartext to a remote server. The affected versions are 1.0.0 and 1.2.0.
AI Analysis
Technical Summary
The @wagni_bot/solana-sdk npm package is a malicious package designed to harvest credentials from developers who mistakenly install it, believing it to be a legitimate Solana SDK. Its main entry point runs a postinstall script that recursively scans the installer's home directory, Desktop, Documents, Downloads, /root, and /tmp for files containing wallet keys (e.g., id.json, wallet.json, keypair.json), browser extension storage for MetaMask and Phantom, environment files (.env), mnemonic and seed files, SSH private keys, AWS credentials, git credentials, and other sensitive configuration files. It collects up to 10KB of each file's content along with system information such as hostname and username, then transmits this data unencrypted to a remote IP address (http://107.161.90.180:7777). The package uses typosquatting to trick developers into installing it.
Potential Impact
Successful installation of this package results in the exfiltration of sensitive credentials and private keys from the developer's environment, potentially compromising wallets, cloud accounts, SSH access, and other critical resources. The data is sent in cleartext to an attacker-controlled server, increasing the risk of interception. This can lead to account takeovers, financial theft, and further compromise of development and production environments.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The primary mitigation is to avoid installing @wagni_bot/solana-sdk and verify package authenticity before installation. Use trusted package sources and verify package names carefully to avoid typosquatting. Remove any installations of this package immediately and investigate for potential credential compromise. Rotate any credentials or keys that may have been exposed. Monitor for suspicious activity related to compromised credentials.
MAL-2026-10035: Malicious code in @wagni_bot/solana-sdk (npm)
Description
The npm package @wagni_bot/solana-sdk is a malicious typosquatting package impersonating a legitimate Solana SDK. It contains no actual SDK functionality but instead executes a credential-harvesting script automatically during installation. This script searches common user directories and configuration files for sensitive wallet, SSH, AWS, git, and other credential files, collects their contents, and sends them in cleartext to a remote server. The affected versions are 1.0.0 and 1.2.0.
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/solana-sdk npm package is a malicious package designed to harvest credentials from developers who mistakenly install it, believing it to be a legitimate Solana SDK. Its main entry point runs a postinstall script that recursively scans the installer's home directory, Desktop, Documents, Downloads, /root, and /tmp for files containing wallet keys (e.g., id.json, wallet.json, keypair.json), browser extension storage for MetaMask and Phantom, environment files (.env), mnemonic and seed files, SSH private keys, AWS credentials, git credentials, and other sensitive configuration files. It collects up to 10KB of each file's content along with system information such as hostname and username, then transmits this data unencrypted to a remote IP address (http://107.161.90.180:7777). The package uses typosquatting to trick developers into installing it.
Potential Impact
Successful installation of this package results in the exfiltration of sensitive credentials and private keys from the developer's environment, potentially compromising wallets, cloud accounts, SSH access, and other critical resources. The data is sent in cleartext to an attacker-controlled server, increasing the risk of interception. This can lead to account takeovers, financial theft, and further compromise of development and production environments.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The primary mitigation is to avoid installing @wagni_bot/solana-sdk and verify package authenticity before installation. Use trusted package sources and verify package names carefully to avoid typosquatting. Remove any installations of this package immediately and investigate for potential credential compromise. Rotate any credentials or keys that may have been exposed. Monitor for suspicious activity related to compromised credentials.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10035
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba9f68715ace43584cfa
Added to database: 07/10/2026, 09:25:51 UTC
Last enriched: 07/10/2026, 10:12:20 UTC
Last updated: 07/10/2026, 10:12:20 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.