-= Per source details. Do not edit below this line.=-
The package advertises itself as an SVG/icon CDN helper but its exported functions getPlugin, setPlugin, and getPluginExten construct a URL at runtime from fragmented constants (protocol, subdomain, domain, path) that resolve to https://rest-icon-handler.store/icons/<token>, fetch the response body, and pass it to eval(JSON.parse(body)). Any caller of these advertised APIs executes attacker-controlled JavaScript from a non-first-party endpoint on the caller's host. The documented CDN-provider allowlist is not consulted on this path. The destination host is assembled from separate string constants rather than a plain literal, concealing the concrete URL from casual review.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-017704",
"import_time": "2026-08-13T21:20:58.405907495Z",
"sha256": "f73906b728364e1fa1f870bd746a0bec46ed3937ff42eef10bea8389729a86c1",
"versions": [
"1.0.0"
],
"source": "amazon-inspector",
"modified_time": "2026-08-13T21:11:35Z"
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node-config-svg-contract/MAL-2026-13985.json"
{
"evidence_files": [
{
"path": "index.js",
"tlsh": "10b1355914e261128772ebfc5a8bc515f734f2237281c299bd9e86c02fb6560a273edc",
"sha256": "3ea767ec14d82d321974e85eb8d97aab675e9661eaba5bd5ed488a8923b8ef9a"
}
],
"package_integrity": [
{
"filename": "node-config-svg-contract-1.0.0.tgz",
"hashes": {
"sha1": "f0129bee5bcd4457be81b3f277956beca8878c96",
"sha512_sri": "sha512-1AJCuy0zz2GCa5+QzQvZYdGjHOt6mywVYv0rRjyt8XYDdT3jwckIvfSjBjYf9+Lo6K/upEMBcoXQFKp0XiE9Yg=="
}
}
]
}