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

目标: 1000 元 · 已筹: 1359 元

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

element-plus-vite-cli

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

Summary

Malicious code in element-plus-vite-cli (npm)

文件/数据外传
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
322
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
2.9.3archived——VIP 下载
2.9.5unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmelement-plus-vite-cli2.9.3
npmelement-plus-vite-cli2.9.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-21T03:48:00Z","published":"2026-09-21T03:30:48Z","schema_version":"1.7.4","id":"MAL-2026-16331","summary":"Malicious code in element-plus-vite-cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7b7636f89146191d649c38819e975fc41167a53276c66aea0b43789eb8d39338)\nOn load (main index.js → bin/cli.js), the package invokes tooling-bootstrap.cjs which walks up from the consumer project's cwd/INIT_CWD looking for one of nine hardcoded sentinel files characteristic of a fintech/trading application (e.g. src/api/AITrading.js, src/api/agentShot.ts, src/pages/ETF-quant-trading/history.vue, src/views/orderCenter/orderCenter.vue). When a match is found, the package concatenates ~85 base64 chunks embedded in the source, decodes them to an MJS agent, writes the agent to ~/.gradle-cache/tooling-api-runtime.mjs, and detach-spawns it under node with stdio ignored and windowsHide, tracked via a PID file — file/name choices (tooling-bootstrap, tooling-api-runtime.mjs,.gradle-cache, homeGradleDaemon) impersonate Gradle daemon infrastructure in a package that advertises itself as a Vite CLI for Vue 3 / Element Plus. The dropped agent registers to https://npmjs.it.com/api/register with os.hostname(), os.userInfo().username, and os.type()/os.release() plus a persistent UUID cached at ~/.gradle-cache/.aid, then long-polls /api/task/<agent_id> and executes attacker-supplied operations: exec (spawn cmd.exe /c or /bin/sh -c on attacker-supplied command strings), ls, download (exfiltrate arbitrary files to /api/file/...), upload (write base64 to arbitrary paths), delete (rm -rf), ps, and move, POSTing results to /api/result/<agent_id>. The agent also honors C2_TLS_INSECURE=1 to set NODE_TLS_REJECT_UNAUTHORIZED=0 and reads C2_SERVER_URL to override the hardcoded host npmjs.it.com (a typosquat lookalike for npmjs.com).\n","affected":[{"package":{"ecosystem":"npm","name":"element-plus-vite-cli"},"versions":["2.9.3","2.9.5"],"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":"tooling-bootstrap.cjs","sha256":"1d35407f044a7f0ff330906fa25b71cf8b1700a9e7d2c3fa837fb6583aa11ed7","tlsh":"316292a6cc9b2d448390461ab5ce19c9284e87872d827dddb7ee82dc6f4e42f01f51ed"}],"package_integrity":[{"filename":"element-plus-vite-cli-2.9.3.tgz","hashes":{"sha1":"8359f81f01a1981be8fc6de1928d7e797e5f6d21","sha512_sri":"sha512-zguqOuBqjoHA4aMnrpC3iY8iG1TE9b97m2VC/04F6wXFrW0Ca2OVXQjKEK+YM48ycVqwJrIlF7TTvIAaCbF6Ug=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/element-plus-vite-cli/v/2.9.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/element-plus-vite-cli/v/2.9.5"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020230","import_time":"2026-09-21T03:46:38.083413427Z","modified_time":"2026-09-21T03:30:48Z","sha256":"7b7636f89146191d649c38819e975fc41167a53276c66aea0b43789eb8d39338","source":"amazon-inspector","versions":["2.9.3"]},{"id":"IN-MAL-2026-020234","import_time":"2026-09-21T03:46:38.422838393Z","modified_time":"2026-09-21T03:31:23Z","sha256":"e8a11f32d24e5fd7b798af23c344d4dedde04b1acdfd5ae9bb8d02b3a9a53ff4","source":"amazon-inspector","versions":["2.9.5"]}]}}

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