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-compromiseleaked-secret-api-key

Mini Shai-Hulud Supply-Chain Attack Compromised npm, PyPI, and Composer Packages

Updated 15d agoFirst seen May 1, 20264 sources

Researchers reported that the Mini Shai-Hulud campaign compromised widely used developer packages across npm, PyPI, and Packagist/Composer, including SAP CAP components, intercom-client, intercom/intercom-php, and PyTorch Lightning’s lightning package. The malicious releases delivered an obfuscated credential stealer executed with the Bun runtime, harvesting secrets from developer workstations and CI/CD environments, including GitHub, npm, cloud, Kubernetes, and AI tooling credentials. Stolen data was encrypted and exfiltrated through attacker-created public GitHub repositories, and the campaign was linked by multiple researchers to TeamPCP. Reports estimated exposure ranging from more than 1,000 to roughly 1,800 repositories, with no CVE, GHSA, or OSV identifiers assigned at disclosure.

Investigators said the attackers abused software publishing workflows rather than relying solely on direct maintainer compromise, including a stolen npm token tied to SAP’s cloudmtabot account, an exposed token in CircleCI pull-request builds, and overly broad GitHub and npm OIDC trusted publishing policies. The malware propagated by using stolen npm tokens to publish infected patch versions of additional packages and established persistence through developer tooling by planting .vscode/tasks.json entries with "runOn": "folderOpen" and .claude/settings.json SessionStart hooks, a technique compared to the earlier PolinRider/TasksJacker tradecraft. Maintainers released cleaned package versions, while defenders were urged to rotate credentials, review GitHub, npm, and cloud activity, harden OIDC publishing rules, pin dependencies, and hunt repositories for unauthorized folderOpen tasks and Claude hooks.

Share:
Mini Shai-Hulud Supply-Chain Attack Compromised npm, PyPI, and Composer Packages
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

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

5 EVENTS
May 1, 20262mo ago

Researchers attribute Mini Shai-Hulud to TeamPCP

Researchers linked the Mini Shai-Hulud campaign to TeamPCP. Reporting described the operation as abusing CI/CD publishing misconfigurations and stolen tokens to spread malicious package updates across developer ecosystems.

Mini Shai-Hulud: Multi-Ecosystem Developer Supply Chain Attack - Lab Space

Campaign expands across npm, PyPI, and Packagist ecosystems

Over April 29–30, 2026, Mini Shai-Hulud unfolded as a multi-ecosystem software supply-chain attack affecting npm, PyPI, and Packagist/Composer packages. Researchers said the campaign exposed roughly 1,800 repositories through stolen credentials and self-propagation.

Mini Shai-Hulud: Multi-Ecosystem Developer Supply Chain Attack - Lab Space
Apr 30, 20262mo ago

Technical analysis ties execution method to PolinRider/TasksJacker

A later analysis reported that Mini Shai-Hulud reused the VS Code tasks.json "runOn": "folderOpen" execution technique previously associated with the PolinRider/TasksJacker campaign. The report also highlighted added persistence through Claude Code SessionStart hooks and published IOCs and hunting guidance.

Mini Shai-Hulud Borrowed Its Best Trick From PolinRider | OpenSource Malware Blog
Apr 29, 20262mo ago

Maintainers release updated versions of compromised SAP packages

After the SAP CAP package compromise was disclosed, maintainers of the known-compromised packages released updated versions. Defenders were advised to investigate installations of affected versions and rotate potentially exposed secrets.

'Mini Shai-Hulud’ supply chain attack targets SAP npm packages | SOPHOS

Mini Shai-Hulud campaign compromises SAP CAP npm packages

On 2026-04-29, researchers disclosed a supply-chain attack dubbed Mini Shai-Hulud involving compromised npm packages in SAP's Cloud Application Programming Model ecosystem. The malicious packages included credential- and sensitive-data-stealing functionality and exfiltrated stolen data via public GitHub repositories.

'Mini Shai-Hulud’ supply chain attack targets SAP npm packages | SOPHOS
LINKED ENTITIES

Related entities

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

41 LINKEDOpen in app
Affected products
4 linked
Claude CodeVisual Studio CodeIntercom-ClientIntercom-Php
Organizations
25 linked
SAPMendSocketMicrosoft CorporationWizStepSecurityLightning AISemgrepAikido SecurityReversingLabsGitGuardianUpwindOnapsisIntercomPhoenix SecurityGitHubPalo Alto NetworksAnthropicThreatLockerSnykBitwardenJamfSophosOpenSourceMalwareOven
Breaches
6 linked
SAP-2026-04INTERCOM-2026-04PYTORCHLIGHTNING-2026-04SAPCAPECOSYSTEM-2026-04CAP-JSCDS-DBS-2026-04CLOUDMTABOTSAPSERVICEACCOUNT-2026-04
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.