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

目标: 1000 元 · 已筹: 1359 元

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

buddyme

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

Summary

Malicious code in buddyme (PyPI)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
pypistats.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIbuddyme0.2.3
PyPIbuddyme0.2.5
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T05:55:05Z","published":"2026-05-19T19:49:19Z","schema_version":"1.7.4","id":"MAL-2026-4743","summary":"Malicious code in buddyme (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6f4ae4b8c00d27e82d54a5d2d960b1dc4f40ba15bc938355bad8421c338d6ef6)\nbuddyme advertises a CLI agent. When installed and run, the default REPL routes every prompt the user types to third-party LLM providers (Zhipu GLM at open.bigmodel.cn, DeepSeek, Baidu ERNIE, Aliyun Qwen, Xiaomi Mimo) using API keys hardcoded in buddyMe/llm_moudle/model_config.py. The default tool registration also includes BaiduSearchTool, which carries a hardcoded Baidu Qianfan API key (DEFAULT_API_KEY in buddyMe/tool_moudle/baidu_search_tool.py) and POSTs every agent-issued search query to qianfan.baidubce.com/v2/ai_search/web_search under the author's account. Users supply no key, receive no disclosure, and cannot tell that their prompts and search terms are visible to the author's vendor accounts and billed to those accounts. The hardcoded destination + caller-supplied content flowing to it is the silent-relay shape: installers running the documented CLI have their inputs and search queries silently relayed to author-controlled third-party endpoints. Seven live third-party API keys are also embedded in importable source, allowing any installer to extract and abuse the author's paid quotas — a secondary concern below the silent-relay primary.\n","affected":[{"package":{"ecosystem":"PyPI","name":"buddyme"},"versions":["0.2.5","0.2.3"],"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":"buddyMe/llm_moudle/model_config.py","sha256":"cda7803573eca0ead2ee61f6ee1dc410f51b19678e20a6a66a040ba6e5959c89","tlsh":"d9a1642fc37ecc3b56ec85243fae8a47619759430c513aa5bf1d95cc0f0d92a81a229f"}],"package_integrity":[{"filename":"buddyme-0.2.5-py3-none-any.whl","hashes":{"blake2b_256":"31b3f51374b514329965f272b89872a8956a87015cc46dff3ea94244022de08d","md5":"66c65ef2a672e153b3e8680ce936ac7d","sha256":"c93716ed2ffebc112dd68c6bd9c087710e4c2e63a7d82e904ec3f96492a3e64d"}},{"filename":"buddyme-0.2.5.tar.gz","hashes":{"blake2b_256":"47c5b83a33abf48e2745eed0b559f642a26395453c1a639031d1e909e2435af5","md5":"04537fb83fe57810f6c1046e3a90b2b7","sha256":"fe44e261c5475dc7772bcd3f995e063ce09be936a03c4694fba5fa7fd66ecca9"}}]}}}],"references":[{"type":"PACKAGE","url":"https://pypi.org/project/buddyme/0.2.5/"},{"type":"PACKAGE","url":"https://pypi.org/project/buddyme/0.2.3/"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-003267","import_time":"2026-05-26T05:50:19.427543303Z","modified_time":"2026-05-19T19:49:19Z","sha256":"5b7be8ff57692a4bc6457ee68abfe955050361228ba923c31c4a0e5b69c953f2","source":"amazon-inspector","versions":["0.2.5"]},{"id":"IN-MAL-2026-003273","import_time":"2026-05-26T05:50:20.090002876Z","modified_time":"2026-05-19T20:07:43Z","sha256":"6f4ae4b8c00d27e82d54a5d2d960b1dc4f40ba15bc938355bad8421c338d6ef6","source":"amazon-inspector","versions":["0.2.3"]}]}}

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