Sophisticated Shai-Hulud Miasma Supply Chain Attack
Score: 8/10

Sophisticated Shai-Hulud Miasma Supply Chain Attack

A highly sophisticated multi-stage npm supply chain campaign targeting Red Hat and AI-related packages uses GitHub as an adaptive C2 to deploy the Shai-Hulud infostealer variant 'Miasma'.

Executive Summary

A series of sophisticated npm supply chain attacks, collectively referred to as the 'Miasma' campaign, has compromised over 88 packages including those from the @redhat-cloud-services, @vapi-ai, and ai-sdk-ollama organizations. The campaign leverages a 6-stage dropper mechanism with heavy obfuscation and encryption, significantly surpassing the complexity of typical npm malware. While the core logic is based on the open-source Shai-Hulud infostealer, analysts suspect a new threat actor (possibly with Chinese linguistic ties) is behind these variants due to the advanced tradecraft observed.

Technically, the malware uses GitHub not just for data hosting but as a functional C2 server, fetching new payloads from commits tagged with the string 'firedalazer'. It features a destructive 'nuke' capability that deletes the victim machine if stolen tokens are revoked. The campaign has affected over 300 GitHub repositories and resulted in approximately 647,000 monthly downloads of malicious package versions. Affected organizations must immediately rotate all cloud, npm, and GitHub credentials.

Key Details

Threat Name

Shai-Hulud Infostealer

Affects

NGINX, Live Server VS Code Extension, React2Shell

Adversary

TeamPCP

Malware/Tools

Shai-Hulud, Miasma

Report Score

8out of 10
Quality Score
Good
IOC Quality8
TTP Details9
Detection Guidance6
Enterprise Relevance10
Clarity & Structure8
Technical Depth9

Sources