Eight PyPI packages unlock malware with installed dependencies
Original title: 8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware
Island says the payload decrypts only after a requests module loads, then a .pth file persists and fetches code.
Island says a PyPI campaign active since September 25, 2026 spans four waves and eight packages, using a technique it calls DevGating. A front package such as mailreader ships a pickle in default.config, while a separately published helper, confext, unpickles it. Decryption uses a loaded requests urllib3 module as the key, so a lone scan stays dormant. The payload then plants a .pth file and fetches code from npoint.io; an earlier wave delivered a RAT.
Unconfirmed: Island says this dependency-as-key method has not been documented before; the article also describes separate campaigns.
- Named packages include mailreader 2.7.1 and 2.7.2 and confext 0.7.2.
- Also listed are webreader, pafer, resion, pafex, colook 1.1.3, and basic-crypt 1.5.2 and 1.5.3.
- Front and helper packages are published from different PyPI accounts.
- colook keys off requests.packages.urllib3.util.request instead of the connection module.
Impact: In-memory code execution and persistence on developer machines
- 1.Do not install mailreader, confext, webreader, pafer, resion, pafex, colook, or basic-crypt from PyPI.
- 2.Remove those packages and look for a .pth file that runs when Python starts.
Indicators of compromise
auto-extracted · verify before use · export allAll| Type | Indicator | Context |
|---|---|---|
| ipv4 | 18.143.168.96 | The stolen data is then exfiltrated to 194.150.166[.]244 or 18.143.168[.]96 using an HTTP POST request. The malware also attempts to |
| ipv4 | 194.150.166.244 | er Kunal Singh said. The stolen data is then exfiltrated to 194.150.166[.]244 or 18.143.168[.]96 using an HTTP POST request. The malwar |
From the original article
5 min read at thehackernews.com
An "active and evolving" campaign targeting the Python Package Index (PyPI) repository has been found to employ a novel technique dubbed DevGating that uses the victim's Python dependencies as a key to unlock the payload. The campaign, according to Island, has been active since September 25, 2026, and spans four waves and eight packages, with the attacker progressively iterating its evasion
thehackernews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.