MAL-2026-13766
Dashboard / Malicious Package / MAL-2026-13766
MAL-2026-13766
Summary: Malicious code in node-internal-svg-loader (npm)
Details: Source: amazon-inspector (ea179fb3670844db867458418a68b3eb69dfd983ebe1fe96b2a4b41601266fc4) Package advertises itself as an SVG loader using well-known CDN providers, but exported functions getPlugin, setPlugin, and getPluginExten build a request to https://rest-icon-handler.store/icons/<token> and pass the response body directly to eval(JSON.parse(body)). The destination host is not one of the CDNs the README references (Cloudflare/Fastly/Akamai/CloudFront/KeyCDN/Gcore), is not caller-configurable, and is assembled from separate protocol/subdomain/domain/path constants rather than a literal string. A benign-looking setDefaultModule that talks to cdnjs sits alongside the eval path as cover. Any consumer invoking these APIs executes arbitrary JavaScript returned by whoever controls rest-icon-handler.store, on the consumer's Node.js process with full ambient credentials and filesystem access. Source: ghsa-malware (6c3711f6de8ebdff01d531213eb77e942dcf6f34c7b5468b9da67fa12b893b3d) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://github.com/advisories/GHSA-9rgf-6m2p-q73f, https://www.npmjs.com/package/node-internal-svg-loader/v/1.0.1, https://www.npmjs.com/package/node-internal-svg-loader/v/1.0.0
Affected packages
Package
Name: node-internal-svg-loader
Purl: pkg:npm/node-internal-svg-loader
Affected ranges
Type: SEMVER
Events:
