Join our Newsletter — 33% off our NHI Course

Does Miasma show package trust is now the weak link?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: 73 repos were compromised and then disabled, Cloudsmith's case work shows, after the Miasma worm moved through legitimate maintainer access and trusted release workflows. Package trust now needs control at issuance and admission time, not only after publication.

Editorial analysis by NHI Mgmt Group, based on content published by Cloudsmith: “The Miasma worm's path of destruction”.

Key questions

Q: Why do signed package releases still get flagged as risky?

A: Signed package releases can still be risky because a valid signature only proves the package came from a trusted key, not that the code is safe, intended, or uncompromised after signing.

Q: How should security teams govern OIDC and workload tokens in release pipelines?

A: Treat OIDC and other workload tokens as privileged identities with explicit audience, repository, and job restrictions.

Q: How do supply chain worms spread through package registries?

A: Supply chain worms spread when a compromised maintainer, token or build workflow can publish malicious packages through trusted channels.

Practitioner guidance

  • Separate publishing identity from developer identity Give release systems dedicated credentials, narrow scopes and independent approval paths so a developer compromise does not automatically become a publish compromise.
  • Block unreviewed workflow changes from release paths Require protected branches, reviewed workflow diffs and signed changes before any CI job can request OIDC tokens or publish packages.
  • Quarantine newly published dependencies Use admission policies and cooldown windows to hold fresh packages until metadata, provenance and threat intelligence have been checked.

Bottom line: The worm succeeded by abusing legitimate maintainer and workflow identity, which means supply chain compromise is now an identity governance problem as much as a code integrity problem.

Glossary terms: Supply Chain Worm, OIDC token, SLSA Provenance, CI/CD Pipeline Identity

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21330
 

Trusted publishing has become an identity problem, not just a software integrity problem. Miasma shows that when maintainer credentials and workflow tokens are enough to publish, the attacker does not need to break the platform. They only need to inherit the publisher's identity and reuse its normal permissions. That shifts the control question from package reputation to identity lifecycle and workflow trust.

A few things that frame the scale:

  • Breaches involving third parties rose to 48% of all breaches, a 60% increase on the previous year, according to Verizon's 2026 Data Breach Investigations Report.

A question worth separating out:

Q: How should security teams prevent malicious packages from running in build environments?

A: Start by treating package installation as an execution event, not a file download. Verify the exact package name and publisher, route dependencies through controlled registries, pin versions, and block unnecessary lifecycle scripts. Then isolate build jobs and remove broad secrets so a compromised install cannot immediately reach cloud, publishing, or vault credentials.

👉 Read our full editorial: Miasma worm exploits trusted package updates for supply chain attacks



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.