Eight Malicious PyPI Packages Use Developer Dependencies to Unlock Malware

· Original article ↗

Summary

Island researchers report an eight-package PyPI campaign using DevGating: payloads split across packages are decrypted when a developer's loaded requests dependency is detected, then persist through a .pth file and retrieve code remotely.

Key points

  • Island says the campaign has been active since September 25, 2026, and spans four waves and eight packages.
  • The latest packages, mailreader and confext, split the malicious payload across packages from separate accounts; a pickle file disguised as default.config is loaded by the helper package.
  • The malware checks for a loaded requests-related module and uses it to derive a decryption key, allowing it to remain dormant in some isolated package scans.
  • After activation, the malware installs a .pth file for persistence and retrieves code from npoint[.]io; an earlier wave reportedly delivered a remote access trojan.
  • Aqua researchers say the GhostMap eBPF rootkit, which hides processes, files, and network sockets, was distributed through an evolved Shai-Hulud variant called IronWorm.
  • A separate stolen-GitHub-token campaign was assessed to affect at least 1,806 repositories, with more than 8,000 receiving malicious commits; the stealer targets repository secrets and cloud credentials.

Article Details

Event Type
Reporting on multiple cybersecurity incidents: a malicious PyPI package campaign using dependency-based payload unlocking, a Linux rootkit distribution campaign, and a GitHub token abuse operation.
Impact
The PyPI campaign used eight packages across four waves to conceal malware, establish persistence, and retrieve code for execution. Separately, GhostMap was reported distributed through an evolved Shai-Hulud variant, IronWorm. A GitHub token abuse operation targeted repositories to steal repository secrets and cloud credentials; at least 1,806 repositories were assessed as impacted, and more than 8,000 received malicious commits.

Indicators of compromise

TypeIndicatorContext
IPV418[.]143[.]168[.]96Reported destination for exfiltration of stolen repository secrets and cloud credentials.
IPV4194[.]150[.]166[.]244Reported destination for exfiltration of stolen repository secrets and cloud credentials.

People

Malware

Products

Arch User Repository (AUR)codenamed Atomic Arch, that compromised hundreds of orphaned packages in the Arch User Repository (AUR) to also push a stealer and wallet drainer.AWSHTTP POST request. The malware also attempts to abuse the collected credentials to obtain deeper access to AWS, Google Cloud, and Microsoft Azure by minting new access keys and federated credentials that can outlastGitHubIn recent weeks, unknown threat actors have also been observed using stolen GitHub tokens to push a credential stealer into tens of thousands of repositories since November 10, 2026, with an aim to siphon GitHub ActionsGitHub Actionsstealer into tens of thousands of repositories since November 10, 2026, with an aim to siphon GitHub Actions secrets and cloud credentials.Google Cloudrequest. The malware also attempts to abuse the collected credentials to obtain deeper access to AWS, Google Cloud, and Microsoft Azure by minting new access keys and federated credentials that can outlast the run.Microsoft Azurealso attempts to abuse the collected credentials to obtain deeper access to AWS, Google Cloud, and Microsoft Azure by minting new access keys and federated credentials that can outlast the run.npmThe stealer is designed to run once, either via GitHub Actions or during npm install using a postinstall hook, and is capable of stealing a repository's secrets and cloud credentials for the attacker.PyPIAn "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

Related Articles