Malicious code in egair0810 (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13805
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2778f49499126b52d7dc9bbf728ed62bc8177ea325300c7907f2a4b854436507) The package contains a single index.html file declared as the package `main`, presenting a fake 'Just a moment...' / Cloudflare Turnstile page with heavily obfuscated JavaScript (string-array + shuffling style) that constructs a target URL from encoded strings and calls window.location.replace to redirect the browser. package.json declares no preinstall, install, postinstall, or prepare lifecycle scripts, and `main` points at an HTML file that Node cannot load as a module, so `npm install` and `require()` of the package do not execute the obfuscated code. The payload only runs if the HTML is opened in a browser. The artifact is not a functioning npm library and appears to be registry abuse hosting a browser-facing redirect/phishing lure rather than a supply-chain attack against developers who install the package. ## Source: ghsa-malware (4bfa32efc211e2ddab756898b2eb924cc6667f2a94adcd88850ba53d5c9c2067) 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
- 12 Aug 2026 10:29:54 UTC
- Source modified
- 12 Aug 2026 13:00:15 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.