@zzzgenesis00/bip39-mnemonicnpm
Advisory published Updated
@zzzgenesis00/bip39-mnemonic is a confirmed malicious npm package (MAL-2026-12030) that steals credentials and exfiltrates sensitive data (malicious version 2.3.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in @zzzgenesis00/bip39-mnemonic (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for @zzzgenesis00/bip39-mnemonic (version 2.3.1).
If you installed it — respond
@zzzgenesis00/bip39-mnemonic is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If @zzzgenesis00/bip39-mnemonic was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks @zzzgenesis00/bip39-mnemonic-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.