Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
package-repository-poisoningcredential-stealer-activitybuild-pipeline-compromisedata-exfiltration-method

Shai-Hulud Hades Campaign Poisoned 19 PyPI Packages to Steal Developer Secrets

Updated 10d agoFirst seen Jun 8, 20267 sources

Researchers reported that the Hades malware campaign, tied to the broader Shai-Hulud/Miasma lineage, poisoned 19 PyPI packages across 37 malicious releases, including widely used bioinformatics and science-focused tools. The malicious packages abused Python startup and import mechanisms such as executable .pth files and obfuscated __init__.py hooks to automatically fetch the Bun JavaScript runtime from GitHub and launch an obfuscated stealer payload, often without requiring normal package execution. Investigators said the malware harvested a broad set of secrets from developer workstations and CI/CD environments, including GitHub, npm, PyPI, cloud, Kubernetes, SSH, Docker, and shell-history credentials, while using GitHub repositories, GitHub Actions, and secondary HTTPS channels for exfiltration.

Security firms said the operation expands earlier Shai-Hulud tradecraft with AI-analysis evasion, hidden prompts intended to mislead LLM-based security tools, payload retrieval from GitHub commits, SSH/SCP-based lateral movement, IDE and AI-assistant backdooring, and destructive components such as a gh-token-monitor service. Reporting also linked the campaign to an attempted compromise of the Pythagora-io/gpt-pilot project after the maintainer account LeonOstrez was breached, although the malicious changes reportedly failed CI checks because formatting and linting rules blocked them. Defenders were urged to rotate exposed secrets, restore from trusted backups, and hunt for indicators including executable .pth files, Bun downloads from GitHub, and unusual Python-to-Bun process chains on Linux and macOS systems.

Share:
Shai-Hulud Hades Campaign Poisoned 19 PyPI Packages to Steal Developer Secrets
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

9 events from the most recent confirmed update back to the earliest known activity.

9 EVENTS
Jun 10, 202616d ago

Socket reports Hades variant in 23 new malicious PyPI package versions

Socket reported a newly discovered Mini Shai-Hulud variant called Hades in 23 new malicious PyPI package versions targeting bioinformatics and AI-themed packages. The campaign used PyPI-specific delivery methods including .pth hooks, compiled .abi.so extensions, and a loader-style package, while stealing developer and CI/CD secrets and embedding prompt-injection anti-analysis content.

Mini Shai-Hulud ‘Hades’ variant affects 23 PyPI package versions | news | SC Media
Jun 9, 202616d ago

Researchers detail expanded Hades capabilities and AI-analysis evasion

Researchers reported that the Hades wave, linked to the Shai-Hulud/Miasma lineage, added capabilities such as prompt-injection-based AI-analysis evasion, payload retrieval from GitHub commits, SSH/SCP lateral movement, GitHub Actions secret theft, IDE and AI-assistant backdooring, and a destructive gh-token-monitor service. InfoWorld also described the campaign as targeting ensmallen and bioinformatics ecosystems while combining memory-focused behavior and wiper functionality.

Hades PyPI Attack: 19 Packages Poisoned to Auto-Run Bun Credential Stealer

StepSecurity discloses compromise of LeonOstrez GitHub account

StepSecurity disclosed that the GitHub account LeonOstrez, tied to the Pythagora-io/gpt-pilot project, was compromised to push a Shai-Hulud variant. The malicious changes did not deploy because CI failed due to ruff formatting and linting violations.

Hades PyPI Attack: 19 Packages Poisoned to Auto-Run Bun Credential Stealer
Jun 8, 202617d ago

PwnForums suffers outage after DNS and IP changes

ASEC said PwnForums experienced an outage of roughly 12 hours following DNS and IP changes. The disruption was cited as another sign of volatility in the dark web forum ecosystem.

May 2026 Dark Web Issue Trend Report - ASEC

T1erOne publishes new Onion address after FBI seizure of RAMP

ASEC reported that T1erOne published a new Onion address to continue operations after the FBI seizure of RAMP. The report presented this as part of broader instability and consolidation across dark web forums.

May 2026 Dark Web Issue Trend Report - ASEC

ASEC links BreachForums-TeamPCP rivalry to Shai-Hulud npm campaign

ASEC reported a claimed competition between BreachForums and TeamPCP connected to the Shai-Hulud supply-chain attack campaign targeting the npm package ecosystem. This tied dark web forum activity to the broader malware campaign's propagation narrative.

May 2026 Dark Web Issue Trend Report - ASEC

ASEC reports BreachForums-DragonForce partnership announcement

ASEC's May 2026 Dark Web Issue Trend Report said BreachForums announced an official ransomware-as-a-service partnership with DragonForce to combine stolen data distribution with ransomware operations. The report also noted governance disruption on the forum following a moderator split involving HasanBroker.

May 2026 Dark Web Issue Trend Report - ASEC

Socket identifies 19 trojanized PyPI packages in Shai-Hulud-linked campaign

Socket discovered a supply-chain attack affecting 19 PyPI packages across 37 malicious releases, including science and bioinformatics tools, that delivered malware to steal developer secrets. The packages used Python startup hooks and an obfuscated JavaScript payload to download Bun and execute automatically when Python started.

New Shai-Hulud attack trojanizes 19 science-focused PyPI packages
May 12, 20261mo ago

Shai-Hulud source code publicly released, complicating attribution

Gurucul reported that on May 12, 2026, the full Shai-Hulud worm source code was released under an MIT license. The release made the malware effectively public attack infrastructure and introduced uncertainty into prior attribution to TeamPCP/UNC6780.

Shai-Hulud Campaign Evolution: Miasma, Hades, and AI Scanner Evasion | Community Portal | Gurucul
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

35 LINKEDOpen in app
Threat actors
3 linked
Affected products
11 linked
ClaudeLitellmVisual Studio CodeCursorBunGithubPythonNpmHarden RunnerCopilotCodex
Organizations
17 linked
AnthropicZscalerGuruculSocketGitHubStepSecurityJfrogGoogleBeauceron SecurityAmazon Web ServicesOpenaiSnykMicrosoft CorporationCircleCICloudsmithPythagoraSocket Research
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.