Skip to content
OpenAdvisories
Malicious MAL-2026-11515

@zzzgenesis00/bip39-generator

npm package · versions 3.1.2

Reported Aug 4, 2026 · Updated Aug 4, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (4029e4462d0c27bbfd619024ba7311a0ecefef1ce551dba08ea57e920047e246)
Package @zzzgenesis00/bip39-generator impersonates the bitcoinjs project (author field set to 'bitcoinjs', repo URL pointing at github.com/bitcoinjs/bip39-generator) while publishing under an unrelated scope. The package.json declares a postinstall hook that runs postinstall.js, which on `npm install` collects installer-owned secrets: contents of ~/.ssh (private key material), ~/.npmrc, ~/.gitconfig, presence of wallet directories for MetaMask, Exodus, Electrum, Bitcoin, Ethereum, Solana, and Ledger, Chrome and Firefox profile artifacts (Cookies, Login Data, key4.db), output of `npm whoami` and `git config`, and a curated set of credential env vars including NPM_TOKEN, AWS_*, GITHUB_TOKEN, *_PRIVATE_KEY, MNEMONIC, and SEED_PHRASE. The collected profile is transmitted over HTTPS to the Telegram Bot API using a hardcoded bot token and chat id, and additionally POSTed to 40f955f39128bd79-178-249-214-24.serveousercontent.com/collect, a serveo.net reverse-tunnel host. Execution is delayed by a randomized setTimeout (1500 + Math.random()*2000 ms) and uses scrambled identifiers (_zfg, _jam, _xwl, _tk, _ch, _co, _ex) to reduce scanner visibility.

Source: ossf-package-analysis (5cd50fa982c125844b76d3527f878bd6a171b497e86fd7cbcccfc56d22000da4)
The OpenSSF Package Analysis project identified '@zzzgenesis00/bip39-generator' @ 3.1.2 (npm) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.