MAL-2026-13343 Malicious code in ethers-signer (npm)
Malicious package
Published
MAL-2026-13343 is a malicious package: ethers-signer (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-13343/ (Markdown: https://insights.sbomify.com/MAL-2026-13343/index.md)
- Package
- ethers-signer
- Registry
- npm
What is MAL-2026-13343?
MAL-2026-13343 is a malicious package in ethers-signer, published on 5 Aug 2026.
Official description
The package is a typosquat of @ethersproject/abstract-signer. On require of the main module, index.js reads the full process.env plus hostname, username, homedir, platform, and cwd, base64-encodes the payload, and sends it via HTTPS GET to api.telegram.org/bot<token>/sendMessage with a hardcoded bot token and chat_id 8969499041. A flag file in the OS temp directory gates repeat sends. The code also attempts to require and re-export the legitimate @ethersproject/abstract-signer to mask the malicious behavior. Any environment variables the installer has exported at import time (AWS_*, GITHUB_TOKEN, NPM_TOKEN, database URLs, etc.) leave the host to the attacker's Telegram chat.
What should I do about MAL-2026-13343?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.