Mini Shai-Hulud Compromised Signed npm and PyPI Packages via GitHub Actions OIDC Abuse
Supply Chain Risk · 35 sources · Updated 5mo ago · First seen May 12, 2026

A large software supply-chain campaign dubbed Mini Shai-Hulud compromised more than 170 npm packages and at least two PyPI packages tied to projects including TanStack, Mistral AI, OpenSearch, UiPath, Guardrails AI, and others. Researchers and vendors attributed the activity to TeamPCP, saying the attackers abused GitHub Actions release workflows—especially pull_request_target, cache poisoning, and theft of short-lived OIDC material from runners—to publish trojanized packages with apparently legitimate SLSA provenance, Sigstore attestations, and trusted-publishing signatures. Reports variously counted between roughly 160 and 400+ malicious package versions, with some affected packages totaling hundreds of millions of downloads, and OpenSearch and Mistral both confirmed compromised releases while TanStack described a chained workflow attack on its publishing pipeline.
The malware targeted developer workstations and CI/CD systems, stealing npm, GitHub, cloud, Kubernetes, Vault, SSH, Docker, and AI-tool credentials, then attempting worm-like propagation by republishing infected packages with stolen tokens or workflow-issued publish credentials. Investigators said the payload also established persistence through VS Code tasks, Claude Code hooks, and in some cases system services, while exfiltrating data through Session, GitHub dead drops, and other attacker infrastructure; some variants included extortion notes, dead-man-switch logic, and geofenced destructive behavior. Defenders were urged to treat hosts that installed affected versions as potentially fully compromised, remove persistence before revoking tokens where applicable, rotate all exposed secrets from clean systems, invalidate CI caches, audit lockfiles and publishing activity, and rebuild impacted environments from trusted sources.
Why it matters
Impact assessment
Mini Shai-Hulud is a high-severity, multi-ecosystem software supply-chain campaign affecting npm and PyPI consumers, maintainers, and CI/CD environments tied to projects including TanStack, Mistral AI, OpenSearch, UiPath, Guardrails AI, Microsoft-associated repositories, and scientific/bioinformatics tooling. The primary impact is credential theft and downstream compromise of developer endpoints, build systems, cloud environments, and package publishing pipelines; multiple sources state hosts that installed affected versions should be treated as fully compromised.
Business and operational impact
- Affected populations include software vendors, enterprise development teams, DevOps/SRE teams, AI/ML developers, scientific computing users, and organizations consuming open-source dependencies through automated builds.
- Impact includes theft of GitHub, npm, PyPI, RubyGems, JFrog, AWS, Azure, GCP, Kubernetes, Vault, SSH, Docker, and AI-tool credentials.
- Operational disruption can include forced credential rotation, CI/CD shutdowns, cache invalidation, repository permission freezes, package rollback, and rebuilds from trusted sources.
- Reputational and financial impact is significant for maintainers and vendors whose signed or trusted-published packages were weaponized.
- Several reports describe persistence, lateral propagation, extortion notes, and destructive logic, increasing incident response cost and recovery time.
Scope and exposure
- Scope is widespread across open-source ecosystems rather than a narrowly targeted intrusion.
- Reported scale varies by source: 170+ compromised packages initially, later expanding to 471 malicious artifacts across npm and PyPI.
- Socket tracked 411 npm artifacts across 106 packages and 60 PyPI artifacts across 37 packages.
- Some affected packages had hundreds of millions of cumulative downloads or millions of weekly downloads.
- Known real-world impact includes confirmed compromised releases from OpenSearch and Mistral AI, Microsoft-associated package incidents, and OpenAI reporting limited internal impact tied to the broader campaign.
Exploitation status
- Exploitation in the wild is confirmed.
- Multiple vendors and project maintainers documented active malicious package publication, credential theft, self-propagation, and post-compromise persistence.
- The campaign abused legitimate trusted publishing and provenance, so standard signature and attestation checks did not reliably distinguish malicious releases from benign ones.


