Miasma Worm Compromises Red Hat npm Packages
More than 30 official npm packages under Red Hat's @redhat-cloud-services scope have been compromised in a supply chain attack that bypassed SLSA provenance checks using GitHub Actions OIDC tokens. The malicious packages execute the 'Miasma' credential-stealing worm via obfuscated preinstall scripts to harvest cloud environment credentials, developer environment tokens, and CI/CD secrets.
This compromise represents a major escalation in supply chain attacks by successfully abusing GitHub Actions OIDC tokens to bypass trust frameworks, obtaining legitimate SLSA provenance attestations for malicious packages. It demonstrates that cryptographically signed artifact verification is only as secure as the identity and access management controls guarding the deployment workflows.
* Attackers exploited a compromised developer GitHub account to inject malicious preinstall hooks into package releases.
* The malware bypassed traditional signature-based detection through valid SLSA provenance attestations and heavy obfuscation.
* Targeted exfiltration specifically focused on developer infrastructure keys (Kubernetes secrets, HashiCorp Vault tokens, NPM/GitHub API keys) and cloud platform identities (Azure, GCP).
* Organizations utilizing @redhat-cloud-services packages must assume complete compromise of credentials present in those environments, requiring immediate system-wide rotation and script execution policies like `--ignore-scripts`.
DISCOVERED
2h ago
2026-06-01
PUBLISHED
4h ago
2026-06-01
RELEVANCE
AUTHOR
kurmiashish
