pypi · Malicious package advisory
Malwarewebreader
GHSA-82r3-2956-8fx5
Malicious code in webreader (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.3.8` ## Source: kam193 (165632b7385ab993b6a8aa74c76ff55cc1ef55748c67b5dfabca284bc8ced087) 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 --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/1861f95ffacc04ed9d9c6049639098146030f14b/osv/malicious/pypi/webreader/MAL-2026-17757.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/webreader - https://github.com/ossf/malicious-packages/blob/1861f95ffacc04ed9d9c6049639098146030f14b/osv/malicious/pypi/webreader/MAL-2026-17757.json - https://github.com/ossf/malicious-packages/blob/cb51fe43f9a76d25f225f2f5f7aca7e7dcf090a3/osv/malicious/pypi/webreader/MAL-2026-17757.json - https://github.com/advisories/GHSA-82r3-2956-8fx5
Compromised versions (1)
- = 2.3.8
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.