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

目标: 1000 元 · 已筹: 1336

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

vite-plugin-bug-tracker

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

Summary

Malicious code in vite-plugin-bug-tracker (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
280
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archivedVIP 下载
1.1.0unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmvite-plugin-bug-tracker1.0.0
npmvite-plugin-bug-tracker1.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-25T08:22:33Z","published":"2026-08-25T08:10:02Z","schema_version":"1.7.4","id":"MAL-2026-14479","summary":"Malicious code in vite-plugin-bug-tracker (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (127a50da55320d2b9e8e99e06d4cccf3d005cc997f3845bcae0738339cd5b882)\nThe package presents itself as a Vite bug-tracker plugin. Its transformIndexHtml hook injects an inline script into every built HTML page produced by the developer's Vite build. At runtime in the end user's browser, that injected script reads personally identifiable information from sessionStorage (account/username, phone number, real name via fields such as i.phone and i.realName) and transmits it via fetch (mode: 'no-cors'), sendBeacon, or an Image request. The destination URL is not written in cleartext: it is assembled at runtime by base64-decoding a bundled string and XOR-ing each byte with 42 (atob(_c).split('').map(c => String.fromCharCode(c.charCodeAt(0) ^ 42)).join('')). The exfiltration query string is likewise XOR+base64 encoded before being appended. The plugin also monkey-patches sessionStorage.setItem so that any write matching the configured scope triggers immediate exfiltration. As a result, applications built with this plugin ship a PII harvester to their production users whose reporting endpoint cannot be identified by inspecting the built bundle or a browser network trace at a glance.\n","affected":[{"package":{"ecosystem":"npm","name":"vite-plugin-bug-tracker"},"versions":["1.0.0","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"},{"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":"d79a3255da99bf71911a0f01536d58cb00e88cedca37de250903c34549ec7182","tlsh":"9761557b7063526566b224ab017f8428d3be89035c6af524be5d81076fcc72c067ebf5"}],"package_integrity":[{"filename":"vite-plugin-bug-tracker-1.0.0.tgz","hashes":{"sha1":"7a0f462098e700782d79dea47059225c68325ef6","sha512_sri":"sha512-YvZ2lgNXCZJiMgR06M4iTPWbpx9fPr9dNLgdKPAnUWuf6MKLOP5w7iWLD99ByGyBOJjwQ7uU8w9yYBtC8JlCJw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-bug-tracker/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-bug-tracker/v/1.1.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018701","import_time":"2026-08-25T08:20:36.751644875Z","modified_time":"2026-08-25T08:10:12Z","sha256":"127a50da55320d2b9e8e99e06d4cccf3d005cc997f3845bcae0738339cd5b882","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-018700","import_time":"2026-08-25T08:20:36.668891566Z","modified_time":"2026-08-25T08:10:02Z","sha256":"eb97158be41e6a6e36740b2b1dba4186f54b8eb8648fc2e6cdcb5a02b7451d99","source":"amazon-inspector","versions":["1.1.0"]}]}}

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