Preinstall to persistence: Inside the Red Hat npm Miasma credential-stealing campaign

2026-06-03T20:52:15Zea23d399855edd14030861b64356166d196980095635cc00fbb965ca867efb31
@redhat-cloud-servicesCI/CDcredential theftdeveloper environmentsmalwarenpmopen‑source compromisepackage republishingpersistencesecrets exfiltrationsupply-chainworm

What happened

Microsoft describes the “Miasma” npm supply‑chain campaign that compromised over 90 versions of @redhat-cloud-services packages to silently preinstall credential‑stealing malware into developer and CI/CD environments. The malicious code harvests GitHub and cloud credentials and local secrets, achieves persistence, and propagates like a worm by republishing or poisoning trusted packages so downstream projects install the backdoor. Impact includes widespread exposure of CI/CD tokens, cloud credentials, and developer machines; recommended mitigations include removing/replacing infected packages,—

Why it matters

A reviewed impact interpretation has not been published for this record.

Evidence and limitations

Source ID
microsoft_security_blog
Record identifier
ea23d399855edd14030861b64356166d196980095635cc00fbb965ca867efb31
Enrichment time
2026-06-03T20:52:15Z
AI-assisted enrichment
Yes

This record may overlap with other records. Its enrichment can be incomplete or wrong, and machine assistance was used. Validate consequential decisions against the linked source and your own environment.