{"id":"MAL-2026-17883","title":"Malicious code in py-worm (PyPI)","summary":"Malicious code in py-worm (PyPI)","severity":"critical","exploited":true,"vendor":"py-worm","product":"py-worm","ecosystem":"pip","affected":["py-worm"],"published":"2026-10-15","updated":"2026-10-16","sourceUpdated":"2026-10-16T04:15:23.160585629Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17883","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/py-worm"},{"url":"https://files.pythonhosted.org/packages/59/de/799235425a54e0fd7ca9ac5306dd21675b390b1c0241caa1115f1371eb95/py_worm-2.0.1-py3-none-any.whl"},{"url":"https://github.com/anonrider404/pypl/blob/9395c5802b11bc088925d7adf6e2f66b8b0709fd/readme.txt"},{"url":"https://osv.dev/vulnerability/MAL-2026-17752"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-15T11:47:08.222Z","slug":"MAL-2026-17883","body":"## Overview\n\nImporting py-worm'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. Versions 0.1.0 and 2.0.0 do this directly during import; version 2.0.1 starts a daemon thread during import to perform the same action. The package's CLI and GUI entry points import this 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 all py-worm releases. 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 (d4c5838f30da7c1f684305ec0704ef37e963793449390f5b13a4e06212ccbd9d)\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\n\n## Affected packages\n\n- `py-worm`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"abyssal","depthScore":70,"depthScoreParts":{"impact":52.3,"likelihood":0,"exploitation":18,"ransomware":0},"changes":[]}