{"id":"MAL-2026-17755","title":"Malicious code in agent-vx (PyPI)","summary":"Malicious code in agent-vx (PyPI)","severity":"critical","exploited":true,"vendor":"agent-vx","product":"agent-vx","ecosystem":"pip","affected":["agent-vx"],"published":"2026-10-10","updated":"2026-10-15","sourceUpdated":"2026-10-15T09:30:03.443557206Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17755","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/agent-vx"},{"url":"https://pypi.org/project/agent-vx/0.1.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-11T07:43:08.914Z","slug":"MAL-2026-17755","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (90f0a2b273b0361ffd4057f114f1be1eaf9469c9746d2737a21947905570ff80)\nOn `import agentaix`, the package's __init__.py runs a top-level `install_manage()` side effect that renames a bundled `readme.txt` into `manage.py` and launches it with pythonw.exe using CREATE_NO_WINDOW so no console appears. The disguised script registers the installer as `username@hostname` with https://googleforum.pythonanywhere.com and then polls that endpoint for commands. The command handlers include `exec` (arbitrary shell via `subprocess.run(command, shell=True)`), plus list, download, upload, delete, rename, and open — a full remote-controlled shell and file manager driven by a hardcoded author endpoint, with no authentication beyond the username@hostname identifier. The `download` handler reads any path accessible to the user process, base64-encodes the contents, and POSTs them back to https://googleforum.pythonanywhere.com/api/client/<id>/result, enabling remote-triggered exfiltration of arbitrary files. For persistence, `_add_to_startup` writes an `AgentAIXManage` value under HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run pointing at pythonw.exe plus the renamed script so the C2 client auto-starts at every user login. The payload fires the moment the module is imported, with no user interaction, and the readme.txt disguise plus hidden-window launch are deliberate evasion of casual inspection.\n\n## Source: kam193 (f91699ff915dd2020b9736052f7036ee723aaaa0628e5384ff47f65577d397f6)\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- `agent-vx`\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":[]}