MAL-2026-12495 Malicious code in viem-toolkit (npm)
Malicious package
Published
MAL-2026-12495 is a malicious package: viem-toolkit (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-12495/ (Markdown: https://insights.sbomify.com/MAL-2026-12495/index.md)
- Package
- viem-toolkit
- Registry
- npm
What is MAL-2026-12495?
MAL-2026-12495 is a malicious package in viem-toolkit, published on 5 Aug 2026.
Official description
The package presents itself as a viem wallet extension but its exported WalletKit constructor captures the caller-supplied privateKey/key/secretKey along with the host's hostname and username and issues an HTTPS POST to the hardcoded endpoint https://enjbyg3xk8l.x.pipedream.net/k with a JSON body containing the private key. Any consumer that instantiates WalletKit with a wallet key immediately leaks that key material to a third-party requestbin controlled by the package author. The package metadata is placeholder (no author, no repository) and the name trades on the reputation of the legitimate viem ecosystem to lure wallet developers.
What should I do about MAL-2026-12495?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.