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

目标: 1000 元 · 已筹: 1359 元

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

svgcraft-core

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

Summary

Malicious code in svgcraft-core (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
323
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsvgcraft-core1.0.0
npmsvgcraft-core1.0.1
npmsvgcraft-core1.0.2
npmsvgcraft-core1.0.3
npmsvgcraft-core1.0.4
npmsvgcraft-core1.0.5
npmsvgcraft-core1.0.6
npmsvgcraft-core1.0.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6715","published":"2026-07-01T20:48:15Z","modified":"2026-08-05T06:02:57.256550646Z","aliases":["GHSA-j9vc-q728-qcx4"],"summary":"Malicious code in svgcraft-core (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3863ea8f67c7365031b5ffb43aaa2721062669b49be8157e1dd32ce19dce511f)\nsrc/index.cjs exports getPlugin(), which returns a function that performs an HTTPS GET to a hardcoded URL 'https://api.avax-test.dev/ext/bc/C/rpc' with TLS verification disabled (rejectUnauthorized: false) and passes the response body to new Function('require', data)(require). Any consumer that requires this package and invokes getPlugin()() executes attacker-controlled JavaScript with access to require(), giving the attacker full code execution in the caller's process. The destination host 'api.avax-test.dev' typosquats Avalanche Fuji's official RPC endpoint 'api.avax-test.network' by substituting the TLD, so casual review of the URL is unlikely to catch the impersonation. The paired ESM entry src/index.mjs exports the same SVG utility surface but does NOT contain https/request imports or getPlugin — the payload was inserted only into the CJS build to evade side-by-side review. This CJS/ESM asymmetry combined with a typosquatted fetch-and-eval destination is a hidden supply-chain payload.\n\n## Source: ghsa-malware (b57d1774f2c9a52e324bf1355dd06a37e46282e6dbdd7aa6b83a353472f85d1d)\nAny 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.\n","affected":[{"package":{"name":"svgcraft-core","ecosystem":"npm"},"versions":["1.0.1","1.0.2","1.0.4","1.0.3","1.0.6","1.0.5","1.0.7","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"},{"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","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","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"}],"indicators":{"evidence_files":[{"path":"src/index.cjs","sha256":"81459e0c5668e3003f757a40aa97298f2b038a1c11116a078a4df7c55460c4bf","tlsh":"650293287cf364920b63709d45cb90ac34b6e507345bde50aa6c49012fa83ace1f7bbd"}],"package_integrity":[{"filename":"svgcraft-core-1.0.1.tgz","hashes":{"sha1":"09180763fb0685307b86813631688d798d2f6286","sha512_sri":"sha512-56b0w1Q/C5DqzyYbwZo4Rz6wTZ33FgjucWjQOi0g/CRAS6lLn+omUdVYZL5WDwszpZ0pXMVcLBpiGkEgL2sb9A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j9vc-q728-qcx4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/svgcraft-core/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007900","import_time":"2026-07-01T21:04:20.940834484Z","modified_time":"2026-07-01T20:48:15Z","sha256":"1407a3b83a7eff7ec054312944ce4bf2c39fc1a26d9c16cda9f7c3c4afa72187","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-007904","import_time":"2026-07-01T21:04:21.214869201Z","modified_time":"2026-07-01T20:48:49Z","sha256":"3d44028203c0771b7e6d77ac8addb4d100be6e75992c7ef0bd066035aba86d31","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-007901","import_time":"2026-07-01T21:04:21.007200975Z","modified_time":"2026-07-01T20:48:25Z","sha256":"5207167735bdb696743300e61746560ce445beb11da6005ebf7710b7be3408f2","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-007903","import_time":"2026-07-01T21:04:21.126557338Z","modified_time":"2026-07-01T20:48:42Z","sha256":"a18879a0b6e0246f4c05a677423bbb9a6aaf8c533467937236288c41e42ef011","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-009746","import_time":"2026-07-11T23:49:34.193562242Z","modified_time":"2026-07-11T23:24:03Z","sha256":"3863ea8f67c7365031b5ffb43aaa2721062669b49be8157e1dd32ce19dce511f","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-009745","import_time":"2026-07-11T23:49:34.100192578Z","modified_time":"2026-07-11T23:23:55Z","sha256":"d069c2f61ea7089b28abc653c67ba52a79bebde682f7bd83c61b42c2604b961f","source":"amazon-inspector","versions":["1.0.5"]},{"id":"GHSA-j9vc-q728-qcx4","import_time":"2026-07-23T22:48:43.764444354Z","modified_time":"2026-07-23T18:32:53Z","sha256":"b57d1774f2c9a52e324bf1355dd06a37e46282e6dbdd7aa6b83a353472f85d1d","source":"ghsa-malware","versions":["1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0"]},{"id":"IN-MAL-2026-011195","import_time":"2026-08-04T22:30:04.452657923Z","modified_time":"2026-08-04T21:46:08Z","sha256":"b7a480a72710d21c65c5ebb7872cf57a63870ccb0cd7d3495fec2d3be4837180","source":"amazon-inspector","versions":["1.0.7"]},{"id":"IN-MAL-2026-013228","import_time":"2026-08-05T06:00:56.119755923Z","modified_time":"2026-08-05T05:52:38Z","sha256":"5104cdf9acf2ad52208bab27c8679ceb2b2fcb63cd7c7a6438041ed26ee1bf60","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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