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

2026-06-04T14:52:15Z9a7a51ce84f2eeae0aee83ca5c49e341b25fb0649d26c87628deda531dd5fb59
@redhat-cloud-servicesCI/CDGitHubMiasmaRed Hatcloud credentialscredential theftdetectiondeveloper environmentsmalicious npm packagesmitigationnpmpackage republishingpersistencesupply chainworm-like propagation

What happened

Microsoft describes a large-scale npm supply-chain campaign (dubbed “Miasma”) that compromised over 90 versions of @redhat-cloud-services packages to silently infect CI/CD and developer environments. The malicious packages perform preinstall persistence, steal credentials from GitHub, cloud platforms, and local machines, and propagate like a worm by republishing trusted packages. The report includes observed tradecraft, detection opportunities, and mitigation guidance to remediate impacted packages and reduce risk to build pipelines and cloud identities.

Why it matters

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

Evidence and limitations

Source ID
microsoft_security_blog
Record identifier
9a7a51ce84f2eeae0aee83ca5c49e341b25fb0649d26c87628deda531dd5fb59
Enrichment time
2026-06-04T14: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.

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