TL;DR: Supply chain worms are succeeding because compromised maintainer credentials, CI/CD trust, and automated package consumption let malicious code spread before detection and revocation can catch up, according to Semgrep. The real control gap is not just faster response, but reducing the standing trust that lets one compromised NHI or workflow propagate across an ecosystem.
Editorial analysis by NHI Mgmt Group, based on content published by Semgrep: “Why Do Worms Work”.
By the numbers:
- 59% of compromised machines in a major 2025 supply chain attack were CI/CD runners rather than personal workstations, according to the State of Secrets Sprawl 2026.
Key questions
Q: What breaks when a package maintainer account is compromised?
A: When a maintainer account is compromised, the attacker inherits trusted publishing rights and can turn legitimate release channels into malware distribution paths.
Q: Why do phishing-resistant MFA and token rotation only partially reduce supply chain worm risk?
A: They reduce the chance that a stolen credential keeps working, but they do not remove the ecosystem conditions that let a worm spread.
Q: What are the signs that a CI/CD supply chain compromise is already underway?
A: Common warning signs include new outbound connections from runners, secrets appearing in logs, unexpected use of trusted domains, and workflow behavior that no longer matches the established baseline.
Practitioner guidance
- Tighten workflow trust boundaries Remove broad secrets access from fork-triggered workflows, especially those using pull_request_target, and separate build-only execution from publish-capable paths.
- Constrain package publish identities Use short-lived, OIDC-bound publishing credentials and limit each identity to the smallest possible package set so one stolen token cannot spread laterally across a maintainer portfolio.
- Treat caches and artifacts as privileged inputs Assume shared caches, build artifacts, and dependency downloads can be poisoned, then require provenance checks before trusted workflows consume them.
Bottom line: Supply chain worms keep succeeding because trust in maintainers, workflows, and registries still outlasts the compromise of the identity that controls them.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Supply chain worms expose a standing-trust problem, not just a malware problem. The recurring failure is that publishing rights, workflow permissions, and registry trust remain valid long enough for an attacker to use them multiple times before revocation catches up. In an NHI lens, those credentials behave like unmanaged service identities with broad blast radius. Practitioners should stop describing this only as a faster detection problem and start treating it as a lifecycle control failure.
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 teams respond when a supply chain worm spreads through trusted packages?
A: Contain the publishing surface first. Revoke exposed tokens, rotate credentials, review repository creation and workflow changes, and roll back to known-clean package versions. Then scope the blast radius across developer environments, CI/CD systems, and any cloud accounts that shared the same secrets.
👉 Read our full editorial: Supply chain worms are exposing a structural NHI governance gap