
PyPI Campaign Deploys DevGating to Unlock Malware Using Victim Python Dependencies
An active supply chain attack campaign targeting the Python Package Index has used a novel DevGating technique that keys malicious payloads to the victim's loaded Python dependencies. The operation, tracked by Island researchers, has run through four waves since September 25, 2026 and involved eight packages published from multiple accounts. Each front package ships legitimate code while the malicious logic is split across a helper package and activated only when specific modules from the requests library are present. Persistence is achieved via .pth files that execute on every Python interpreter start, after which the malware retrieves additional code from npoint.io. Parallel disclosures detail the GhostMap eBPF rootkit distributed via the IronWorm variant of the Shai-Hulud worm and a widespread credential-stealing operation that abused stolen GitHub tokens to compromise over 1,800 repositories.
The Hacker NewsDec 3, 2026Translated from English