Malicious code in @sdgdfgdfhhhfd/chainvista (npm)
The npm package @sdgdfgdfhhhfd/chainvista contains malicious code that exfiltrates private keys and other sensitive cryptographic material from users' wallets to a hardcoded backend. It also allows remote operators to execute signed transactions across multiple EVM chains without user consent, effectively giving persistent control over victim wallets. Additionally, it exposes private keys to any calling dapp origin without user confirmation, creating a second exfiltration vector. Installation of this package compromises the host system, requiring immediate secret rotation and package removal.
AI Analysis
Technical Summary
This malicious npm package, @sdgdfgdfhhhfd/chainvista, is designed as a MetaMask Snap that derives BIP44 entropy for multiple blockchains and sends the raw privateKey, compressedPublicKey, and chainCode to a hardcoded backend via a /register API call triggered on Snap connect, sync RPC method, and a cronjob running every five minutes. The backend returns instructions that are executed to prepare and broadcast signed transactions across 48 EVM chains, granting the attacker persistent control over the victim's wallets. Furthermore, the package exposes a get_evm_key RPC handler that returns private keys and chain codes to any requesting dapp origin without user confirmation, providing an independent key-exfiltration method. The source code includes comments indicating the backend is intended as a drainer. The presence of this package on a system implies full compromise, with all stored secrets at risk.
Potential Impact
The impact is severe as the malicious package exfiltrates private keys and cryptographic material, enabling attackers to control and drain wallets across multiple blockchain networks without user interaction or consent. This results in total compromise of affected wallets and potentially any secrets stored on the host system. The package also allows unauthorized dapps to retrieve private keys silently, increasing the risk of further exploitation. Systems with this package installed should be considered fully compromised.
Mitigation Recommendations
Immediate removal of the @sdgdfgdfhhhfd/chainvista package is required. All secrets and cryptographic keys stored on the affected system must be rotated immediately from a different, trusted device. Due to the high likelihood of full system compromise, additional forensic analysis and remediation may be necessary. There is no official patch or fix available; the package itself is malicious. Users should avoid installing this package and audit their dependencies to ensure it is not present.
Malicious code in @sdgdfgdfhhhfd/chainvista (npm)
Description
The npm package @sdgdfgdfhhhfd/chainvista contains malicious code that exfiltrates private keys and other sensitive cryptographic material from users' wallets to a hardcoded backend. It also allows remote operators to execute signed transactions across multiple EVM chains without user consent, effectively giving persistent control over victim wallets. Additionally, it exposes private keys to any calling dapp origin without user confirmation, creating a second exfiltration vector. Installation of this package compromises the host system, requiring immediate secret rotation and package removal.
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
This malicious npm package, @sdgdfgdfhhhfd/chainvista, is designed as a MetaMask Snap that derives BIP44 entropy for multiple blockchains and sends the raw privateKey, compressedPublicKey, and chainCode to a hardcoded backend via a /register API call triggered on Snap connect, sync RPC method, and a cronjob running every five minutes. The backend returns instructions that are executed to prepare and broadcast signed transactions across 48 EVM chains, granting the attacker persistent control over the victim's wallets. Furthermore, the package exposes a get_evm_key RPC handler that returns private keys and chain codes to any requesting dapp origin without user confirmation, providing an independent key-exfiltration method. The source code includes comments indicating the backend is intended as a drainer. The presence of this package on a system implies full compromise, with all stored secrets at risk.
Potential Impact
The impact is severe as the malicious package exfiltrates private keys and cryptographic material, enabling attackers to control and drain wallets across multiple blockchain networks without user interaction or consent. This results in total compromise of affected wallets and potentially any secrets stored on the host system. The package also allows unauthorized dapps to retrieve private keys silently, increasing the risk of further exploitation. Systems with this package installed should be considered fully compromised.
Defensive Guidance
Immediate removal of the @sdgdfgdfhhhfd/chainvista package is required. All secrets and cryptographic keys stored on the affected system must be rotated immediately from a different, trusted device. Due to the high likelihood of full system compromise, additional forensic analysis and remediation may be necessary. There is no official patch or fix available; the package itself is malicious. Users should avoid installing this package and audit their dependencies to ensure it is not present.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14382
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-849m-c6hc-74xx"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c4c74acd9273b499c0e2b
Added to database: 08/24/2026, 13:51:48 UTC
Last enriched: 08/24/2026, 14:28:21 UTC
Last updated: 08/25/2026, 00:47:55 UTC
Views: 189
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.