Shai-Hulud
Worm · Linux, SaaS, Windows
What is Shai-Hulud?
Shai-Hulud is a supply chain worm that targets Linux, Windows, and software as a service environments. It spreads by exploiting dependencies within automated software development pipelines. Once the worm infiltrates a system, it poisons the supply chain by publishing malicious code packages. The primary objective of this malware is to steal sensitive credentials and access tokens from compromised repository accounts. It then sends this stolen information to servers controlled by attackers by using encoded workflows within automated software building tools.
Software developers and organizations that manage code repositories are the primary targets for this threat. To reduce the risk of infection, users should implement strict access controls and conduct regular audits of all dependencies used in their development pipelines. It is also important to monitor repository activity for unauthorized changes and to rotate access tokens frequently. Keeping software development tools updated helps prevent the exploitation of known vulnerabilities.
Summary written with AI assistance from the sources listed on this page. Check the original sources for full technical details.
From MITRE ATT&CK
Shai-Hulud is a supply chain worm, first reported in September 2025, that spreads through code repositories, including GitHub and NPM packages. It exploits CI/CD pipeline dependencies to propagate to victims and poisons the supply chain by publishing malicious packages. Once inside a victim environment, Shai-Hulud steals credentials and access tokens from compromised repository accounts and exfiltrates them to attacker-controlled servers via encoded GitHub Actions workflows.
How to protect yourself
Keep the operating system and applications updated, run a real-time antivirus, and be careful with email attachments and downloads. If you think a device is infected, follow our guide on removing malware and learn more about worm.
Techniques used
33 ATT&CK techniques, grouped by attack stage.
Reconnaissance
Code Repositories T1593.003Resource Development
Upload Malware T1608.001Execution
JavaScript T1059.007Poisoned Pipeline Execution T1677PowerShell T1059.001Unix Shell T1059.004Credential Access
Cloud Instance Metadata API T1552.005Cloud Secrets Management Stores T1555.006Credentials In Files T1552.001Steal Application Access Token T1528Discovery
System Information Discovery T1082Lateral Movement
Application Access Token T1550.001Exfiltration
Exfiltration Over C2 Channel T1041Exfiltration Over Webhook T1567.004Exfiltration to Code Repository T1567.001Impact
Data Destruction T1485Questions about Shai-Hulud
What is Shai-Hulud?
Shai-Hulud is a worm that targets Linux, SaaS, Windows. Shai-Hulud is a supply chain worm, first reported in September 2025, that spreads through code repositories, including GitHub and NPM packages. It exploits CI/CD pipeline dependencies to propagate to victims and poisons the supply chain by publishing malicious packages. Once inside a victim environm
How do I remove Shai-Hulud?
Disconnect the device from the network, run a full scan with an up-to-date antivirus and a second-opinion scanner, then change your passwords from a clean device. For servers and business networks, involve your IT or incident response team, because this kind of malware is often part of a wider intrusion.