Skip to content

MAL-2026-17756 Malicious code in pafer (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: kam193 (a74b7c5b356a87fe0262954cbedbcc432497ab25edaccbade0ce9ce04b16a8c9)

In 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.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-10-webreader

Reasons (based on the campaign):

  • rat

  • Downloads and executes a remote malicious script.

  • obfuscation

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • abuses-pth

  • persistence

  • The malicious code is intentionally included in a dependency of the package

  • files-exfiltration

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi pafer(PyPI) = 0.9.7; = 0.9.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi pafer(PyPI) = 0.9.7 No fix listed
pypi pafer(PyPI) = 0.9.8 No fix listed

References