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…

Malicious code in node-internal-svg-loader (npm)

0
Critical
Published: 08/11/2026 (08/11/2026, 15:10:19 UTC)
Source: GCVE Database
Product: node-internal-svg-loader

Description

The node-internal-svg-loader npm package versions 1.0.0 and 1.0.1 contain malicious code that fetches JavaScript from an untrusted external domain and executes it via eval in the Node.js environment. This allows arbitrary code execution with full access to the host system. Any system with this package installed should be considered fully compromised, and all secrets on the system should be rotated immediately. Removal of the package alone may not eliminate the compromise.

Affected software

npmghsa
node-internal-svg-loader
Affected versions
=1.0.1=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: 08/12/2026, 16:41:56 UTC

Technical Analysis

The node-internal-svg-loader package, advertised as an SVG loader using well-known CDNs, contains hidden malicious functionality in versions 1.0.0 and 1.0.1. Functions getPlugin, setPlugin, and getPluginExten build requests to https://rest-icon-handler.store/icons/<token> and execute the returned JavaScript code via eval(JSON.parse(body)). This domain is not one of the advertised CDNs and is hardcoded in a non-obvious way. This results in arbitrary code execution on the consumer's Node.js process with full ambient credentials and filesystem access. The package also includes benign-looking code to disguise this behavior. Due to this, any system running this package is considered fully compromised.

Potential Impact

Arbitrary code execution on the host system with full permissions, leading to total system compromise. Attackers controlling rest-icon-handler.store can execute any code, access all files, and potentially steal secrets or install persistent malware. The compromise is severe enough that all secrets and keys on the affected system must be rotated from a clean environment. Simply removing the package does not guarantee removal of all malicious artifacts.

Mitigation Recommendations

Remove the node-internal-svg-loader package versions 1.0.0 and 1.0.1 immediately from all systems. Consider all affected systems fully compromised and perform a thorough incident response. Rotate all secrets and keys from a separate, trusted environment. There is no official patch or fix available; do not rely on partial remediation. Monitor for any signs of persistent compromise.

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-13766
Osv Schema Version
1.7.4
Aliases
["GHSA-9rgf-6m2p-q73f"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7c9b44bf8831d539cdcfcd

Added to database: 08/12/2026, 16:11:48 UTC

Last enriched: 08/12/2026, 16:41:56 UTC

Last updated: 08/12/2026, 16:41:56 UTC

Views: 2

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