grafeno-client (npm) · Malicious Code
Affects grafeno-clientSource GCVE Database
Malicious package : remove grafeno-client 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-15503
What to do
Remove grafeno-client 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-client | 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-client' version 1.0.0 contains malicious code in its preinstall script. This script downloads and executes a shell script from a remote IP address over unencrypted HTTP, allowing arbitrary code execution during installation. Additionally, it installs a cron job that re-executes the malicious script every 30 minutes, maintaining persistence even after package removal. The package's main file is a stub, indicating the manifest itself carries the payload.