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

目标: 1000 元 · 已筹: 1359 元

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

@vite-mcp/vite-type

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

Summary

Malicious code in @vite-mcp/vite-type (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
108
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@vite-mcp/vite-type*
npm@vite-mcp/vite-type6.44.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10525","published":"2026-07-14T03:33:51Z","modified":"2026-09-21T23:24:18.893911943Z","aliases":["GHSA-mqf9-3wx8-45cj"],"summary":"Malicious code in @vite-mcp/vite-type (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9828d7f04091054759c65d427b8f9d7b2853a8a062f9ca261a37e0a0bbc231d0)\nPackage @vite-mcp/vite-type@6.44.1 impersonates the legitimate vite package: package.json declares name '@vite-mcp/vite-type', author 'Evan You', repository 'github.com/vitejs/vite', and a bin entry 'vite' → 'bin/vite.js', while shipping a copy of the vite source tree to look authentic. Appended to bin/vite.js, after a long whitespace-padded line intended to push it past editor viewports, is an obfuscated IIFE that uses a Fisher-Yates-style string-permutation decoder keyed to the integer 4606094 to reconstruct identifiers ('require','https','get','child_process','spawn','eval','JSON.parse'). At runtime it performs an HTTPS GET and a JSON-RPC POST to a remote host, XOR-decodes the response, passes the result to eval(), and additionally invokes child_process.spawn(..., {detached:true, stdio:..., windowsHide:true}) to run the decoded payload as a hidden detached process. The loader fires whenever the shipped 'vite' bin is invoked (e.g. via 'npx vite' or a project's npm scripts), giving the publisher arbitrary remote code execution on any developer or build host that runs this CLI. Combined with the brand/author/repository impersonation of vitejs/vite, this is a deliberate supply-chain attack against developers who mistakenly install this scope.\n\n## Source: ghsa-malware (da355f47379edd22d66678f8031fb25c0655eee3ea057eefd577666021ab8c33)\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-mcp/vite-type","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["6.44.1"],"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":"package.json","sha256":"24d47f79fcd9c33709b39895e977491374bbbc85425e1cb8e5558e1481ac9711","tlsh":"87a1ab21cda88da30ad420e9ec791142f13485578e65fc18339c57ad0f4d26f327ebae"},{"path":"bin/vite.js","sha256":"6a4f700c3d4dd16019114f78843e0e555be465f4d0fc9e8d31452767995b6199","tlsh":"1ef14134b6fc38680f2c34b9bd9f090b24a54b11aec94149727cfe902bfdb17865d966"}],"package_integrity":[{"filename":"vite-type-6.44.1.tgz","hashes":{"sha1":"50810c70902bc8c854155bfd6610afc9fe20fa24","sha512_sri":"sha512-v/KfOIPt9vnp+rW8va7KwRHDdOrBx9Rtk0XX31PC/uIVmugIslnoJqP6p8JjtzSfILQMHlBhioyi+PwNvGh11w=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@vite-mcp/vite-type/v/6.44.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mqf9-3wx8-45cj"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010366","import_time":"2026-07-14T04:31:59.11241197Z","modified_time":"2026-07-14T03:33:51Z","sha256":"9828d7f04091054759c65d427b8f9d7b2853a8a062f9ca261a37e0a0bbc231d0","source":"amazon-inspector","versions":["6.44.1"]},{"id":"GHSA-mqf9-3wx8-45cj","import_time":"2026-09-21T23:23:07.550399456Z","modified_time":"2026-09-21T23:13:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"da355f47379edd22d66678f8031fb25c0655eee3ea057eefd577666021ab8c33","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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