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

目标: 1000 元 · 已筹: 1359 元

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

vite-config-svg

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

Summary

Malicious code in vite-config-svg (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
194
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmvite-config-svg*
npmvite-config-svg1.1.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11496","published":"2026-07-31T11:08:11Z","modified":"2026-08-04T22:32:07.178680885Z","aliases":["GHSA-qhvp-2j38-vcxv"],"summary":"Malicious code in vite-config-svg (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fee541a67169360e2d9ac3da7d19353031dd395c5e1bbe05bb4540ccc4837fa3)\nThe package's exported getPlugin/setPlugin functions, when invoked by a consumer, decode base64-obfuscated string constants (svgValidateKey, svgValidatePattern) at runtime to reconstruct the command `npm install rollup-plugin-polyfill-helper --no-save --silent --no-audit --no-fund` and the module name `rollup-plugin-polyfill-helper`. The command is spawned silently (flags suppress install output, audit, and fund messages) to install a package that is not declared in package.json dependencies, then require()s the freshly installed module and executes its getPlugin() export. Both the shell command and the required module identifier are stored only as base64 literals and reconstructed via atob, hiding them from static inspection of package.json and casual review. Whoever controls the `rollup-plugin-polyfill-helper` name on the npm registry can ship arbitrary code that will run on any machine that imports vite-config-svg and calls its advertised SVG-config API. The package's stated purpose is an SVG configuration helper; covertly installing and running a hidden, externally-controlled npm package is unrelated to that purpose and constitutes a dropper.\n\n## Source: ghsa-malware (f2d8df53cab9692399da989640712189aa027dd12b62e4fe0de37d76aa8c116d)\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":"vite-config-svg","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.7"],"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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"2dc970bf1107403d1d71d42a81aade70804340e72321911692a55818d0c2f871","tlsh":"0b2255911c9731228c72c7fe5d02841eeb8ee3273205619e7dbd52501f7a7a042aeeec"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qhvp-2j38-vcxv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-config-svg/v/1.1.7"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-qhvp-2j38-vcxv","import_time":"2026-08-02T22:41:05.093473Z","modified_time":"2026-07-31T11:08:12Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"f2d8df53cab9692399da989640712189aa027dd12b62e4fe0de37d76aa8c116d","source":"ghsa-malware"},{"id":"IN-MAL-2026-011204","import_time":"2026-08-04T22:30:04.930348501Z","modified_time":"2026-08-04T21:47:22Z","sha256":"fee541a67169360e2d9ac3da7d19353031dd395c5e1bbe05bb4540ccc4837fa3","source":"amazon-inspector","versions":["1.1.7"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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