Skip to main content
MalwarePublished

grafeno-auth (npm) · Malicious Code

Affects grafeno-authSource GCVE Database

0

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

Data as of 9 Sep 2026, 21:08 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15502

What to do

Remove grafeno-auth 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-authAffected
  • =1.0.0
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-auth' version 1.0.0 contains malicious code executed during installation. It uses a preinstall lifecycle hook to download and execute a shell script from an attacker-controlled HTTP server, then sets up a cron job to repeatedly fetch and run this script every 30 minutes. The package's main code is inert, making the lifecycle hook the primary malicious behavior.

References

Community reviews

Loading reviews…