← 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. Malware News — Don't Revoke That Token Yet: Inside the keyv/cacheable npm Worm, (Wed, Aug 5th)
  7. SOCFortress — The Shai-Hulud NPM Supply Chain Attack: Analysis and Indicators
  8. Malware News — Shai-Hulud Returns: When Software Trust Becomes the Attack Surface
  9. arcticwolf.com — Active Supply Chain Attack on npm Packages (keyv, cacheable): Immediate Mitigation Required
  10. unit42.paloaltonetworks.com — ChainDrop: Inside a Self-Propagating npm Worm
  11. techjacksolutions.com — npm Supply Chain Worm 'Shai-Hulud' Propagates Across 1,684 Package Versions via Credential Theft and SLSA Provenance Abuse
  12. xploitzone.com — ChainDrop NPM Worm SLSA Provenance Bypass Ethereum C2 400 Packages IDE Persistence
  13. Malware News — Tracking Shai-Hulud: Inside the ChainDrop NPM Worm
  14. Unit42
  15. Arcticwolf
  16. cybersecuritydive.com — As data breaches grow costlier, ungoverned AI creates new risks
  17. news.ycombinator.com — Keyv and friends compromised in active Shai-Hulud supply chain attack
  18. bleepingcomputer.com — Massive ChainDrop npm supply-chain attack infects hundreds of packages
  19. Splunk
  20. Research
  21. Expel
  22. Strobes
  23. Securitylabs
  24. Wiz
  25. Trendmicro
  26. Securityboulevard
  27. Thenextweb
  28. Upwind
  29. Finanzwire
  30. Digital
  31. Openai
  32. Sygnia
  33. Xygeni
  34. Stepsecurity
  35. Elastic
  36. Infosecurity-magazine
  37. Secarma
  38. Beazley
  39. Socket
  40. Cycode
  41. Cloudsmith
  42. SecurityWeek — Over 400 NPM Packages Infected in ChainDrop Supply Chain Attack

LINK COPIED TO CLIPBOARD