Malicious code in eth-codergen (npm)
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
osv · MAL-2026-11033
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (dda2a0fbfa98304482ef90da4f137c863775959e107fccd495311fcba4fd185c) The package is advertised as an Ethereum ABI code generator but its `index.js` is a verbatim copy of the unrelated `mongoose-lean-hooks` plugin. Appended to the same line as `module.exports = leanhooksPlugin;` (padded with whitespace to push it off-screen) is a top-level `Function("tQ4eR5v",...)` call whose body is a custom hex/XOR-mixer decoder (constants 0x9e3779b9, 0x243f6a88, 0x6a09e667) that reconstructs an opaque payload from an encoded byte array and executes it. The obfuscated loader runs automatically whenever a consumer calls `require('eth-codergen')`, giving the publisher arbitrary code execution in the consumer's Node.js process. The package name differs by one letter from the legitimate `eth-codegen` package, and the README even instructs `npm install --save-dev eth-codegen`, indicating the package is positioned to catch developers who mistype the real package name. No Ethereum/ABI codegen functionality is present in the shipped code. ## Source: ghsa-malware (69eee48bc43bf04d3a35021657809e8e2615ae84250ee1e7b229175969807a25) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 23 Jul 2026 18:28:20 UTC
- Source modified
- 4 Aug 2026 23:05:04 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.