MAL-2026-13212 Malicious code in @zzzcrypto/etherjs (npm)
Malicious package
Published
MAL-2026-13212 is a malicious package: @zzzcrypto/etherjs (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-13212/ (Markdown: https://insights.sbomify.com/MAL-2026-13212/index.md)
- Package
- @zzzcrypto/etherjs
- Registry
- npm
What is MAL-2026-13212?
MAL-2026-13212 is a malicious package in @zzzcrypto/etherjs, published on 5 Aug 2026.
Official description
@zzzcrypto/etherjs is a typosquat of the popular 'ethers' package. On require(), index.js collects the full process.env object along with hostname, username, homedir, platform, cwd, and package identifiers, JSON-serializes and base64-encodes the payload, and sends it via HTTPS GET to a hardcoded Telegram Bot API endpoint (bot token 7231970337, chat_id 8969499041). A temporary flag file suppresses repeat sends. In CI and developer environments, process.env routinely contains credential-shaped values (AWS_*, GITHUB_TOKEN, NPM_TOKEN, cloud and vendor API keys), all of which are captured. The internal payload identifies the package as '@wethenorth12/etherjs' — a different scope than the published name — and the package.json author field impersonates 'ricmoo', the real ethers maintainer, indicating a shared attack template reused across multiple malicious scoped typosquats of ethers.
What should I do about MAL-2026-13212?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.