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

目标: 1000 元 · 已筹: 1336

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

vite-plugin-image-tracker

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

Summary

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

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
155
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archivedVIP 下载
1.1.0unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmvite-plugin-image-tracker1.0.0
npmvite-plugin-image-tracker1.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-25T08:22:33Z","published":"2026-08-25T08:10:28Z","schema_version":"1.7.4","id":"MAL-2026-14481","summary":"Malicious code in vite-plugin-image-tracker (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (019affd7dfc88e28b20dcce52fe53661a514582fb11c51871126b967399a01d8)\nThe package presents itself as a Vite image-tracking plugin. At build time its transformIndexHtml hook injects a script into every produced HTML page. In the end-user's browser that script reads user objects from sessionStorage and extracts account/username/userNo, phone number, and real name (`i.phone`, `i.realName`, `i.account`), builds a `u=...&a=...&p=...&n=...` payload, XOR-42 + base64 encodes it, and transmits it via sendBeacon, fetch, or an Image request. The reporting endpoint is not a plain URL: the plugin accepts `options.dsn` only as a base64+XOR(42) ciphertext (`var _rawDsn=atob(_c).split(\"\").map(function(c){return String.fromCharCode(c.charCodeAt(0)^42)}).join(\"\");`), and the injected browser script performs the same decode at runtime to reconstruct the destination. The package name and description ('image tracker') do not disclose collection of end-user personal data, and the destination is concealed from developers reading the plugin configuration or the built HTML. The obfuscation of the endpoint together with the specific PII fields harvested places this outside the shape of a legitimate telemetry SDK.\n","affected":[{"package":{"ecosystem":"npm","name":"vite-plugin-image-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":"845c58869507ac25f27bc546d84aedf04a508edec936f6c7340b1b12db274e91","tlsh":"4f81747b7063216496a2206b017f443ca3be89031c5ef564b95d911bafcc62c067eff9"}],"package_integrity":[{"filename":"vite-plugin-image-tracker-1.0.0.tgz","hashes":{"sha1":"15286d6e0b36fdc4d90f53401f0c48025ce26824","sha512_sri":"sha512-H58HNNMQIF/SW8pNpDEQEKjoFE4J345uSMxbdzpmCg6nPepB9TsBwFT3lFYvQVcASrMl65IgviADMv4ju8uWOQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-image-tracker/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-image-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-018703","import_time":"2026-08-25T08:20:36.916902087Z","modified_time":"2026-08-25T08:10:37Z","sha256":"019affd7dfc88e28b20dcce52fe53661a514582fb11c51871126b967399a01d8","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-018702","import_time":"2026-08-25T08:20:36.833050917Z","modified_time":"2026-08-25T08:10:28Z","sha256":"8271d5e636d34aa5ced0e47b3067e12faf2ccccc28f7ec7f09d3913c4c948d53","source":"amazon-inspector","versions":["1.1.0"]}]}}

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