MAL-2026-13766

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-internal-svg-loader/MAL-2026-13766.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13766
Aliases
  • GHSA-9rgf-6m2p-q73f
Published
2026-08-11T15:10:19Z
Modified
2026-08-12T13:00:20.573382103Z
Summary
Malicious code in node-internal-svg-loader (npm)
Details

-= Per source details. Do not edit below this line.=-

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-9rgf-6m2p-q73f",
            "import_time": "2026-08-12T00:17:04.861388243Z",
            "sha256": "6c3711f6de8ebdff01d531213eb77e942dcf6f34c7b5468b9da67fa12b893b3d",
            "modified_time": "2026-08-11T15:10:20Z",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-017427",
            "import_time": "2026-08-12T12:24:12.624589304Z",
            "sha256": "ea179fb3670844db867458418a68b3eb69dfd983ebe1fe96b2a4b41601266fc4",
            "modified_time": "2026-08-12T12:20:02Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-017510",
            "import_time": "2026-08-12T12:51:46.876618313Z",
            "sha256": "590b09ed2b0a02c3b98af19f3845e01ac205d214afa5a8c06bb0128e55442847",
            "modified_time": "2026-08-12T12:31:54Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / node-internal-svg-loader

Package

Name
node-internal-svg-loader
View open source insights on deps.dev
Purl
pkg:npm/node-internal-svg-loader

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "10b1355914e261128772ebfc5a8bc515f734f2237281c299bd9e86c02fb6560a273edc",
            "sha256": "3ea767ec14d82d321974e85eb8d97aab675e9661eaba5bd5ed488a8923b8ef9a"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-internal-svg-loader/MAL-2026-13766.json"