grafeno-api (npm) · Malicious Code
Affects grafeno-apiSource GCVE Database
Malicious package : remove grafeno-api and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 21:38 UTC
Malicious package
Published to npm · OSV MAL-2026-15501
What to do
Remove grafeno-api 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-api | 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-api' versions 1.0.0 and 1.0.1 contains malicious code that executes attacker-controlled scripts during installation. It uses a preinstall script that downloads and runs a shell script from an untrusted HTTP source without integrity checks. The package itself provides no legitimate functionality, serving only as a delivery mechanism for malicious code execution.