Skip to main content
MalwarePublished Updated

eth-util (npm) · Malicious Code

Affects eth-utilSource GCVE Database

0

Malicious package : remove eth-util and rotate any secrets on hosts that installed it.

Data as of 10 Jul 2026, 10:05 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-6201

What to do

Remove eth-util 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
npmeth-utilAffected
  • =7.1.5
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 'eth-util' is a malicious impersonation of the legitimate '@ethereumjs/util' package. It copies the README, repository URL, badges, contributor list, and API from the legitimate project but injects a hidden dependency 'assert-kit' in the compiled code that executes arbitrary code when required. Installing or running this package can lead to full system compromise, requiring immediate secret and key rotation and package removal.

References

Community reviews

Loading reviews…