grafeno-utils (npm) · Malicious Code
Affects grafeno-utilsSource GCVE Database
Malicious package : remove grafeno-utils and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:23 UTC
Malicious package
Published to npm · OSV MAL-2026-15509
What to do
Remove grafeno-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmgrafeno-utils | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'grafeno-utils' version 1.0.0 contains malicious code in its preinstall lifecycle hook. During installation, it executes a shell script fetched over unencrypted HTTP from a hardcoded IP address, enabling remote code execution. Additionally, it installs a cron job that re-executes the malicious script every 30 minutes, establishing persistent remote code execution on the host. The fetched script is attacker-controlled and unverified, creating a significant security risk.