{"id":"MAL-2026-17756","title":"Malicious code in pafer (PyPI)","summary":"Malicious code in pafer (PyPI)","severity":"critical","exploited":true,"vendor":"pafer","product":"pafer","ecosystem":"pip","affected":["pafer"],"published":"2026-10-10","updated":"2026-10-10","sourceUpdated":"2026-10-10T11:45:03.481597357Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17756","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/pafer"}],"tags":["osv","pip","malware"],"ingestedAt":"2026-10-11T07:43:08.914Z","slug":"MAL-2026-17756","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a74b7c5b356a87fe0262954cbedbcc432497ab25edaccbade0ce9ce04b16a8c9)\nIn this campaign, the main package (webreader) has an embeded pickle disguised as a config. A related dependency (pafer) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. It finally acts like a RAT, allowing remote exfiltration and code execution.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-10-webreader\n\n\nReasons (based on the campaign):\n\n\n - rat\n\n\n - Downloads and executes a remote malicious script.\n\n\n - obfuscation\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 - abuses-pth\n\n\n - persistence\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - files-exfiltration\n\n\n## Affected packages\n\n- `pafer`\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":[]}