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

目标: 1000 元 · 已筹: 1336

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

vite-plugin-logo

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

Summary

Malicious code in vite-plugin-logo (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
618
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.3unavailable
1.0.4unavailable
1.0.5unavailable
1.0.6unavailable
1.0.7unavailable
1.0.8unavailable
1.0.9unavailable
1.1.0unavailable
1.1.1unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmvite-plugin-logo*
npmvite-plugin-logo1.0.3
npmvite-plugin-logo1.0.4
npmvite-plugin-logo1.0.5
npmvite-plugin-logo1.0.6
npmvite-plugin-logo1.0.7
npmvite-plugin-logo1.0.8
npmvite-plugin-logo1.0.9
npmvite-plugin-logo1.1.0
npmvite-plugin-logo1.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-5714","published":"2026-06-12T19:52:23Z","modified":"2026-08-25T17:27:32.552481738Z","aliases":["GHSA-cw37-h4jm-63xh"],"summary":"Malicious code in vite-plugin-logo (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b107e832dfd60ded8637d9a6db69c980eae13bde79da4cd01d69c5a1110aca2b)\nOn require, index.js walks up to 5 parent directories searching for `public/assets/logo.png`, scans the file bytes for the marker `__VITE_ASSET_CACHE_v1__`, base64-decodes the bytes that follow the marker, and executes them via `new Function('require', code)(require)` — passing the real `require` so the decoded payload has full Node capabilities (filesystem, network, child_process). The entire loader is wrapped in `try {... } catch (e) {}` to silently swallow errors, and uses single-letter identifiers and a marker name that masquerades as a Vite-internal cache to disguise intent. This is a steganographic loader: any project that installs and imports this plugin will execute whatever code is embedded in a PNG bearing the magic marker, giving an attacker (the package author, or anyone who can ship such a PNG into a consumer's `public/assets/` tree) a generic remote-code-execution primitive at build/import time. The package name follows the `vite-plugin-*` convention but is published under the generic placeholder author `Vite Community` with no repository or homepage, consistent with namespace abuse against the Vite plugin ecosystem.\n\n## Source: ghsa-malware (3d700702000b48b3238610a7b5eb5380c9385148d2638f4e6a0f58174a70515e)\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-plugin-logo","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.0","1.0.5","1.1.1","1.0.3","1.0.6","1.0.4","1.0.7","1.0.9","1.0.8"],"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"},{"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"},{"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"},{"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":"edc472b4b158f862f66b3ed30a7d49d31a6258033847aabb8cd48acda8fdc065","tlsh":"de113a9856a921045433b3b2db17850af6bff16372149198bf6c92d96fb290043b7eec"}],"package_integrity":[{"filename":"vite-plugin-logo-1.1.0.tgz","hashes":{"sha1":"c26f4c2ce49d8c3af75ef5ac8e4e4a7a1c560c45","sha512_sri":"sha512-Oa057LWZ9hiJyAG+wGCGWvFcLTCqUbBPYnhtCKO7+bNSepuht0QY5FlwcPsS5jXQX3dY9gTVBCeS7jDrRjshTA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vite-plugin-logo/v/1.0.8"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cw37-h4jm-63xh"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-006223","import_time":"2026-06-12T20:49:37.21859497Z","modified_time":"2026-06-12T19:52:26Z","sha256":"07a57a447a70e5e76ff5ea362aae40eeae0cbd34da16fd86a9833c0e456a2d1b","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-006222","import_time":"2026-06-12T20:49:37.12586059Z","modified_time":"2026-06-12T19:52:25Z","sha256":"2bb9108941f02b676dbf72ca860d93bd0da0dbbd471552887f700105a8ba1df2","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-006224","import_time":"2026-06-12T20:49:37.324692641Z","modified_time":"2026-06-12T19:52:27Z","sha256":"30ee8ea99de7572626712510a6410e5009ef2fa163957f93075351f08b69e55a","source":"amazon-inspector","versions":["1.1.1"]},{"id":"IN-MAL-2026-006219","import_time":"2026-06-12T20:49:36.767037361Z","modified_time":"2026-06-12T19:52:23Z","sha256":"5f008b3f10b66f771a48f943f1345c17fbe06fad1e4706ce5861f48a744551ce","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-006227","import_time":"2026-06-12T20:49:37.693632822Z","modified_time":"2026-06-12T19:52:30Z","sha256":"647a15809f31f151ab733bd0c8a443b7c11d77a962fe0b76d88aad0c2d45a0da","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-006220","import_time":"2026-06-12T20:49:36.852347282Z","modified_time":"2026-06-12T19:52:24Z","sha256":"9a9879defd3dbcb42d07be3623d1e2e761ae3a4c4d7a5e9834004fb4ca2871a8","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-006221","import_time":"2026-06-12T20:49:36.960747112Z","modified_time":"2026-06-12T19:52:24Z","sha256":"b107e832dfd60ded8637d9a6db69c980eae13bde79da4cd01d69c5a1110aca2b","source":"amazon-inspector","versions":["1.0.7"]},{"id":"IN-MAL-2026-006226","import_time":"2026-06-12T20:49:37.588268293Z","modified_time":"2026-06-12T19:52:29Z","sha256":"ce01f469513e1fedb07417682dfc23546a19bc8a68a49e28d4be7bfa13cb2458","source":"amazon-inspector","versions":["1.0.9"]},{"id":"IN-MAL-2026-006225","import_time":"2026-06-12T20:49:37.415012945Z","modified_time":"2026-06-12T19:52:27Z","sha256":"1a386867300096464073c028fc255497e9a8b759bd4bd50664d55cbb739ef2ba","source":"amazon-inspector","versions":["1.0.8"]},{"id":"GHSA-cw37-h4jm-63xh","import_time":"2026-08-25T17:25:28.255225468Z","modified_time":"2026-08-25T16:47:08Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3d700702000b48b3238610a7b5eb5380c9385148d2638f4e6a0f58174a70515e","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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