MAL-2026-17881
Vulnerability from ossf_malicious_packages
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.
-= Per source details. Do not edit below this line.=-
Source: kam193 (317abc5a9c1b535f3db6fd260a2f77eaaceb45745cd93deea7e9b3dd1d0cb933)
The package installs a persistent job that allows the attacker for exfiltrating files and executing remote code on the victim's machine.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-10-agentaix
Reasons (based on the campaign):
-
files-exfiltration
-
peristence-autorun
-
The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.
-
rat
-
persistence
-
Downloads and executes a remote malicious script.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
},
"package": {
"ecosystem": "PyPI",
"name": "py-sock2"
},
"versions": [
"0.1.0"
]
}
],
"credits": [
{
"contact": [
"https://www.estsecurity.com/"
],
"name": "ESTsecurity",
"type": "FINDER"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "REPORTER"
}
],
"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"
]
}
]
},
"details": "Importing py-sock2\u0027s `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\u0027s 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\u0027s 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\u0027s machine.\n\n\n - rat\n\n\n - persistence\n\n\n - Downloads and executes a remote malicious script.\n",
"id": "MAL-2026-17881",
"modified": "2026-10-16T04:04:55.805356266Z",
"published": "2026-10-15T08:20:44Z",
"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"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in py-sock2 (PyPI)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.