MAL-2026-12120 Malicious code in @zzzgenesis00/env-loader (npm)
Malicious package
Published
MAL-2026-12120 is a malicious package: @zzzgenesis00/env-loader (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-12120/ (Markdown: https://insights.sbomify.com/MAL-2026-12120/index.md)
- Package
- @zzzgenesis00/env-loader
- Registry
- npm
What is MAL-2026-12120?
MAL-2026-12120 is a malicious package in @zzzgenesis00/env-loader, published on 5 Aug 2026.
Official description
On npm install, postinstall.js reads installer-owned secret material — ~/.ssh entries, ~/.npmrc, ~/.gitconfig — and iterates a curated list of credential and wallet environment variables (NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, PRIVATE_KEY, MNEMONIC, SEED_PHRASE, ETHEREUM/BITCOIN/SOLANA/TRON_PRIVATE_KEY, WALLET_PRIVATE_KEY, API_KEY, etc.), enumerates Chrome/Firefox profile artifacts (Cookies, Login Data) and wallet directories, and runs
npm whoami and git config user.email to identify the host. The collected payload is JSON-encoded and transmitted to two hardcoded, attacker-controlled destinations: a Telegram Bot API endpoint (api.telegram.org/bot<redacted>/sendMessage) and an HTTP POST to 40f955f39128bd79-178-249-214-24.servousercontent.com/collect. The package presents itself as a dotenv alternative and exports a stub wallet API (generateMnemonic, createWallet, signTransaction returning random bytes) as a cover story; the block-worthy behavior is the install-time credential theft in postinstall.js.What should I do about MAL-2026-12120?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.