Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10206: Malicious code in nullrift (npm)

0
Critical
Published: 07/12/2026 (07/12/2026, 20:48:13 UTC)
Source: GCVE Database
Product: nullrift

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.

Affected software

npmghsa
nullrift
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/13/2026, 09:58:21 UTC

Technical Analysis

The 'nullrift' npm package version 1.0.0 advertises itself as an SVG fetcher/sanitizer but includes an undocumented getPlugin() function. This function performs an HTTP request to a public paste host (jsonkeeper.com) with a custom header, retrieves JSON data, and directly executes the 'model' field using eval(). Since the paste host is publicly writable and anonymous, an attacker controlling the paste can modify the content at any time, resulting in arbitrary JavaScript execution within any environment that calls this function. This constitutes a supply-chain backdoor enabling remote code execution on downstream consumers.

Potential Impact

Consumers of 'nullrift' version 1.0.0 who invoke the undocumented getPlugin() function are at risk of arbitrary code execution controlled by an attacker with access to the mutable paste on jsonkeeper.com. This can lead to full compromise of the runtime environment where the package is used. The malicious code is hidden and inconsistent with the package's stated functionality, increasing the risk of unnoticed exploitation.

Mitigation Recommendations

No official patch or remediation is currently available for this malicious package version. Users should avoid using 'nullrift' version 1.0.0 entirely. Remove the package from any projects and replace it with a trusted alternative. Monitor dependencies for malicious or unexpected code, especially those fetched from public or anonymous sources. Since this is a supply-chain backdoor, strict vetting of third-party packages is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10206
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54ae0768715ace438f8524

Added to database: 07/13/2026, 09:21:11 UTC

Last enriched: 07/13/2026, 09:58:21 UTC

Last updated: 07/13/2026, 09:58:21 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses