grafeno-webhook (npm) · Malicious Code
Affects grafeno-webhookSource GCVE Database
Malicious package : remove grafeno-webhook and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 13:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15573
What to do
Remove grafeno-webhook 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-webhook | 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-webhook' version 1.0.0 contains malicious code in its preinstall.js lifecycle script. This script automatically executes during npm install and performs hostile actions including exfiltrating sensitive environment variables and system identifiers to a remote IP address over unencrypted HTTP. On non-Windows systems, it also spawns a reverse shell, allowing remote command execution on the affected host.