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

目标: 1000 元 · 已筹: 1336

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

vite-svg-config

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

Summary

Malicious code in vite-svg-config (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
257
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.1.0unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmvite-svg-config1.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-18T22:47:03Z","published":"2026-08-18T22:47:03Z","schema_version":"1.7.4","id":"MAL-2026-14140","summary":"Malicious code in vite-svg-config (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (38e61dd39d0c1d39a3b80b7138582b334480c2fb89e990a2b64e6c59050a998f)\nThe package's exported getPlugin/setPlugin functions decode two base64 constants (svgValidateKey, svgValidatePattern) at runtime. svgValidateKey decodes to the shell command `npm install node-internal-svg-loader --no-save --silent --no-audit --no-fund`, which is spawned with stdio:'ignore', windowsHide:true, and shell:true on Windows. svgValidatePattern decodes to the package name `node-internal-svg-loader`, which is then dynamically required and whose getPlugin() export is invoked. The command and target package name are both hidden behind base64 constants and misleading identifiers framed as SVG validation. Silencing flags (--silent, --no-audit, --no-fund, windowsHide) suppress user-visible output of the install. The result is that any consumer calling the package's advertised plugin API pulls and executes a separate npm package, whose contents are controlled by whoever owns that name, on the caller's machine.\n","affected":[{"package":{"ecosystem":"npm","name":"vite-svg-config"},"versions":["1.1.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":"e5e728d799c81d15dbebdae0d8d7851326168222c3576b66de54c99558bb1601","tlsh":"462233912cd731228d72c7fe5901841eeb8ed3273215619e7ebc92501f7a7a041aeeec"}],"package_integrity":[{"filename":"vite-svg-config-1.1.0.tgz","hashes":{"sha1":"0028546312c53c5a5ad0b844960857b754578de2","sha512_sri":"sha512-gZ6QfUtgBorvs2nzZqxd3Nw5EmjGzoSJWH2mutumypcaxDmUssTLdjdtqPXuTp2fqqjE85ZPXLrOzmAjX3QcAA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-svg-config/v/1.1.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018172","import_time":"2026-08-18T23:09:41.488073968Z","modified_time":"2026-08-18T22:47:03Z","sha256":"38e61dd39d0c1d39a3b80b7138582b334480c2fb89e990a2b64e6c59050a998f","source":"amazon-inspector","versions":["1.1.0"]}]}}

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