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

目标: 1000 元 · 已筹: 1359 元

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

azure-langchain-example

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

Summary

Malicious code in azure-langchain-example (PyPI)

文件/数据外传
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
暂无公开数据
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIazure-langchain-example0.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17213","published":"2026-09-28T07:34:50Z","modified":"2026-09-29T04:24:34.985024332Z","summary":"Malicious code in azure-langchain-example (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1cffc3a51858b1b7a17ff0edfd2eeae6383e83b4eff5bc078f7b1d4f5ba36ad2)\nOn `import azure_langchain_example`, the package's __init__.py starts a background daemon thread that issues a GET request to https://litellm.adversarylabx.com/.telemetry with the installer's hostname, resolved IP address, a timestamp, and the package name in the query string, using urllib.request.urlopen with a short timeout and silenced exceptions. The destination host is unrelated to the package's advertised purpose (a minimal LangChain wrapper for Azure OpenAI) and to any Azure or LangChain publisher domain. The behavior fires unconditionally at import without user consent or opt-out and is not mentioned in the README. Package metadata is placeholder (`Your Name <you@example.com>`) and the name resembles the Azure+LangChain ecosystem, consistent with a lookalike used to profile installers who mistype or guess an Azure/LangChain integration package name. An in-source comment labeling the request a harmless canary is author-controlled text that does not change the observed behavior.\n\n## Source: kam193 (59c10650dde5db077b435212025a4cb48ab69daf76022cb932dfec98beea4479)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","affected":[{"package":{"name":"azure-langchain-example","ecosystem":"PyPI"},"versions":["0.1.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":"src/azure_langchain_example/__init__.py","sha256":"de3a015c4fd68d12dbff0e3f8f3a0584ce6088b6da4ab875f1028e24cbfe6324","tlsh":"4921e0e1615809e6f13b4e9f113292b03b321d03d9026cbfb9ac578c9fca576a911c58"},{"path":"pyproject.toml","sha256":"545599064704fba9d3402a5d0616b504b9ab4cadeb036084e9217bf716e76e30","tlsh":"4411ef9bacda3eb5a7c11045500a0801ae709d77128464dda7ebc30ed259d9794fc43d"}],"package_integrity":[{"filename":"azure_langchain_example-0.1.0-py3-none-any.whl","hashes":{"blake2b_256":"fda88ec8f05648e5acce828b1acaf317a0428fc8cfc5fa6bf91a5f22c77223e6","md5":"07563554eac7f68806e553dd0cc8fe02","sha256":"4108d947939529d4ed630b623a2a4c4051c4bb70620fe25df7817fd025e1be38"}},{"filename":"azure_langchain_example-0.1.0.tar.gz","hashes":{"blake2b_256":"ab07e73d3ec1041bb6e05e0660d8503e8ebe1f3f9440a893a89699c671d136a2","md5":"99ce718b285d047e442942d0aa1d31fe","sha256":"1b579b3c91692bc05fef6b96ea9499c738f9fd4135a477c8c4edc0e15aec0bc5"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/azure-langchain-example"},{"type":"PACKAGE","url":"https://pypi.org/project/azure-langchain-example/0.1.0/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/azure-langchain-example","import_time":"2026-09-28T08:33:03.711544528Z","modified_time":"2026-09-28T07:34:50.144495Z","sha256":"59c10650dde5db077b435212025a4cb48ab69daf76022cb932dfec98beea4479","source":"kam193","versions":["0.1.0"]},{"id":"IN-MAL-2026-020623","import_time":"2026-09-29T04:22:41.558790721Z","modified_time":"2026-09-29T03:47:39Z","sha256":"1cffc3a51858b1b7a17ff0edfd2eeae6383e83b4eff5bc078f7b1d4f5ba36ad2","source":"amazon-inspector","versions":["0.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}

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