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

目标: 1000 元 · 已筹: 1359 元

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

@vite-ts/vite-ui

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

Summary

Malicious code in @vite-ts/vite-ui (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
78
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
6.44.1archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@vite-ts/vite-ui*
npm@vite-ts/vite-ui6.44.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10527","published":"2026-07-14T03:33:32Z","modified":"2026-09-21T23:24:18.949673486Z","aliases":["GHSA-jm6h-xxm2-2mr3"],"summary":"Malicious code in @vite-ts/vite-ui (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c6076869d73ce328ffd736c9df9d269cd99e505ffc3bfceae5d3f5a633a8c420)\nPackage @vite-ts/vite-ui@6.44.1 impersonates the legitimate vite package: it clones vite's README, declares author 'Evan You', homepage https://vitejs.dev, repository vitejs/vite, and a bin entry mapping `vite` to bin/vite.js. The shipped bin/vite.js contains an obfuscated IIFE that reconstructs a string table from a shuffled blob using the integer seed 4606094 to hide the strings 'https', 'child_process', 'eval', 'POST', '2.0', and the destination URLs. At runtime the payload issues an HTTPS GET to an Ethereum block-explorer URL and a JSON-RPC POST to an Ethereum node, XOR-decodes the hex result to retrieve JavaScript code from an attacker-controlled smart contract (EtherHiding pattern), and executes the retrieved code via eval(r) and via a detached child_process.spawn('node', ['-e',...+r], { detached: true, windowsHide: true }). The fetched bytes are not pinned, not signature-verified, and are mutable by the contract owner, so any consumer invoking the `vite` CLI from this package runs whatever code the attacker currently has staged on-chain. Additional install-time curl invocations and Buffer.from(...,'base64').toString() decode chains are present in the bundled dist files.\n\n## Source: ghsa-malware (a98ce75ef5baa1877c3fbda8f5ecffce0e8f995402bbb243416cdc56ed112261)\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-ts/vite-ui","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":"9f45a5b0ecaa364b920fbc230f5e747a1f9d65d986da07a6f0f73b0d16757044","tlsh":"d4a19b25cda88da30ad420e9ec791142f13485578e65fc18339d57ad0f4e26f327ebae"},{"path":"bin/vite.js","sha256":"fe7a267f95f960f099a625cb9aae87c5b9da2ce5eb4c860eb59b944c1f7ce6ac","tlsh":"dff14034b6fc38680f2c34b9bd9f090b24a54b11aec94149727cfe902bfdb17865d966"}],"package_integrity":[{"filename":"vite-ui-6.44.1.tgz","hashes":{"sha1":"7cbdd81f5d578ff1e8dcd2f144b2841469ebce2f","sha512_sri":"sha512-SIusvAJs5pmg9ENPBqNa21yE/UbRf9MWYGJOCi8whxb9pgIJibr0czBkZTCVg2apy82GoFhMUJq/ywnGhtzY3A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@vite-ts/vite-ui/v/6.44.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-jm6h-xxm2-2mr3"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010364","import_time":"2026-07-14T04:31:58.995624641Z","modified_time":"2026-07-14T03:33:32Z","sha256":"c6076869d73ce328ffd736c9df9d269cd99e505ffc3bfceae5d3f5a633a8c420","source":"amazon-inspector","versions":["6.44.1"]},{"id":"GHSA-jm6h-xxm2-2mr3","import_time":"2026-09-21T23:23:07.548741329Z","modified_time":"2026-09-21T23:12:46Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a98ce75ef5baa1877c3fbda8f5ecffce0e8f995402bbb243416cdc56ed112261","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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