7 WAY SECURITY

7 WAY SECURITY

(+57) 3007265036
Email: [email protected]

7WAY SECURITY
Bogotá, Cra 49 # 128B - 31 - My desk - Of. 201

GET IN TOUCH WITH ONE OF OUR EXPERTS: 3007265036
  • HOME
  • ABOUT US
  • SECTORS
    • FINANCIAL
    • ENERGY
    • TELECOMMUNICATIONS
    • HEALTH
    • TRANSPORT
  • SERVICES
    • OFFENSIVE
      • Ethical Hacking
      • Red Team Testing plans
      • 7Way Ops
      • Pentesting on Demand
      • Anguilla
      • Certified Testing
    • DEFENSIVE
      • Training
    • INTELLIGENCE
      • Cattleya
      • Threat Hunting
    • INCIDENT RESPONSE
      • Incident Response
      • Digital Investigations
      • CSIRT 711
    • CONSULTANCY
      • Black Team
  • JOIN THE TEAM
    • Supply Network Team
    • Offer Blue Team
    • Offer Black Team
    • Offer Orange Team
    • Offer Green Team
    • Offer Practitioners
    • Offer Gray Team
    • Offer White Team
  • PRICES
  • CONTACT
  • BLOG
  • Home
  • Cybersecurity
  • Blue Teams
  • Self-Replicating Malware compromises the global software supply chain: The Shai-Hulud case
June 3, 2026

Self-Replicating Malware compromises the global software supply chain: The Shai-Hulud case

2
Blue Team
Blue Teams
Wednesday, 08 October 2025 / Published in Blue Teams, Cybersecurity, Defensive Security

Self-Replicating Malware compromises the global software supply chain: The Shai-Hulud case

Malware_autoinfectante_compromete_la_cadena_de_suministro_global_Shai-Hulud_7way_security

A new alert issued by multiple cybersecurity research groups and consultants has gained widespread attention due to its serious implications for supply chain attacks. Threat actors have successfully compromised the NPM ecosystem, through a self-replicating computer worm named“Shai-Hulud”.NPM is recognized as the largest open-source software component library, used by millions of developers for web and software projects.

The severity of the incident lies not only in the infection itself but also in the stealthy and extensive propagation methods of this worm across the global software supply chain.

Event description

In September 2025, a massive attack was identified against NPM ecosystem (Node Package Manager) where more than 40 packages were compromised. Initial investigations indicate that the attackers managed to hijack several maintainers’ accounts, injecting malicious payloads into legitimate package versions. These payloads were configured to exfiltrate credentials, API keys and even cryptocurrency wallets from both development and production environments.

This incident has been considered one of the most significant supply chain attacks of 2025, not only because of the number of affected packages but also due to the temporary disruption of thousands of CI/CD pipelines that depended on them.

What makes this attack particularly dangerous is its self-propagating capability. Once a package was compromised, the malware included a function that automatically downloaded, modified, and injected malicious code into other packages maintained by the same compromised account.

In essence, each infected package became a new distribution point, creating a domino effect throughout the ecosystem.

Preliminary Impact on the NPM Ecosystem

Among the compromised packages were several fundamental dependencies that millions of developers rely on daily. Some of the most popular include:

  • chalk (~300 million weekly downloads): Essential for terminal text formatting.
  • debug (~357 million weekly downloads): A nearly ubiquitous debugging utility.
  • strip-ansi (~261 million weekly downloads): Used to process ANSI codes.
  • color-convert (~193 million weekly downloads): For color space conversions.
  • crypto-utils (~1,200 weekly downloads): Cryptographic utilities for hashing and random number generation.
  • data-formatter (~11.4 million weekly downloads): Functions for formatting and transforming data, especially dates.
Visualization of cloud protection alerts. Source: Palo Alto Networks

When evaluating the overall impact on today’s JavaScript ecosystem, the infection potentially extended to:

  • Frontend applications built with React, Angular, and Vue.js.
  • Backend applications developed with Node.js and Express.
  • Development tools such as Webpack, Rollup, and Vite.
  • CI/CD systems running automated build pipelines.

A Viral Twist Involving CrowdStrikeA Viral Twist Involving CrowdStrike

One of the most concerning findings was the discovery of 22 fake packages using the namespace @crowdstrike, with names such as:

  • @crowdstrike/commitlint
  • @crowdstrike/falcon-shoelace
  • @crowdstrike/foundry-js
  • @crowdstrike/logscale-dashboard

Although CrowdStrike confirmed that these malicious packages did not affect its Falcon sensor or compromise client data, this situation demonstrates how attackers exploited brand reputation to amplify credibility — especially in the wake of parallel news surrounding CrowdStrike, such as the BSOD incident in June, 2024.

Malware reported in CrowdStrike’s commitlint package. Source: Socket.dev

Analysis of the Shai-Hulud Attack Chain

According to the MITRE ATT&CK framework the Shai-Hulud attack sequence involves approximately nine key tactics:

1. Initial Infiltration

  • Targeted phishing: Emails impersonating official NPM security alerts.
  • Credential theft: Victims unknowingly expose their login information.
  • Account compromise: Attackers gain full control of the developer’s NPM account.

2. Malware Deployment Phase

  • Malicious publication: Upload of infected NPM packages.
  • Automatic execution: Malicious JavaScript runs upon installation.
  • Persistence: Unix shell scripts embedded to maintain access.

3. Escalation and Propagation Phase

  • GitHub authentication: Using stolen tokens to access GitHub APIs.
  • Repository enumeration: Mapping accessible repositories (including private ones).
  • Mass cloning: Copying private repositories to attacker-controlled accounts.
  • Malicious workflows: Creating automated branches to continuously extract data.

4. Data Exfiltration Phase

  • Tool installation: Deployment of TruffleHog for secret scanning.
  • Sensitive data extraction: Automated search for credentials and keys.
  • Public exposure: Switching private repos to public with full commit history.
  • Data transmission: Automated exfiltration through web requests.

5. Impact and Scalability

  • Chain propagation: One compromised account triggers massive infection.
  • Full automation: Minimal attacker effort after initial deployment.
  • Mass compromise: Hundreds of packages potentially affected before detection.
  • Trust erosion: Significant impact on open-source software adoption.
Cadena completa de ataque: tácticas y técnicas identificadas. Tomado de Trend Micro
Complete attack chain: tactics and techniques identified. Source: Trend Micro

Additional Packages and Indicators of Compromise (IoCs)

Efforts to document and share verified information with corporate security teams have led to frequent updates of public repositories listing affected packages. One example is a GitHub Gist provided by Checkmarx Ltd., containing nearly 198 identified packages.

Other notable IoCs:

TypeIoCsDescription
URLhttps://webhook[.]site/bb8ca5f6-4175-45d2-b042-fc9ebb8170b7Unique testing endpoint for webhooks and HTTP requests
File46faab8ab153fae6e80e7cca38eab363075bb524edd79e42269217a083628f09b74caeaa75e077c99f7d44f46daaf9796a3be43ecf24f2a1fd381844669da777dc67467a39b70d1cd4c1f7f7a459b35058163592f4a9e8fb4dffcbba98ef210c4b2399646573bb737c4969563303d8ee2e9ddbd1b271f1ca9e35ea78062538dbAssociated with a JavaScript file named “bundle.js”
File“shai-hulud-workflow.yml”GitHub workflow associated with the detected repositories
Workflow name“shai-hulud”Identifies the automated attack process

Recommended Immediate Response Actions

  • Organizations are urged to conduct a full audit of all dependencies used by their development teams. The following actions are recommended:
  • Rotate all credentials, including:

    • NPM and GitHub tokens
    • AWS keys and cloud credentials
    • API secrets and security certificates
    • CI/CD system credentials
  • Adopt defensive development practices for dependency management:
  • Verify checksums and cryptographic signatures.
  • Run npm audit continuously in CI/CD pipelines.
  • Enforce lock files (package-lock.json).
  • Integrate automatic vulnerability scanning into build workflows.
  • Set up alerts for unexpected dependency changes.
  • Leverage tools such as Snyk, Socket, or Dependabot for proactive monitoring.

Conclusions

We are at a turning point: either we allow attacks like these to gradually erode trust in open-source software, or we use them as catalysts to build a more secure and resilient ecosystem that benefits the global developer community.

The future of software security depends on our collective ability to learn from incidents like “Shai-Hulud”. and to design stronger defenses against the next generation of cyber threats.

References:

  • https://www.trendmicro.com/en_us/research/25/i/npm-supply-chain-attack.html
  • https://thehackernews.com/2025/09/40-npm-packages-compromised-in-supply.html
  • https://www.dynamisllp.com/knowledge/npm-supply-chain-attack-crypto-security-2025
  • https://checkmarx.com/zero-post/npm-hit-by-shai-hulud-the-self-replicating-supply-chain-attack/
  • https://arcticwolf.com/resources/blog-uk/wormable-malware-cause-supply-chain-compromise-of-npm-code-packages/
  • https://www.paloaltonetworks.com/blog/cloud-security/npm-supply-chain-attack/
Blue Team

William Ardila

Blue Teams

Share the knowledge:
Tagged under: Ecosystem with NPM, Malware, “Shai-Hulud”., WDAP

What you can read next

Guía_DevSecOps_7way_security
DevSecOps Guide: Definition, Key Benefits, and Implementation Steps
migración de infraestructura TI — 5 pasos para modernizarla
Is Your Infrastructure Already Migrated? 5 Steps to Modernize It
Presupuesto_Ciberseguridad_2025_7Way_Security
Cybersecurity Budget 2025: Prioritizing Cyber Resilience

SEARCH

RECENT ARTICLES

  • Proveedor_ciberseguridad_Colombia_7way_security

    Avoid Risks: How to choose your Cybersecurity Provider in Colombia?

    En el sector financiero, donde la información s...
  • protección_de_datos_personales_en_Colombia_y_ciberseguridad_empresarial_7way_security

    Data Protection: Risk Management and Compliance in Colombia

    Every January, is commemorated in Colombia the Day of l...
  • Ciberseguridad_2026_ SOC_e_inteligencia_de_amenazas_7WS

    Cybersecurity 2026: SOC and Threat Intelligence

    The start of 2026 reinforces a reality as cone...
  • migración de infraestructura TI — 5 pasos para modernizarla

    Is Your Infrastructure Already Migrated? 5 Steps to Modernize It

    When the speed of evolution of the threat...
  • Week of Cybersecurity 2025: digital Culture safe

    During the most recent Week of the Cibersegur...

FILES

  • February 2026
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • April 2021

CATEGORIES

  • Blue Teams
  • Cybersecurity
  • Development
  • Secure development
  • Documentation
  • Hardering
  • Threat Intelligence
  • Security monitoring
  • MVP
  • Networking
  • Orange Team
  • Pentesting
  • Penetration testing advanced
  • Network Team
  • Incident Response
  • Defensive Security
  • Startup
  • Technology
  • Threat Intelligence

TOPICS OF INTEREST

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

ASK FOR ADVICE FROM OUR EXPERTS

Please, fill out this form and we will contact you as soon as possible

7way_security_ciberseguridad_de_la_manera_correcta_4

7WAY SECURITY

CIBERSECURITY THE RIGHT WAY.

POLICY FOR THE MANAGEMENT OF PERSONAL DATA

CONTACT us

Bogotá: Cra 49 # 128b 31 Office 201 – (601) 805 24 02

Whatsapp: (+57) 300 726 5036

E-mail: [email protected]

Business Developer: [email protected]

Resumes / CVs [email protected]

 

 

  • GET SOCIAL

© 2022 All rights reserved. 7WAY SECURITY.

TOP
EN
ES