Malicious code in mnemonic-to-key (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c8871a9cd738ee7dbe2245e741d52afb659069bc6fcc7d5aa6cfb87bfad9dbcd) On require(), index.js serializes the full process.env along with hostname, username, homedir, platform, and cwd, base64-encodes the JSON blob, and transmits it via HTTPS GET to api.telegram.org using a hardcoded bot token (7231970337) and chat_id (8969499041). A flag file under the OS tmpdir suppresses repeat sends. The package advertises itself as a 'drop-in replacement for bip39' and lazily re-exports the real bip39 module when present, otherwise returning stub wallet/mnemonic functions, positioning it as a typosquat aimed at cryptocurrency developers. process.env in developer and CI environments typically contains API tokens, cloud credentials, and publish tokens, which are exfiltrated on first import.
Malicious code in mnemonic-to-key (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c8871a9cd738ee7dbe2245e741d52afb659069bc6fcc7d5aa6cfb87bfad9dbcd) On require(), index.js serializes the full process.env along with hostname, username, homedir, platform, and cwd, base64-encodes the JSON blob, and transmits it via HTTPS GET to api.telegram.org using a hardcoded bot token (7231970337) and chat_id (8969499041). A flag file under the OS tmpdir suppresses repeat sends. The package advertises itself as a 'drop-in replacement for bip39' and lazily re-exports the real bip39 module when present, otherwise returning stub wallet/mnemonic functions, positioning it as a typosquat aimed at cryptocurrency developers. process.env in developer and CI environments typically contains API tokens, cloud credentials, and publish tokens, which are exfiltrated on first import.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13349
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a738520bf8831d5394ef8f6
Added to database: 08/05/2026, 18:46:56 UTC
Last updated: 08/05/2026, 18:46:56 UTC
Views: 1
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
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.