🛡️ MAL-2026-12120 — env-loader
Description
Malicious code in @zzzgenesis00/env-loader (npm)
Source: amazon-inspector
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.
Affected software
MAL-2026-12120 is recorded against 1 package.
- @zzzgenesis00/env-loader
Timeline and source
Published on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| @zzzgenesis00/env-loader | — | — |
References
Free Vulnerability Check
Is your site affected by MAL-2026-12120?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-12120 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.