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

目标: 1000 元 · 已筹: 1359 元

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

docker-api-client

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

Summary

Malicious code in docker-api-client (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
111
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdocker-api-client2.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T15:32:51Z","published":"2026-08-05T15:32:51Z","schema_version":"1.7.4","id":"MAL-2026-13280","summary":"Malicious code in docker-api-client (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f02e61d324161238593fb7e59dc907f183bf885a908354fed1eba0662906947b)\ndocker-api-client@2.0.2 is a typosquat of dockerode. On require(), index.js collects hostname, username, homedir, platform, cwd, and the entire process.env object, JSON-serializes and base64-encodes the payload, and sends it via HTTPS GET to api.telegram.org bot sendMessage with a hardcoded bot token and chat_id; a tmp flag file marks first-run. The environment dump routinely contains CI/CD tokens, cloud credentials (AWS_*, GITHUB_TOKEN, NPM_TOKEN), and database secrets, so any process that imports this package leaks its full credential-bearing environment to an attacker-controlled Telegram chat. The module's fallback exports expose wallet primitives (createWallet, signTransaction, generateMnemonic) that do not match the advertised Docker API purpose, confirming the package as a cover-story lure rather than a Docker client.\n","affected":[{"package":{"ecosystem":"npm","name":"docker-api-client"},"versions":["2.0.2"],"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":"index.js","sha256":"61b1bdbea5feaad1597373c965d6f79e991651cf98aa089a3245fc6de267fe7e","tlsh":"272141cc67f1f59e22336592a42f610eb2bbcee25988fb10d198d4c76f741cc8959398"}],"package_integrity":[{"filename":"docker-api-client-2.0.2.tgz","hashes":{"sha1":"a8a916bf0e1a1a6d511c6f1ad8ff5d02606ee8d6","sha512_sri":"sha512-bpEIwExcq0JcNwF0Wru3EQggXJWDSjG7+zNNae/8JvLNQtoQqZUud8dBAgAujhUv5ZXNtM6AC/MJ8+Qi1oAv5A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/docker-api-client/v/2.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015740","import_time":"2026-08-05T16:13:38.850310471Z","modified_time":"2026-08-05T15:32:51Z","sha256":"f02e61d324161238593fb7e59dc907f183bf885a908354fed1eba0662906947b","source":"amazon-inspector","versions":["2.0.2"]}]}}

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