Skip to main content
MalwarePublished

nullrift (npm) · Malicious Code

Affects nullriftSource GCVE Database

0

Malicious package : remove nullrift and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:58 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10206

What to do

Remove nullrift 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
npmnullriftAffected
  • =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 'nullrift' version 1.0.0 contains malicious code that introduces a supply-chain backdoor. It exports an undocumented function that fetches JSON data from a public, mutable paste service and executes part of that data via eval(), allowing arbitrary code execution controlled by whoever manages the paste. This behavior is inconsistent with the package's advertised SVG utility purpose and poses a remote code execution risk to consumers invoking this function.

References

Community reviews

Loading reviews…