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

目标: 1000 元 · 已筹: 1359 元

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

@vite-tab/tab

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

Summary

Malicious code in @vite-tab/tab (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
152
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
3.15.10unavailable———
5.7.0archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@vite-tab/tab*
npm@vite-tab/tab3.15.10
npm@vite-tab/tab5.7.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6988","published":"2026-07-08T16:58:42Z","modified":"2026-09-21T23:24:18.947116094Z","aliases":["GHSA-74pv-97c8-9hfp"],"summary":"Malicious code in @vite-tab/tab (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (95af865d1cf7d45f2b4c2a73eebcfcd1a1a6aba9a36f33bf8256ef4d7235903c)\n`@vite-tab/tab` republishes Vite's codebase under a different name while impersonating the upstream project: `package.json` declares `bin: { vite: 'bin/vite.js' }` (hijacking the `vite` command on $PATH), `author: 'Evan You'`, `repository: git+https://github.com/vitejs/vite.git`, and `homepage: https://vitejs.dev`. Appended to `bin/vite.js` after the legitimate Vite bootstrap is a self-decoding string table (`var _$_4445=(function(k,p){...})(\"...\",4606094)`) built via a Fisher-Yates-style scramble with `\\x25`/`\\x23` substitution markers; all sensitive identifiers (`https`, `get`, `request`, `JSON.parse`, `child_process`, `spawn`, `eval`, host fragments) are referenced as indices into this table to defeat static review. At runtime the decoded routines perform an HTTPS GET followed by a JSON-RPC POST (`{jsonrpc, method, params, id:1}`) to a dynamically resolved hostname, base64-decode and XOR-decrypt the response, and pass it to `eval(r)`; a second fetched payload is launched via `child_process.spawn(..., {detached:true, windowsHide:true})`, with a 30-second throttle. The fetch loop runs every time a developer invokes the hijacked `vite` command, giving the publisher arbitrary remote code execution on the developer machine with persistence via detached child processes. The remote-hostname JSON-RPC lookup makes the C2 endpoint resistant to static domain blocking.\n\n## Source: ghsa-malware (bf6a6038d2af1aebf13d12ca10ca2abf14aaf6faaf9b99895f6e68e9f6d2af6b)\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-tab/tab","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["5.7.0","3.15.10"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"40b7a0e702ec8961f34ab2aa086db538db23c1b605f3af022f373b329450b6f4","tlsh":"e3a1bc21cda88da31ad424e9ec790142f13485578e65fc18339d57ad0f4e26f327ebae"},{"path":"bin/vite.js","sha256":"00dc114cf515233dc0e0a7ac3457377cf0c36842b972b98e5723bfbdb473800d","tlsh":"f7e15c4cf1dc2c20175074d8ecae499b39fac803ee89c594b79cf6486fca411938abb5"}],"package_integrity":[{"filename":"tab-5.7.0.tgz","hashes":{"sha1":"41f173d3d7d462d3c569c179ff569cd6fc541e72","sha512_sri":"sha512-zLAQx+2Rk/5JrrENP56BKJpTsy7acSU1BoAP49BlXRfx0z/LTd+0oavOkQ25yB/u3JMV845mQPJ6bnWOYT67Hg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@vite-tab/tab/v/5.7.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@vite-tab/tab/v/3.15.10"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-74pv-97c8-9hfp"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-008163","import_time":"2026-07-08T17:01:35.87897206Z","modified_time":"2026-07-08T16:58:42Z","sha256":"62a19bf35a2cc4cea4177b45cf5e3abec489a0e87b1f3a294611d4c9d4bf76aa","source":"amazon-inspector","versions":["5.7.0"]},{"id":"IN-MAL-2026-008164","import_time":"2026-07-08T17:01:35.985361286Z","modified_time":"2026-07-08T16:59:25Z","sha256":"95af865d1cf7d45f2b4c2a73eebcfcd1a1a6aba9a36f33bf8256ef4d7235903c","source":"amazon-inspector","versions":["3.15.10"]},{"id":"GHSA-74pv-97c8-9hfp","import_time":"2026-09-21T23:23:07.54274173Z","modified_time":"2026-09-21T23:16:23Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bf6a6038d2af1aebf13d12ca10ca2abf14aaf6faaf9b99895f6e68e9f6d2af6b","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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