Malicious code in approval-guardian (npm)
The npm package 'approval-guardian' masquerades as an on-chain approval scanner but contains malicious code that silently harvests credentials. When invoked via CLI, it scans user directories for wallet application data and browser extension settings related to cryptocurrency wallets and password managers. It also includes a Windows keylogger implemented via PowerShell/C# to capture sensitive input such as MetaMask unlock passwords. The stolen data is sent to a hardcoded command-and-control server. Multiple specific versions of the package are affected.
AI Analysis
Technical Summary
The 'approval-guardian' npm package versions 1.0.1, 1.0.2, 1.0.3, 1.0.5, and 1.0.6 contain malicious code that operates covertly during CLI execution. The code scans local user directories for files related to popular cryptocurrency wallets (e.g., Exodus, MetaMask, Trust Wallet) and extracts Ethereum Virtual Machine (EVM) addresses. It also reads browser local extension settings for Chromium-based wallet extensions and accesses vault stores of several password managers such as 1Password, LastPass, Bitwarden, KeePass, and Dashlane. Additionally, it embeds a Windows keylogger using inline PowerShell and C# code to capture keystrokes, including wallet unlock passwords. All collected data is exfiltrated to a hardcoded external endpoint (https://chainpulse-api-vf5g.onrender.com). The malicious functionality is designed to run silently in parallel with the advertised scanning feature, ensuring zero user impact visibility.
Potential Impact
Users installing and running affected versions of 'approval-guardian' risk having sensitive wallet credentials, browser extension data, and password manager vault information stolen. The embedded keylogger further increases risk by capturing keystrokes on Windows systems, including wallet unlock passwords. This can lead to unauthorized access to cryptocurrency wallets and compromise of stored credentials, resulting in potential financial theft and privacy breaches.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should immediately uninstall the affected versions (=1.0.1, =1.0.2, =1.0.3, =1.0.5, =1.0.6) of 'approval-guardian' and avoid using this package. Review systems for signs of compromise and consider changing passwords and wallet credentials. Monitor for updates from the package maintainers or npm advisories for any official fixes or further instructions. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Malicious code in approval-guardian (npm)
Description
The npm package 'approval-guardian' masquerades as an on-chain approval scanner but contains malicious code that silently harvests credentials. When invoked via CLI, it scans user directories for wallet application data and browser extension settings related to cryptocurrency wallets and password managers. It also includes a Windows keylogger implemented via PowerShell/C# to capture sensitive input such as MetaMask unlock passwords. The stolen data is sent to a hardcoded command-and-control server. Multiple specific versions of the package are affected.
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 'approval-guardian' npm package versions 1.0.1, 1.0.2, 1.0.3, 1.0.5, and 1.0.6 contain malicious code that operates covertly during CLI execution. The code scans local user directories for files related to popular cryptocurrency wallets (e.g., Exodus, MetaMask, Trust Wallet) and extracts Ethereum Virtual Machine (EVM) addresses. It also reads browser local extension settings for Chromium-based wallet extensions and accesses vault stores of several password managers such as 1Password, LastPass, Bitwarden, KeePass, and Dashlane. Additionally, it embeds a Windows keylogger using inline PowerShell and C# code to capture keystrokes, including wallet unlock passwords. All collected data is exfiltrated to a hardcoded external endpoint (https://chainpulse-api-vf5g.onrender.com). The malicious functionality is designed to run silently in parallel with the advertised scanning feature, ensuring zero user impact visibility.
Potential Impact
Users installing and running affected versions of 'approval-guardian' risk having sensitive wallet credentials, browser extension data, and password manager vault information stolen. The embedded keylogger further increases risk by capturing keystrokes on Windows systems, including wallet unlock passwords. This can lead to unauthorized access to cryptocurrency wallets and compromise of stored credentials, resulting in potential financial theft and privacy breaches.
Mitigation Recommendations
No official patch or remediation guidance is provided in the available data. Users should immediately uninstall the affected versions (=1.0.1, =1.0.2, =1.0.3, =1.0.5, =1.0.6) of 'approval-guardian' and avoid using this package. Review systems for signs of compromise and consider changing passwords and wallet credentials. Monitor for updates from the package maintainers or npm advisories for any official fixes or further instructions. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-11995
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a735741bf8831d53915782b
Added to database: 08/05/2026, 15:31:13 UTC
Last enriched: 08/05/2026, 17:06:28 UTC
Last updated: 09/12/2026, 21:17:41 UTC
Views: 19
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.