Skip to main content
MalwarePublished

eth-batcher (npm) · Malicious Code

Affects eth-batcherSource GCVE Database

0

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

Data as of 19 Aug 2026, 14:40 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14208

What to do

Remove eth-batcher 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-batcherAffected
  • =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 'eth-batcher' version 1.0.0 contains malicious code disguised within a seemingly unrelated Mongoose LeanHooks Plugin. The package's index.js file includes an obfuscated payload that executes decoded code at load time, despite the package's advertised purpose of Ethereum JSON-RPC batching. This discrepancy indicates the package acts as a dropper, executing malicious code whenever it is imported.

References

Community reviews

Loading reviews…