Skip to main content
MalwarePublished

grafeno-sdk (npm) · Malicious Code

Affects grafeno-sdkSource GCVE Database

0

Malicious package : remove grafeno-sdk and rotate any secrets on hosts that installed it.

Data as of 9 Sep 2026, 21:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15508

What to do

Remove grafeno-sdk 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

ProductAffectedFixed in
npmgrafeno-sdkAffected
  • =1.0.0
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The grafeno-sdk npm package versions 1.0.0 and 1.0.1 contain malicious code in their preinstall lifecycle script. This script executes a hidden command that fetches and runs a shell script from an external IP address, allowing arbitrary code execution on the machine during installation. The malicious behavior is concealed by swallowing errors and suppressing output, making detection difficult during npm install.

References

Community reviews

Loading reviews…