MAL-2026-10206: Malicious code in nullrift (npm)
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.
AI Analysis
Technical Summary
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.
MAL-2026-10206: Malicious code in nullrift (npm)
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
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.