Skip to main content
Mallory
← Back to News
package-repository-poisoningbuild-pipeline-compromisecredential-stealer-activitydetection-content-update

Shai-Hulud Worm and Related Malicious NPM Package Attacks Targeting Software Supply Chains

Supply Chain Risk · 3 sources · Updated 5mo ago · First seen Oct 6, 2025

Shai-Hulud Worm and Related Malicious NPM Package Attacks Targeting Software Supply Chains

A large-scale supply chain attack has targeted the Node Package Manager (NPM) ecosystem, compromising hundreds of widely used JavaScript packages and threatening the security of software development pipelines globally. In mid-September, cybersecurity researchers identified a self-propagating malware dubbed "Shai-Hulud," which was distributed through trojanized NPM packages, including some with millions of weekly downloads and high-profile packages such as those from CrowdStrike. The attack leveraged a malicious "bundle.js" script that downloaded and executed TruffleHog, a legitimate credential scanner, to harvest developer and CI/CD tokens, cloud service credentials, and environment variables from compromised systems. The stolen credentials were exfiltrated via hard-coded webhooks and GitHub Actions workflows, enabling the attacker to further propagate the malware and gain unauthorized access to sensitive resources. The campaign affected both Windows and Linux systems, increasing its reach and impact across diverse development environments.

Sysdig reported that the attack on September 15 involved approximately 200 compromised packages, including @ctrl/tinycolor, and was linked to an attacker who had previously targeted Nx packages in late August. The worm not only stole secrets but also published them publicly on GitHub and attempted to make victim repositories public, amplifying the risk of further compromise. Earlier in the month, other popular packages such as chalk, debug, and duck were also compromised following a successful spear phishing attack against a maintainer, with the attacker seeking to redirect cryptocurrency payments. NPM responded by removing the malicious package versions, but users were required to update or revert to secure versions to mitigate the risk. Sysdig provided same-day threat intelligence and detection capabilities to its customers, including open source Falco rules to identify and respond to the threat.

The attack demonstrated the vulnerability of even the most trusted and widely used open source packages, highlighting the importance of continuous monitoring and rapid response in the software supply chain. Security researchers and vendors emphasized the need for organizations to scan their environments for known malicious packages, such as dist.fezbox.cjs, and to review logs for signs of credential exfiltration. The incident underscored the evolving tactics of threat actors targeting developer ecosystems, using advanced techniques to automate propagation and maximize impact. Organizations relying on NPM packages and CI/CD pipelines were urged to remain vigilant, update dependencies promptly, and leverage threat intelligence resources to defend against similar attacks. The Shai-Hulud campaign remains an evolving threat, with ongoing analysis and mitigation efforts by the security community. This incident serves as a stark reminder that popularity and trust in open source packages do not guarantee safety, and proactive security measures are essential to protect software supply chains from compromise.

Why it matters

Impact assessment

A large-scale software supply chain compromise affected the NPM ecosystem and downstream development pipelines that consume JavaScript packages, with exposure spanning developer workstations, CI/CD runners, and package maintainer accounts on both Windows and Linux. Impact is high because the malware targeted secrets theft and automated propagation, creating risk of source-code exposure, unauthorized package publication, cloud account compromise, and reputational damage for maintainers and software vendors.

The scope appears widespread rather than narrowly targeted: reporting cited more than 187 compromised packages, with some packages having millions of weekly downloads and including developer-facing packages published by CrowdStrike. There are reported incidents of exploitation in the wild, including credential theft, public posting of stolen secrets on GitHub, and attempts to make victim repositories public.

Supporting facts

  • Affected ecosystem: NPM / JavaScript software supply chain.
  • Affected populations: package maintainers, developers, CI/CD environments, and organizations consuming compromised packages.
  • Affected platforms: Windows and Linux.
  • Reported scale: approximately 187-200 compromised packages.
  • High-profile entities named: CrowdStrike package publishers; article states this was not a breach of CrowdStrike Falcon platform or CrowdStrike corporate network.
  • Business impact vectors:
    • Theft of developer and CI/CD tokens
    • Theft of cloud credentials and environment variables
    • Unauthorized republishing of packages
    • Potential downstream compromise of customer build pipelines
    • Public disclosure of stolen secrets on GitHub
    • Attempts to change repository visibility to public
  • Threat activity was active in the wild and self-propagating after token compromise.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

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

3 events · Oct 6, 2025 – Oct 9, 2025
  1. Oct 9, 20251y ago

    Trend Micro reports weaponized AI assistants tied to credential theft

    Trend Micro published research on weaponized AI assistants being used in support of credential theft activity, marking a distinct development from the npm package campaign. The report indicates attackers were leveraging AI-themed tooling or lures as part of malicious operations.

  2. Oct 6, 20251y ago

    Sysdig highlights the malicious npm package attack in October briefing

    Sysdig included the malicious npm package campaign as a notable security development in its October 2025 security briefing, reinforcing that the activity had become a significant industry-reported threat. This appears to be coverage of the same campaign rather than a separate incident.

  3. Oct 6, 20251y ago

    Researchers report a massive malicious npm package campaign

    Security researchers disclosed a large-scale software supply chain attack involving malicious packages published to the npm ecosystem. The campaign was described as threatening downstream developers and organizations that could unknowingly install the tainted packages.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Organizations

2 linked
CrowdStrikenpm, Inc.

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
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.