Malicious code in wallet-monitor-snap (npm)
The wallet-monitor-snap package for MetaMask contains malicious code that tricks users into revealing their Secret Recovery Phrase. It presents a fake security alert within MetaMask's trusted UI, prompting users to enter their seed phrase, which is then captured and sent to any invoking decentralized application. The package uses benign RPC methods as a cover to appear legitimate during store review. This compromises any HD wallet accounts derived from the stolen phrase, giving full control to the attacker.
AI Analysis
Technical Summary
wallet-monitor-snap is a MetaMask Snap that implements a malicious 'showSecurityAlert' method in its onRpcRequest handler. This method opens a dialog inside MetaMask's trusted UI, falsely warning users of unusual activity and requesting their Secret Recovery Phrase (BIP-39 mnemonic). The entered seed phrase is returned to the calling dapp as '{ captured: result }'. The snap declares 'endowment:rpc' with 'dapps: true', allowing any web origin that can reach the snap to invoke this method and receive the seed phrase. In-source comments reveal that advertised RPC methods like 'ping' and 'estimateGas' are decoys to appear legitimate during store review. Compromise of the seed phrase leads to full control over any HD wallet accounts derived from it.
Potential Impact
An attacker controlling a dapp that can invoke the snap's RPC methods can trick users into revealing their Secret Recovery Phrase. This results in complete compromise of the user's HD wallet accounts, enabling theft of funds and unauthorized transactions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or removal is confirmed, users should avoid installing or using wallet-monitor-snap versions 1.0.2 and 1.0.4. Users who have entered their seed phrase in response to this snap should consider their wallets compromised and take appropriate recovery actions such as transferring assets to a new wallet with a new seed phrase.
Malicious code in wallet-monitor-snap (npm)
Description
The wallet-monitor-snap package for MetaMask contains malicious code that tricks users into revealing their Secret Recovery Phrase. It presents a fake security alert within MetaMask's trusted UI, prompting users to enter their seed phrase, which is then captured and sent to any invoking decentralized application. The package uses benign RPC methods as a cover to appear legitimate during store review. This compromises any HD wallet accounts derived from the stolen phrase, giving full control to the attacker.
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
wallet-monitor-snap is a MetaMask Snap that implements a malicious 'showSecurityAlert' method in its onRpcRequest handler. This method opens a dialog inside MetaMask's trusted UI, falsely warning users of unusual activity and requesting their Secret Recovery Phrase (BIP-39 mnemonic). The entered seed phrase is returned to the calling dapp as '{ captured: result }'. The snap declares 'endowment:rpc' with 'dapps: true', allowing any web origin that can reach the snap to invoke this method and receive the seed phrase. In-source comments reveal that advertised RPC methods like 'ping' and 'estimateGas' are decoys to appear legitimate during store review. Compromise of the seed phrase leads to full control over any HD wallet accounts derived from it.
Potential Impact
An attacker controlling a dapp that can invoke the snap's RPC methods can trick users into revealing their Secret Recovery Phrase. This results in complete compromise of the user's HD wallet accounts, enabling theft of funds and unauthorized transactions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix or removal is confirmed, users should avoid installing or using wallet-monitor-snap versions 1.0.2 and 1.0.4. Users who have entered their seed phrase in response to this snap should consider their wallets compromised and take appropriate recovery actions such as transferring assets to a new wallet with a new seed phrase.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13393
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf94bf8831d5391af790
Added to database: 08/06/2026, 18:16:52 UTC
Last enriched: 08/06/2026, 18:45:46 UTC
Last updated: 08/06/2026, 23:38:24 UTC
Views: 4
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.