Skip to main content
MalwarePublished

viem-toolkit (npm) · Malicious Code

Affects viem-toolkitSource GCVE Database

0

Malicious package : remove viem-toolkit and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12495

What to do

Remove viem-toolkit from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmviem-toolkitAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The viem-toolkit npm package version 1.0.0 is a malicious package masquerading as a legitimate wallet extension. It exports a WalletKit constructor that captures private keys supplied by users along with host information and sends this sensitive data to a third-party endpoint controlled by the attacker. This results in immediate leakage of wallet keys to an unauthorized external server. The package metadata is incomplete and deceptive, aiming to exploit the reputation of the legitimate viem ecosystem to trick developers into using it.

References

Community reviews

Loading reviews…