Skip to main content
MalwarePublished

grafeno-logger (npm) · Malicious Code

Affects grafeno-loggerSource GCVE Database

0

Malicious package : remove grafeno-logger 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-15506

What to do

Remove grafeno-logger 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-loggerAffected
  • =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 npm package grafeno-logger versions 1.0.0 and 1.0.1 is a malicious dropper disguised as a logging library. During installation, it executes a preinstall script that downloads and runs a shell script from a hardcoded IP address over unencrypted HTTP. It also installs a cron job to repeatedly execute this remote script every 30 minutes, enabling persistent remote code execution. The package itself provides no genuine logging functionality, serving only as a decoy to conceal its malicious behavior.

References

Community reviews

Loading reviews…