{"id":"MAL-2026-18094","summary":"Malicious code in pafex (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8ad1f51a6f081ac9e46b3d3ffa2d0b9b150b1600caf826d940f4e3d1992cda16)\nIn this campaign, the main package (resion) has an embeded pickle disguised as a config. A related dependency (pafex) 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. During analysis, the final remote payload was just a stub\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 - files-exfiltration\n\n\n - obfuscation\n\n\n - The malicious code is intentionally included in a dependency of the package\n\n\n - Downloads and executes a remote malicious script.\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 - abuses-pth\n","modified":"2026-10-20T14:30:03.767936616Z","published":"2026-10-20T13:23:10Z","database_specific":{"iocs":{"urls":["https://api.npoint.io/40e32d283a9d97e59252/a","https://api.npoint.io/69f11497b6c48bb2b2c5/p"],"domains":["frjmzbjbhwvtdnsuodmu.supabase.co"]},"malicious-packages-origins":[{"id":"pypi/2026-10-webreader/pafex","import_time":"2026-10-20T14:18:32.00111067Z","modified_time":"2026-10-20T13:23:10.441051Z","sha256":"8ad1f51a6f081ac9e46b3d3ffa2d0b9b150b1600caf826d940f4e3d1992cda16","source":"kam193","versions":["2.3"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/pafex"}],"affected":[{"package":{"name":"pafex","ecosystem":"PyPI","purl":"pkg:pypi/pafex"},"versions":["2.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pafex/MAL-2026-18094.json"}}],"schema_version":"1.9.0","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}