Malicious code in webreader (PyPI)
Description
The PyPI package 'webreader' version 2.3.8 contains embedded malicious code disguised as a pickle configuration file. A related dependency 'pafer' loads this pickle, triggering automatic execution of malicious code during unpickling. This code establishes persistence via a PTH file, downloads additional payloads, and functions as a remote access trojan (RAT) enabling remote code execution and data exfiltration.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'webreader' package (version 2.3.8) includes an embedded pickle file disguised as a configuration, which is loaded by a dependency named 'pafer'. The unpickling process executes malicious code automatically, which then establishes persistence on the victim's system using a PTH file. Subsequently, it downloads further malicious payloads and operates as a RAT, allowing remote attackers to execute commands and exfiltrate files. The campaign demonstrates clear malicious intent with obfuscation, persistence mechanisms, and remote command execution capabilities.
Potential Impact
Successful exploitation results in remote code execution, persistence on the infected system, and potential data exfiltration. The attacker gains remote access to the victim's machine, enabling further malicious activities such as downloading additional payloads and executing arbitrary commands.
Defensive Guidance
No official patch or remediation is currently documented. Users should avoid installing or using the 'webreader' package version 2.3.8 and its dependencies, especially 'pafer'. Monitor for updates from the package maintainers or PyPI security advisories for any official fixes or removal of the malicious package. Until then, do not trust or deploy this package in any environment.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17757
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["PyPI"]
Threat ID: 6acaad8f2cdf04f6565143a3
Added to database: 10/10/2026, 21:26:39 UTC
Last enriched: 10/10/2026, 21:32:19 UTC
Last updated: 10/10/2026, 21:32:19 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.