Skip to main content
MalwarePublished

spc-grafeno (npm) · Malicious Code

Affects spc-grafenoSource GCVE Database

0

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

Data as of 9 Sep 2026, 20:09 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15522

What to do

Remove spc-grafeno 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
npmspc-grafenoAffected
  • =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 spc-grafeno version 1.0.0 contains malicious code in its preinstall script. This script downloads and executes code from an attacker-controlled IP address over an unencrypted HTTP connection during installation. It also modifies the installer's environment to persist this malicious behavior by adding commands to the ~/.bashrc file and a cron job that re-executes the payload every 30 minutes. This results in full remote code execution on the installer's machine at install time and ongoing persistence.

References

Community reviews

Loading reviews…