Malicious code in node-internal-svg-loader (npm)
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.
AI Analysis
Technical Summary
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.
Malicious code in node-internal-svg-loader (npm)
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
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 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.
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 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.