目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

node-config-svg-contract

MAL-2026-13985
2026-08-13 21:11:35
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in node-config-svg-contract (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnode-config-svg-contract1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-13T21:11:35Z","published":"2026-08-13T21:11:35Z","schema_version":"1.7.4","id":"MAL-2026-13985","summary":"Malicious code in node-config-svg-contract (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f73906b728364e1fa1f870bd746a0bec46ed3937ff42eef10bea8389729a86c1)\nThe 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.\n","affected":[{"package":{"ecosystem":"npm","name":"node-config-svg-contract"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"3ea767ec14d82d321974e85eb8d97aab675e9661eaba5bd5ed488a8923b8ef9a","tlsh":"10b1355914e261128772ebfc5a8bc515f734f2237281c299bd9e86c02fb6560a273edc"}],"package_integrity":[{"filename":"node-config-svg-contract-1.0.0.tgz","hashes":{"sha1":"f0129bee5bcd4457be81b3f277956beca8878c96","sha512_sri":"sha512-1AJCuy0zz2GCa5+QzQvZYdGjHOt6mywVYv0rRjyt8XYDdT3jwckIvfSjBjYf9+Lo6K/upEMBcoXQFKp0XiE9Yg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-config-svg-contract/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-017704","import_time":"2026-08-13T21:20:58.405907495Z","modified_time":"2026-08-13T21:11:35Z","sha256":"f73906b728364e1fa1f870bd746a0bec46ed3937ff42eef10bea8389729a86c1","source":"amazon-inspector","versions":["1.0.0"]}]}}

数据来源:OpenSSF Malicious Packages · Apache-2.0