Malicious code in eth-batcher (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'eth-batcher' npm package version 1.0.0 is a malicious package that contains an obfuscated payload appended to a benign source file. The payload is encoded as a hex byte table and decoded via an XOR/rotation decoder, executing arbitrary code upon requiring the package. The package's advertised functionality related to Ethereum JSON-RPC batching is a cover for this malicious behavior, as the shipped code contains no Ethereum or Web3 logic. Any process importing this package will execute the hidden payload immediately.
Potential Impact
Any application or process that imports 'eth-batcher' version 1.0.0 will execute the malicious payload embedded in the package. This can lead to arbitrary code execution within the context of the importing process, potentially compromising system integrity, confidentiality, and availability depending on the payload's intent.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using 'eth-batcher' version 1.0.0 and remove it from their dependencies if present. Verify the integrity and source of npm packages before installation. Monitor for updates or advisories from the package repository or security databases for further guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14208
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a85b4c7acd9273b49252853
Added to database: 08/19/2026, 13:51:03 UTC
Last enriched: 08/19/2026, 14:40:21 UTC
Last updated: 10/02/2026, 13:52:34 UTC
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.