Shai-Hulud in the Wild: What Security and Incident Response Teams Need to Know
Shai-Hulud is a self-propagating supply chain malware campaign that compromises upstream software maintainers and injects malicious code into trusted NPM packages, GitHub Actions, and other releases, which then execute on developer workstations and CI runners. The malware harvests credentials including NPM publishing keys, GitHub/GitLab tokens, cloud credentials, Kubernetes secrets, Vault tokens, and SSH keys, exfiltrating them via blockchain-based C2 infrastructure to evade traditional domain-based blocking. Stolen credentials become lateral movement paths, allowing attackers to pivot from CI infrastructure to repositories, cloud services, deployment systems, and production environments without traditional network traversal. Incident response is particularly challenging because secret exposure happens at scale, rotation and revocation require coordination across teams, compromised systems may consume their own infected packages internally, and investigation evidence must be preserved before remediation begins. The campaign, active since September 2025, demonstrates a shift toward targeting the trust mechanisms and infrastructure surrounding software development rather than just individual packages.