Skip to main content
MalwarePublished

grafeno-core (npm) · Malicious Code

Affects grafeno-coreSource GCVE Database

0

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

Data as of 9 Sep 2026, 21:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15505

What to do

Remove grafeno-core 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-coreAffected
  • =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-core' versions 1.0.0 and 1.0.1 contains malicious code executed during the preinstall lifecycle. This code fetches and runs a shell script from an attacker-controlled HTTP server, modifies user shell initialization files to persist execution, and installs a cron job to repeatedly execute the malicious payload every 30 minutes. The package's advertised entry point has no real functionality, indicating the preinstall script is the primary malicious component.

References

Community reviews

Loading reviews…