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

目标: 1000 元 · 已筹: 1359 元

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

iterquarry

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

Summary

Malicious code in iterquarry (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
pypistats.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIiterquarry2.1.1
PyPIiterquarry2.1.2
PyPIiterquarry2.1.3
PyPIiterquarry2.1.4
PyPIiterquarry2.2.0
PyPIiterquarry2.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18131","published":"2026-10-21T22:01:58Z","modified":"2026-10-29T14:16:01.250701219Z","summary":"Malicious code in iterquarry (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c408d2ad5c91bc36fcf3fb32c9649828b6c358f6eb0f32d71a18cfdc226c604d)\niterquarry 2.1.2 presents itself as an iterator utility library but is structured as a thin facade over a sibling PyPI package 'libseal'. pyproject.toml declares dependencies = [\"libseal\"] with no version constraint, so whatever version resolves on PyPI at install time is pulled in and its top-level code runs when iterquarry is imported (recipes.py runs 'from libseal import PACKAGE_ROOT, LibsealError, load_sealed_sync, read_module, seal_sync' at module scope, reachable from the package __init__). The advertised pairwise() API in recipes.py then calls load_sealed_sync(file=SEALED, module_path=\"quarry\", password=\"pairwise\") to decrypt a sealed module shipped inside libseal's install directory using a hardcoded password, and immediately invokes quarry.buffer() in-process. The actual executed code is opaque encrypted content delivered by an unpinned external dependency, with no integrity check, and the decryption password is embedded in the loader. The package's own code contains no legitimate iterator functionality that would require this execution pattern; its sole observable effect is to hand control to arbitrary code packaged inside libseal.\n\n## Source: kam193 (229de224c9319ae50283d0c8fb0f76e351d82327ac204193b7dd2d62026ee41d)\nIn this campaign, one package (iterquarry) holds an encrypted payload, while another one (libseal) provides algorithms to decrypt and execute it. In earlier versions, the code used an embedded key and the payload was contacting a Discord bot. Starting with iterquarry 2.2.0, the key to the encrypted payload is not embedded and the payload remains unknown.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-iterquarry\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - action-hidden-in-lib-usage\n","affected":[{"package":{"name":"iterquarry","ecosystem":"PyPI"},"versions":["2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1"],"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"},{"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"},{"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":"src/iterquarry/recipes.py","sha256":"9535eba139e85f4233344881c73509ba8bd457785150508b7cde7c18015a8516","tlsh":"fb822e67dc967c138376d01d98a58a11fb182307c91559b3ba6c827aff73016d2fcaac"},{"path":"src/iterquarry/quarry.libseal","sha256":"d9bf618c983283ce1d8ef82ccb675f35b26464fdac8f74445491c2d86d88b9f8","tlsh":"b6314b6362f996f204d0e3919a888a3bc0fd23382e1bc9cf434211f98d4478ce5671c0"},{"path":"pyproject.toml","sha256":"23596206dc4bae5e1e1c7428ca2b42cfee31bf758800c9520fcec990d7b9371a","tlsh":"c431cb33c8eb6e3456a12140224e4941fd618b2f734554de7afec25e8fb6637827e03a"}],"package_integrity":[{"filename":"iterquarry-2.2.0-py3-none-any.whl","hashes":{"blake2b_256":"a2be58b7895bd2db724926a7876c3b2c100f4d802abf84fcb10a76666c71e281","md5":"af1aa13f48dad9ba10a2cd601067859d","sha256":"321980172530e242f88bacfa87630cb8cd4f4ed6fd21186b585d58ed74eea8a9"}},{"filename":"iterquarry-2.2.0.tar.gz","hashes":{"blake2b_256":"20a97a169c787916eff89d1924958eb11c78c452664efd9176730a1541361f91","md5":"923759e7c3dbfa5e5578395970b4028d","sha256":"719c75a9a6d65faafed221acfb4101cc3284cc573a5723fdb37ca4fb392f0c50"}}]}}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/iterquarry"},{"type":"PACKAGE","url":"https://pypi.org/project/iterquarry/2.2.0/"},{"type":"PACKAGE","url":"https://pypi.org/project/iterquarry/2.2.1/"},{"type":"PACKAGE","url":"https://pypi.org/project/iterquarry/2.1.2/"},{"type":"PACKAGE","url":"https://pypi.org/project/iterquarry/2.1.4/"},{"type":"PACKAGE","url":"https://pypi.org/project/iterquarry/2.1.3/"},{"type":"PACKAGE","url":"https://pypi.org/project/iterquarry/2.1.1/"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/2026-10-iterquarry/iterquarry","import_time":"2026-10-21T22:41:21.276818244Z","modified_time":"2026-10-21T22:01:58.440586Z","sha256":"229de224c9319ae50283d0c8fb0f76e351d82327ac204193b7dd2d62026ee41d","source":"kam193","versions":["2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1"]},{"id":"IN-MAL-2026-021902","import_time":"2026-10-29T13:37:15.939450517Z","modified_time":"2026-10-29T13:22:57Z","sha256":"62322b068cb8ba8a128938986cc6a6e696758db90055245f9eacca7a6df59b09","source":"amazon-inspector","versions":["2.2.0"]},{"id":"IN-MAL-2026-021893","import_time":"2026-10-29T13:37:15.401553031Z","modified_time":"2026-10-29T13:21:43Z","sha256":"a5bbcaacc1bfc1bb2f60579854ee2158774767696534c8fb9c4a6295e78cb908","source":"amazon-inspector","versions":["2.2.1"]},{"id":"IN-MAL-2026-021906","import_time":"2026-10-29T13:37:16.064099958Z","modified_time":"2026-10-29T13:23:33Z","sha256":"c408d2ad5c91bc36fcf3fb32c9649828b6c358f6eb0f32d71a18cfdc226c604d","source":"amazon-inspector","versions":["2.1.2"]},{"id":"IN-MAL-2026-021971","import_time":"2026-10-29T13:37:18.359489867Z","modified_time":"2026-10-29T13:32:01Z","sha256":"e0c90527cbf56363ed8c7db80db8a612fcf855a8c89a48f6b76d5a6bc98815d3","source":"amazon-inspector","versions":["2.1.4"]},{"id":"IN-MAL-2026-021909","import_time":"2026-10-29T13:37:16.153250647Z","modified_time":"2026-10-29T13:23:56Z","sha256":"5415610306d353d6129123e10aa117ed1f273731f475af32946f03530dd5ce68","source":"amazon-inspector","versions":["2.1.3"]},{"id":"IN-MAL-2026-022249","import_time":"2026-10-29T14:14:37.510095201Z","modified_time":"2026-10-29T14:08:24Z","sha256":"4b4b82c9338efb7974c306b070e4399714d1a711c3b6cee626dc9efc879080e2","source":"amazon-inspector","versions":["2.1.1"]}]},"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