← Back to Daily Briefing

The "Shai-Hulud" campaign (specifically the "ChainDrop" wave) is a sophisticated supply chain attack targeting the npm ecosystem via hijacked maintainer accounts for widely used packages like keyv and cacheable. Utilizing malicious npm preinstall scripts, the threat actor deploys a self-propagating "Mini Shai-Hulud" worm and an infostealer. The attack leverages OIDC provenance to bypass integrity checks and employs obfuscated JavaScript files, such as math_init.js and Math_Symbol.js, to exfiltrate AWS credentials, GitHub tokens, Kubernetes secrets, and CI/CD environment variables. With over 440 compromised packages and 2 billion monthly downloads at risk, the campaign facilitates deep transitive infection across developer workstations and cloud infrastructure.

  • Threat Campaign Overview: Shai-Hulud and ChainDrop

    • Sophisticated supply chain infiltration targeting the npm registry through account takeovers of high-profile maintainers.
    • Identified as a dual-threat mechanism: a high-speed infostealer paired with a "Mini Shai-Hulud" self-propagating worm.
    • Achieved widespread distribution by hijacking critical dependency nodes, most notably keyv and cacheable.
  • Attack Mechanics: Execution & Evasion

    • Triggers malicious payloads during the installation phase using npm preinstall lifecycle scripts.
    • Employs highly obfuscated JavaScript payloads, specifically math_init.js and Math_Symbol.js, to evade static analysis.
    • Utilizes the Bun runtime during the ChainDrop wave to execute malicious logic.
    • Bypasses modern security integrity checks by abusing OIDC (OpenID Connect) provenance to present malicious updates as legitimate.
  • Technical Impact: Data Exfiltration & Propagation

    • Targets high-value secrets including AWS credentials, GitHub tokens, Kubernetes secrets, and SSH keys.
    • Facilitates lateral movement across the dependency tree via transitive infection (e.g., affecting projects via ESLint).
    • Aims to compromise developer workstations, CI/CD build pipelines, and cloud-native production environments.
  • Scale & Exposure: Ecosystem Blast Radius

    • Direct exposure involves more than 440 compromised packages within the npm registry.
    • Creates an enormous exposure surface involving an estimated 2 billion monthly package downloads.
    • Demonstrates systemic risk due to the deep, nested nature of modern JavaScript dependency trees and automated builds.
  • Defensive Actions & Investigation

    • Audit dependency manifests for identified malicious filenames (math_init.js, Math_Symbol.js) and associated SHA-256 hashes.
    • Monitor CI/CD and automated build environments for unauthorized or anomalous npm lifecycle script execution.
    • Enforce strict secrets management and rotate all potentially exposed credentials, particularly cloud and CI/CD environment variables.

Related posts

  1. ox.security — A Massive Shai-Hulud Campaign Hits npm: +440 Packages Compromised, Over 2B Monthly Downloads
  2. Hack Noon — Upwind First to Detect One of the Most Deceptive npm Compromises Yet Recorded
  3. phoenix.security — Mini Shai-Hulud keyv/cacheable npm Compromise (No CVE Assigned): Self-Propagating Worm Steals CI, Cloud, and Developer Credentials
  4. techjacksolutions.com — npm / Open Source Ecosystem (Shai-Hulud Supply Chain Worm) Vulnerability Rollup (2026-08-04)
  5. Microsoft Security Blog — ChainDrop supply chain compromise: Anatomy of a self-propagating worm
  6. SOCFortress — The Shai-Hulud NPM Supply Chain Attack: Analysis and Indicators
  7. Malware News — Shai-Hulud Returns: When Software Trust Becomes the Attack Surface
  8. arcticwolf.com — Active Supply Chain Attack on npm Packages (keyv, cacheable): Immediate Mitigation Required
  9. unit42.paloaltonetworks.com — ChainDrop: Inside a Self-Propagating npm Worm
  10. techjacksolutions.com — npm Supply Chain Worm 'Shai-Hulud' Propagates Across 1,684 Package Versions via Credential Theft and SLSA Provenance Abuse
  11. Malware News — Tracking Shai-Hulud: Inside the ChainDrop NPM Worm
  12. Unit42
  13. Arcticwolf
  14. cybersecuritydive.com — As data breaches grow costlier, ungoverned AI creates new risks
  15. news.ycombinator.com — Keyv and friends compromised in active Shai-Hulud supply chain attack
  16. bleepingcomputer.com — Massive ChainDrop npm supply-chain attack infects hundreds of packages
  17. Splunk
  18. Research
  19. Expel
  20. Strobes
  21. Securitylabs
  22. Wiz
  23. Trendmicro
  24. Securityboulevard
  25. Thenextweb
  26. Upwind
  27. Finanzwire
  28. Digital
  29. Openai
  30. Sygnia
  31. Xygeni
  32. Stepsecurity
  33. Elastic
  34. Infosecurity-magazine
  35. Secarma
  36. Beazley
  37. Socket
  38. Cycode
  39. Cloudsmith
  40. SecurityWeek — Over 400 NPM Packages Infected in ChainDrop Supply Chain Attack

LINK COPIED TO CLIPBOARD