Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Miasma Worm Campaign Spreads with New PyPI Wave

0
Medium
Published: Sun Jun 07 2026 (06/07/2026, 11:21:59 UTC)
Source: AlienVault OTX General

Description

A coordinated PyPI compromise campaign involving 37 malicious wheel artifacts across 19 packages was detected, utilizing Python startup hooks to execute credential-stealing payloads. The attack leverages .pth files for automatic execution during Python interpreter startup, downloads the Bun JavaScript runtime, and runs obfuscated JavaScript payloads. The malware targets high-value developer and CI/CD credentials including GitHub, npm, PyPI, cloud providers (AWS, GCP, Azure), Kubernetes, Vault, SSH keys, and AI tool tokens. This represents a PyPI branch of the Shai-Hulud/Miasma campaign family, using a Hades-themed variant for GitHub exfiltration. Compromised packages included established bioinformatics tools with significant download counts, stemming from apparent maintainer account takeover. The payload employs multi-layer obfuscation, AES-GCM encryption, and exfiltrates data through GitHub repositories with distinctive markers. The campaign demonstrates cross-runtime attack capabilities and ecosystem-spe...

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/08/2026, 09:33:33 UTC

Technical Analysis

This threat involves a supply chain compromise on PyPI where attackers injected malicious wheel files into 19 packages, leveraging Python startup hooks (.pth files) to execute payloads automatically. The payload downloads the Bun JavaScript runtime to execute obfuscated JavaScript that steals credentials from multiple developer and cloud platforms. The campaign is linked to the Shai-Hulud adversary group and uses advanced obfuscation and encryption techniques to exfiltrate data via GitHub repositories. The attack targets high-value credentials relevant to development and CI/CD environments and stems from apparent maintainer account takeovers of established packages, including those in bioinformatics.

Potential Impact

The attack enables credential theft of sensitive developer and CI/CD tokens, including GitHub, npm, PyPI, cloud providers (AWS, GCP, Azure), Kubernetes, Vault, SSH keys, and AI tool tokens. This can lead to unauthorized access to critical development infrastructure and cloud environments. The use of automatic execution via Python startup hooks increases the likelihood of widespread infection among users of the compromised packages. The campaign's multi-layer obfuscation and encrypted exfiltration make detection and mitigation more challenging.

Mitigation Recommendations

No official patch or remediation guidance is currently available. Users should avoid installing or updating the identified compromised PyPI packages until further notice. Review and revoke potentially exposed credentials associated with affected environments. Monitor for suspicious activity related to developer and CI/CD credentials. Check the referenced vendor advisory and threat intelligence sources for updates on remediation and detection.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Author
AlienVault
Tlp
white
References
["https://socket.dev/blog/shai-hulud-descends-to-hades-miasma-pypi-wave"]
Adversary
Shai-Hulud
Pulse Id
6a255457476fc6d2bbe99c64
Threat Score
null

Indicators of Compromise

Hash

ValueDescriptionCopy
hashc539766062555d47716f8432e73adbe3a0c0c954a0b6c4005017a668975e275c
hashdc48b09b2a5954f7ff79ab8a2fd80202bd3b59c08c7cdbc6025aa923cb4c0efe
hashe1342a80d4b5e83d2c7c22e1e0aaa95f2d88e3dbf0d853a4994b180c93a4b17d

Threat ID: 6a2688ece29bf47b50c9eea9

Added to database: 6/8/2026, 9:18:36 AM

Last enriched: 6/8/2026, 9:33:33 AM

Last updated: 6/9/2026, 5:51:52 AM

Views: 65

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

External Links

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses