← 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. sec-tec.co.uk — The Register: ChainDrop worm crawls into npm supply chain, evades standard defenses
  15. Malware News — Shai-Hulud in the Wild: What Security and IR Teams Need to Know
  16. Unit42
  17. Arcticwolf
  18. Threatlocker
  19. cybersecuritydive.com — As data breaches grow costlier, ungoverned AI creates new risks
  20. news.ycombinator.com — Keyv and friends compromised in active Shai-Hulud supply chain attack
  21. bleepingcomputer.com — Massive ChainDrop npm supply-chain attack infects hundreds of packages
  22. Splunk
  23. Research
  24. Expel
  25. Strobes
  26. Securitylabs
  27. Wiz
  28. Trendmicro
  29. Securityboulevard
  30. Thenextweb
  31. Upwind
  32. Finanzwire
  33. Digital
  34. Openai
  35. Sygnia
  36. Xygeni
  37. Stepsecurity
  38. Elastic
  39. Infosecurity-magazine
  40. Secarma
  41. Beazley
  42. Socket
  43. Cycode
  44. Cloudsmith
  45. Veracode
  46. Zscaler
  47. Hivepro
  48. Ampcuscyber
  49. Sangfor
  50. Unit42
  51. Falconfeeds
  52. SecurityWeek — Over 400 NPM Packages Infected in ChainDrop Supply Chain Attack

LINK COPIED TO CLIPBOARD