Skip to content
NewA calmer, faster ZeroHour

Eight PyPI packages unlock malware with installed dependencies

Original title: 8 Malicious PyPI Packages Use Python Dependencies as Keys to Unlock Hidden Malware

The Hacker News ()5 min read1
Part of a story covered by 2 sourcesPyPI DevGating packages hide malware until developer modules loadMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Security assessment · AI, from the article

Impact: In-memory code execution and persistence on developer machines

What to do
  1. 1.Do not install mailreader, confext, webreader, pafer, resion, pafex, colook, or basic-crypt from PyPI.
  2. 2.Remove those packages and look for a .pth file that runs when Python starts.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

Indicators of compromise

auto-extracted · verify before use · export allAll
TypeIndicatorContext
ipv418.143.168.96The 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
ipv4194.150.166.244er 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

The Hacker News

thehackernews.com

Read the full article at The Hacker News

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.