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

目标: 1000 元 · 已筹: 1336

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

comand

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

Summary

Malicious code in comand (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmcomand1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-18T23:59:37Z","published":"2026-08-18T23:59:37Z","schema_version":"1.7.4","id":"MAL-2026-14169","summary":"Malicious code in comand (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0d3576e830f201f4264c061dc377c51fa35bab19543a98c0feb316305051190b)\nOn npm install, scripts/postinstall.js executes automatically. It first POSTs a JSON body containing the resolved host platform (Windows/MacOS/Linux, with WSL detection) to a hardcoded bare-IP endpoint at http://193.70.34.101:20099/vote; the IP is assembled from a string array (['193','70','34','101'].join('.')) to hide it from static inspection. It then XOR-decodes (key 'stf2026') a hardcoded URL and, on Windows or via a PowerShell bridge from WSL, downloads main.exe from https://github.com/braz1/qPzM50V1AKG0rVlH/releases/download/null/main.exe into %TEMP% and spawns it detached with stdio ignored and windowsHide set. The WSL branch invokes powershell with ExecutionPolicy Bypass through a decoded bridge script. All network destinations and shell command fragments (ADDON_ENC, BRIDGE_LAUNCHER_ENC, BRIDGE_SCRIPT_*_ENC) are stored as XOR-encoded integer arrays reconstructed at runtime via an unpackSegment routine. The GitHub owner (braz1) does not match the npm publisher, the binary is unsigned and unverified, and the package name 'comand' resembles a typosquat of 'command'.\n","affected":[{"package":{"ecosystem":"npm","name":"comand"},"versions":["1.0.0"],"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":"scripts/postinstall.js","sha256":"556cda792565c82a343042df9e7fed49a4ff6dc2709a2c8bc472bf2d78b30369","tlsh":"81d13fca1ef59035874bf96884cf9d13b2a6c207320e4a65ff8f42107f5793c85a69e9"}],"package_integrity":[{"filename":"comand-1.0.0.tgz","hashes":{"sha1":"e91ebcc00ada70cdb3635d8eb0606141ce324290","sha512_sri":"sha512-MCqP4hscJlW9hSLUPeaIn/YesdV7tJcCQ8TdDHdC3wREzHoiTzrgS9AC/erMZKbsuPwod3rG0Ux0Q30YXJjrqg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/comand/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018253","import_time":"2026-08-19T00:21:13.442939434Z","modified_time":"2026-08-18T23:59:37Z","sha256":"0d3576e830f201f4264c061dc377c51fa35bab19543a98c0feb316305051190b","source":"amazon-inspector","versions":["1.0.0"]}]}}

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