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

目标: 1000 元 · 已筹: 1359 元

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

query-profile

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

Summary

Malicious code in query-profile (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
pypistats.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIquery-profile0.0.1
PyPIquery-profile0.0.2
PyPIquery-profile0.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T17:03:30Z","published":"2026-06-20T08:55:46Z","schema_version":"1.7.4","id":"MAL-2026-6236","summary":"Malicious code in query-profile (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7e5505d198ffea0cc608cbcd89e3d8fbe236f4d4ac532425b0e042c52bf87efe)\nThis package's metadata and README openly declare it as a dependency-confusion proof-of-concept that registers a PyPI name referenced in Apple's ml-health-query-profiles tutorial. The current payload is inert: __init__.py only sets __version__ and __main__.py prints a notice — no network calls, no subprocess execution, no file or credential access at install or import time. However, anyone following the upstream tutorial that references this package name would silently pull this PoC into their environment. Although the present version is benign, the registered name occupies a namespace slot that a third party referenced, and any future version published under this name would automatically reach those installers. Routing to human review so an adjudicator can decide whether the PoC nature warrants a public advisory and whether the upstream tutorial reference needs coordination.\n\n## Source: kam193 (9a60c7fce9ec29fa327128c80bca74a51b9f1965c50c6dc9286016fa31001bf1)\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\n## Source: ossf-package-analysis (668684938d648f2835b9065f86e06d3815d9c81999a32e50b6ffe61942bd7015)\nThe OpenSSF Package Analysis project identified 'query-profile' @ 0.0.3 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"ecosystem":"PyPI","name":"query-profile"},"versions":["0.0.1","0.0.2","0.0.3"],"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":"pyproject.toml","sha256":"d1b271c71b4141d2577c7465405bc249469ed55375cef17336a2918bb139fce4","tlsh":"a7f09e73578b6a658c61bb60a96857c7ec7ab02e31101964b2d7c0c8985e4cac3e147b"}],"package_integrity":[{"filename":"query_profile-0.0.1-py3-none-any.whl","hashes":{"blake2b_256":"6c07c2e44cf77743ce0470be124a619d27cfa08877f4cbf241bf65e1a411ce90","md5":"f336ddb264266abf09df92eec57543f3","sha256":"10544c1fc884d3196be616a8299482a90360d2baa552a9a7325ef447deb8a86a"}},{"filename":"query_profile-0.0.1.tar.gz","hashes":{"blake2b_256":"740aa3fe2199be19c0a739f67c0047c2417ff66c94ff0609855920f1d8ef6cb5","md5":"40ac99644160158e35253276674b08b2","sha256":"4155304e57e706ebce3761edf51837b6a4cd07183643c4ce137b8a7441fa4392"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/query-profile"},{"type":"PACKAGE","url":"https://pypi.org/project/query-profile/0.0.1/"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"Kamil Mańkowski (kam193)","type":"REPORTER","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"OpenSSF: Package Analysis","type":"FINDER","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"]}],"database_specific":{"malicious-packages-origins":[{"source":"kam193","sha256":"9a60c7fce9ec29fa327128c80bca74a51b9f1965c50c6dc9286016fa31001bf1","import_time":"2026-06-20T09:41:12.89494755Z","id":"pypi/GENERIC-standard-pypi-install-pentest/query-profile","modified_time":"2026-06-20T08:58:27.447063Z","versions":["0.0.1","0.0.2","0.0.3"]},{"source":"ossf-package-analysis","sha256":"668684938d648f2835b9065f86e06d3815d9c81999a32e50b6ffe61942bd7015","import_time":"2026-06-20T09:41:09.49557541Z","modified_time":"2026-06-20T09:00:58Z","versions":["0.0.3"]},{"source":"ossf-package-analysis","sha256":"b09610327ce9bc65f6ccb9e068cb5b710272846418445fcb3cfa6579a5d633da","import_time":"2026-06-20T09:41:09.378992505Z","modified_time":"2026-06-20T08:55:46Z","versions":["0.0.2"]},{"source":"amazon-inspector","sha256":"7e5505d198ffea0cc608cbcd89e3d8fbe236f4d4ac532425b0e042c52bf87efe","import_time":"2026-07-08T17:01:34.84125903Z","id":"IN-MAL-2026-008154","modified_time":"2026-07-08T16:34:55Z","versions":["0.0.1"]}]}}

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