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

目标: 1000 元 · 已筹: 1359 元

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

py-sock2

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

Summary

Malicious code in py-sock2 (PyPI)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
—
下载量
—
数据源
暂无公开数据
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
PyPIpy-sock20.1.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17881","published":"2026-10-15T08:20:44Z","modified":"2026-10-16T04:04:55.805356266Z","summary":"Malicious code in py-sock2 (PyPI)","details":"Importing py-sock2's `agentaix` module downloads a mutable Python file from `https://raw.githubusercontent.com/anonrider404/pypl/refs/heads/main/readme.txt` to a temporary `.py` file and launches it without a visible console on Windows. Its `agentaix` console entry point imports the module. The remote file's Git history contains a Windows remote file management client that registers persistence through an HKCU Run entry, polls `https://googleforum.pythonanywhere.com` for commands, and supports file upload, download, deletion, and command execution. An earlier remote-file revision is byte-identical to the `readme.txt` payload reported in MAL-2026-17752 (`agentaix`); the 39,931-byte `agentaix/gui.py` is also byte-identical across that package and py-sock2. The remote file is mutable; its contents at the time of any particular victim import and actual execution on victim systems have not been established.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (317abc5a9c1b535f3db6fd260a2f77eaaceb45745cd93deea7e9b3dd1d0cb933)\nThe package installs a persistent job that allows the attacker for exfiltrating files and executing remote code on the victim's machine.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-agentaix\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - peristence-autorun\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - rat\n\n\n - persistence\n\n\n - Downloads and executes a remote malicious script.\n","affected":[{"package":{"name":"py-sock2","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"}]}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/py-sock2"},{"type":"EVIDENCE","url":"https://files.pythonhosted.org/packages/8c/9d/48e134eca0816e30e162c34f28cbd14e5e5edd1d5a684b461a559a5af5b7/py_sock2-0.1.0-py3-none-any.whl"},{"type":"WEB","url":"https://github.com/anonrider404/pypl/blob/9395c5802b11bc088925d7adf6e2f66b8b0709fd/readme.txt"},{"type":"ADVISORY","url":"https://osv.dev/vulnerability/MAL-2026-17752"}],"database_specific":{"iocs":{"domains":["googleforum.pythonanywhere.com"],"urls":["https://raw.githubusercontent.com/anonrider404/pypl/9395c5802b11bc088925d7adf6e2f66b8b0709fd/readme.txt","https://raw.githubusercontent.com/anonrider404/pypl/refs/heads/main/readme.txt","https://github.com/anonrider404/pypl"]},"malicious-packages-origins":[{"id":"pypi/2026-10-agentaix/py-sock2","import_time":"2026-10-15T08:25:19.112139173Z","modified_time":"2026-10-15T08:20:44.606178Z","sha256":"ce0a067ced77a150f2c036ef46f3ee23605c56ffdfbe40e0d944c098a478e91f","source":"kam193","versions":["0.1.0"]},{"id":"pypi/2026-10-agentaix/py-sock2","import_time":"2026-10-15T09:20:03.533913809Z","modified_time":"2026-10-15T08:20:44.606178Z","sha256":"317abc5a9c1b535f3db6fd260a2f77eaaceb45745cd93deea7e9b3dd1d0cb933","source":"kam193","versions":["0.1.0"]}]},"credits":[{"name":"ESTsecurity","contact":["https://www.estsecurity.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