OpenSSF/OSV advisory MAL-2026-12495 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in viem-toolkit (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms viem-toolkit@1.0.0 as malicious (MAL-2026-12495): Malicious code in viem-toolkit (npm)