verify-contract-viem (npm) · Malicious Code
Affects verify-contract-viemSource GCVE Database
Malicious package : remove verify-contract-viem and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 17:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15599
What to do
Remove verify-contract-viem 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
| Product | Affected | Fixed in |
|---|---|---|
| npmverify-contract-viem | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'verify-contract-viem' version 1.0.0 contains malicious code that executes system commands and collects host information, sending it to an attacker-controlled Cloudflare Workers URL. This behavior occurs when the CLI is invoked, transmitting sensitive host identifiers without user consent or disclosure. The package is considered fully compromising to any system where it is installed or run.