[HIGH] 8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware
Yes, if you run Python and have installed any of the 8 listed packages (mailreader, confext, webreader, pafer, resion, pafex, colook, basic-crypt) since September 25, 2026: your environment is compromised with a persistent backdoor that evades standard scanning by using your own dependencies as
← Part of Daily Briefing (2026-12-04) · All Advisories · Official Vendor Source ↗
8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware
The Hacker News [SUPPLY-CHAIN COMPROMISE]
❓ Why Should I Care?
Yes, if you run Python and have installed any of the 8 listed packages (mailreader, confext, webreader, pafer, resion, pafex, colook, basic-crypt) since September 25, 2026: your environment is compromised with a persistent backdoor that evades standard scanning by using your own dependencies as a decryption key.
🎯 Affected versions: PyPI packages: mailreader (2.7.1, 2.7.2), confext (0.7.2), webreader, pafer, resion, pafex, colook (1.1.3), basic-crypt (1.5.2, 1.5.3)
Not affected: Projects that have not installed any of the listed packages. Note that the malware persists via .pth files even if the package is uninstalled.
🎭 In plain English:
These packages look like harmless utilities but contain hidden malware that only activates when your project also uses the 'requests' library. The malware hides its code by splitting it across two different packages and using your specific environment to unlock it, allowing it to install a persistent backdoor that downloads and executes remote code.
🔧 Prerequisites:
- Installed one of the affected PyPI packages (mailreader, confext, etc.)
- Python environment has the 'requests' library installed and loaded
- Python interpreter is running on Linux (primary target)
⏱ Urgency: Immediate action required: uninstall the affected packages, remove any suspicious .pth files from your site-packages directory, and rotate all credentials and secrets exposed in your environment, as the malware establishes persistence and fetches remote code.
✅ Fixed in / Action: Uninstall affected packages, Remove malicious .pth files from site-packages, Rotate all credentials and secrets
💡 Context: The root cause is a novel 'DevGating' technique where the malware uses the victim's loaded Python dependencies (specifically 'requests') as a decryption key, allowing it to evade static analysis and sandbox detection that does not replicate the full dependency context.
🦅 Read full 2026-12-04 Briefing | Release Radar | ☕ Support WSIC