MAL-2026-12030 Malicious code in @zzzgenesis00/bip39-mnemonic (npm)
Malicious package
Published
MAL-2026-12030 is a malicious package: @zzzgenesis00/bip39-mnemonic (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12030/ (Markdown: https://insights.sbomify.com/MAL-2026-12030/index.md)
- Package
- @zzzgenesis00/bip39-mnemonic
- Registry
- npm
What is MAL-2026-12030?
MAL-2026-12030 is a malicious package in @zzzgenesis00/bip39-mnemonic, published on 5 Aug 2026.
Official description
Package impersonates the bitcoinjs/bip39 project (author field set to 'bitcoinjs-lib') and ships a postinstall.js that runs on
npm install. The script collects host/user identifiers and a curated list of sensitive environment variables (including NPM_TOKEN, NODE_AUTH_TOKEN, GITHUB_TOKEN, AWS_* keys, and wallet-related PRIVATE_KEY/MNEMONIC/SEED_PHRASE), enumerates ~/.ssh, reads ~/.npmrc and ~/.gitconfig, probes Chrome/Firefox profile artifacts and crypto wallet directories, and shells out to npm whoami and git config. The collected JSON is transmitted to two hardcoded destinations: the Telegram Bot API (bot token and chat_id 7231970337 embedded in the script) and a POST to 40f955f39128bd79-178-249-214-24.serveousercontent.com/collect. Exfiltration is delayed by a randomized setTimeout (1500 + rand*2000 ms) and the module re-exports./index.js to appear legitimate.What should I do about MAL-2026-12030?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.