The Hacker News
Island Researchers Uncover PyPI Malware Hidden in Dependencies
Eight PyPI packages have been identified in an active, multi-wave campaign dubbed DevGating, which pivots on using a victim’s own Python dependencies as the key to unlock a hidden payload. Island researchers Idan Revivo and Ofek Ronen said the operation has been underway since 25 September 2026 and unfolds in four waves across eight packages.
Front packages such as mailreader deliver a functional component that disguises malicious activity, while the corresponding second package, confext, houses the unpickling logic that loads the concealed configuration. The two-pack approach is designed to defeat scanners that only inspect one package in isolation.
The researchers explained that the payload is decrypted by examining the victim’s environment, specifically by referencing the loaded module name associated with the requests library, and the resulting decryption key enables execution of the malicious code.
The campaign culminates in a multi-layer payload designed to evade detection, followed by persistence via a Python path file (.pth) that ensures the code runs at interpreter startup even if the package is removed. The end goal is to run Python directly from memory on Linux and to fetch code staged in a remote JSON store at point[.]io, with earlier waves reportedly delivering a remote access trojan.
The eight identified packages are mailreader (versions 2.7.1, 2.7.2); confext (version 0.7.2); webreader; pafer; resion; pafex; colook (version 1.1.3); and basic-crypt (versions 1.5.2, 1.5.3). Island emphasised that DevGating exploits a gap between static analysis and real-world development workflows, enabling malicious code to remain dormant until the environment is prime for activation. The disclosure appears alongside other contemporaneous campaigns noted by Aqua and SafeDep researchers.