Skip to main content
Mallory
← Back to News

Shai-Hulud Worm Supply Chain Attack on npm Packages

2 sources · Updated 5mo ago · First seen Sep 25, 2025

Shai-Hulud Worm Supply Chain Attack on npm Packages

A self-replicating worm known as Shai-Hulud was used to compromise over 500 npm packages, enabling attackers to steal sensitive credentials such as GitHub Personal Access Tokens and API keys for major cloud services. The malware spread by injecting itself into additional packages, leveraging stolen credentials to propagate further. GitHub responded by removing the compromised packages from the npm registry and working with open source maintainers to contain the attack. The Cybersecurity and Infrastructure Security Agency (CISA) issued a warning urging organizations to review their software for signs of compromise, rotate developer credentials, and monitor for anomalous network activity. The incident highlights the risks of supply chain attacks in the open source ecosystem and the importance of rapid response and credential hygiene.

Why it matters

Impact Assessment

  • Affected population: Organizations and developers that build, install, or depend on npm packages are directly exposed, especially software vendors, SaaS providers, cloud-native engineering teams, and CI/CD environments that consume open source JavaScript dependencies.
  • Primary impact: The campaign enabled credential theft and supply chain compromise. Stolen secrets reportedly included GitHub Personal Access Tokens (PATs) and API keys for major cloud services, creating risk of source code compromise, package tampering, cloud account abuse, and downstream customer impact.
  • Severity: High. This is not a single-package incident; it involved more than 500 npm packages and a self-replicating worm, increasing both speed and scale of propagation. Consequences can include unauthorized code publication, malicious package updates, data exposure, service disruption, and reputational damage.
  • Scope: Widespread ecosystem exposure rather than a narrowly targeted intrusion. Any environment that installed affected packages or used compromised maintainer credentials may be at risk.
  • Observed activity: The story describes active malicious use in the wild. GitHub removed compromised packages from the npm registry and coordinated containment with maintainers, while CISA issued a warning urging immediate review and credential rotation.
  • Business risk: Organizations may face:
    • Compromised software builds and developer workstations
    • Unauthorized access to source repositories and package publishing pipelines
    • Cloud resource abuse using stolen API keys
    • Potential downstream compromise of customers consuming poisoned dependencies
Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Event timeline

How this story unfolded

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

1 event · Sep 25, 2025
  1. Sep 25, 20251y ago

    CISA urges review of software after 'Shai-Hulud' supply chain compromise

    CISA issued guidance urging organizations to review their software environments following a supply chain compromise involving malicious packages linked to the 'Shai-Hulud' campaign. The reference does not provide a more specific event date, so the publication date is used as the estimate.

Do you run this?See affected versions and whether adversaries are exploiting it against assets like yours.
Check your exposure
Mallory platform

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, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.