Subscribe to the Non-Human & AI Identity Journal
Home FAQ Threats, Abuse & Incident Response Which frameworks are most relevant when managing self-propagating…
Threats, Abuse & Incident Response

Which frameworks are most relevant when managing self-propagating supply chain worms?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated August 2, 2026 Domain: Threats, Abuse & Incident Response

MITRE ATT&CK helps map credential access, persistence, and lateral movement, while OWASP Non-Human Identity Top 10 highlights the governance of publishing tokens and registry credentials. Teams should align controls to both attack behaviour and identity lifecycle, not to code review alone.

Why This Matters for Security Teams

Self-propagating supply chain worms change the question from “Was a secret exposed?” to “What can the worm do once it gets one credential?” That is why frameworks that cover attacker behaviour and identity governance both matter. OWASP Non-Human Identity Top 10 is relevant because worm campaigns often spread through publishing tokens, package registry credentials, CI/CD secrets, and other machine identities. Miasma and Hades Supply Chain Worms shows why this is not a theoretical risk: a single foothold can cascade across repositories, runners, and package ecosystems faster than manual response can keep up.

The security mistake is to treat this as a code quality problem alone. Code review can catch malicious changes, but it does not revoke a leaked token, constrain lateral movement, or stop an authenticated workload from propagating further. The State of Secrets Sprawl 2026 reports that 64% of valid secrets leaked in 2022 are still valid and exploitable today, which underscores why detection without revocation is incomplete. In practice, many security teams encounter the worm only after the first registry publish, runner compromise, or token replay has already spread the blast radius.

How It Works in Practice

The most useful framework pairings are usually NIST Cybersecurity Framework 2.0 for outcome-based governance, OWASP Non-Human Identity Top 10 for secret and token lifecycle failure modes, and Top 10 NHI Issues for operational prioritisation across discovery, rotation, and privilege containment. Together, these frameworks help teams map both the attack path and the control path.

For a worm scenario, the practical controls are straightforward even if implementation is not:

  • Inventory all non-human identities used in CI/CD, package publishing, signing, and automation.
  • Remove long-lived publishing tokens where possible and replace them with short-lived, task-scoped credentials.
  • Bind registry, Git, and cloud permissions to least privilege so a single secret cannot span ecosystems.
  • Monitor for unusual self-replication patterns, such as recursive publishing, mass dependency edits, or repeated outbound credential use.
  • Automate revocation and rotation, because manual triage is too slow once propagation begins.

MITRE ATT&CK remains important for mapping the worm’s behaviour, but it should be read alongside identity controls, not instead of them. NIST CSF helps structure detection, response, and recovery, while OWASP NHI language keeps focus on the credential lifecycle that worms exploit. The critical operating assumption is that any authenticated automation path may be abused after initial compromise. These controls tend to break down in multi-tenant build systems with shared runners and inherited secrets because one compromised execution environment can expose credentials across many projects.

Common Variations and Edge Cases

Tighter secret controls often increase pipeline friction, requiring organisations to balance release velocity against containment. That tradeoff matters because self-propagating worms exploit friction gaps, especially where developers rely on cached credentials, shared service accounts, or registry-wide tokens. Current guidance suggests treating package publishing, artifact signing, and CI/CD execution as separate trust zones, but there is no universal standard for every ecosystem yet.

Edge cases appear when the worm does not begin in source code. It may start in a chat tool, ticketing system, or build log, then move into the delivery pipeline. That is why the identity scope must include secrets outside repositories, not just commits. In higher-risk environments, Ultimate Guide to NHIs - Lifecycle Processes for Managing NHIs is useful for designing lifecycle governance, while 52 NHI Breaches Analysis is a reminder that weak lifecycle discipline is repeatedly abused in real incidents.

For teams handling package ecosystems such as npm or PyPI, the hardest problem is not visibility alone, but revocation at speed. If a worm can mint or reuse credentials faster than the response team can invalidate them, the control set has already failed. That is where framework selection should stay pragmatic: use ATT&CK for attack mapping, OWASP NHI for lifecycle control, and NIST CSF for governance and recovery, then validate each control against the specific publishing path in use.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, CSA MAESTRO and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10A1Autonomous propagation and tool abuse mirror agentic misuse patterns.
CSA MAESTROCovers agent-like orchestration, trust boundaries, and runtime governance.
NIST AI RMFSupports governance, measurement, and monitoring for adaptive automated systems.
OWASP Non-Human Identity Top 10NHI-03Secret rotation and lifecycle control are central to worm spread prevention.
NIST CSF 2.0PR.AC-4Least-privilege access limits what compromised publishing identities can do.

Map CI/CD and registry identities to least-privilege access reviews and segmentation.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org