{"id":"MAL-2026-17753","title":"Malicious code in media-manager5 (PyPI)","summary":"Malicious code in media-manager5 (PyPI)","severity":"critical","exploited":true,"vendor":"media-manager5","product":"media-manager5","ecosystem":"pip","affected":["media-manager5"],"published":"2026-10-10","updated":"2026-10-15","sourceUpdated":"2026-10-15T09:30:03.447639369Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17753","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/media-manager5"},{"url":"https://pypi.org/project/media-manager5/0.1.0/"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-11T07:43:08.914Z","slug":"MAL-2026-17753","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b2598535fc7c58644f4dacb6b83f87a90823b8d1b84bc3357a6b2ae500342ba9)\nThe package advertises itself as a 'silent per-user wallpaper rotator for Windows' but ships wallpaper.py, a command-and-control client that connects to the hardcoded endpoint https://googleforum.pythonanywhere.com. On construction of MediaManager5(), the package writes a runner script to %LOCALAPPDATA%\\MediaManager5\\runner.py and registers a Windows Scheduled Task named 'MediaManager5' with /SC ONLOGON, so the agent is executed via pythonw at every user logon and re-invokes wallpaper.py on a 10-minute loop. The agent registers the host as username@hostname against /api/register and polls /api/client/<id>/poll for commands dispatched through a COMMAND_HANDLERS table that includes an 'exec' handler running arbitrary shell commands via subprocess.run(command, shell=True), plus list/upload/download/delete/rename handlers over arbitrary filesystem paths; handle_download base64-encodes file contents and returns them to the server via /api/client/<id>/result. The wallpaper framing in the package name, README, and docstrings does not match the shipped payload.\n\n## Source: kam193 (cb983aa5b7a424ffd813440bb47cefb9d43ed193c38456dd8acb299aafa3cd56)\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- `media-manager5`\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":[]}