Skip to main content
MalwarePublished Updated

generate-schema-viem (npm) · Malicious Code

Affects generate-schema-viemSource GCVE Database

0

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

Data as of 8 Sep 2026, 16:39 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15595

What to do

Remove generate-schema-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

ProductAffectedFixed in
npmgenerate-schema-viemAffected
  • =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 npm package 'generate-schema-viem' version 1.0.0 is identified as malicious. It publishes a binary named 'generate-schema-ethers' which, when executed, collects system information including the current user, hostname, and platform, and sends this data to a hardcoded attacker-controlled endpoint. This behavior constitutes a severe security risk as it leaks sensitive environment details to an external entity. The package is considered fully compromising to any system on which it is installed or run.

References

Community reviews

Loading reviews…