The accountable owner is the team that controls the runner, the package allowance, and the secrets issued to the job. Security, platform, and engineering teams share responsibility, but the remediation decision sits with the system owner. Control frameworks such as NIST SP 800-53 and CIS Controls both expect explicit access governance and change control.
Why This Matters for Security Teams
A ci runner that leaks credentials after a test-tool vulnerability is not just a build failure. It is an identity and trust failure that can expose production secrets, cloud tokens, signing keys, and downstream automation rights in one blast radius. The accountable owner is the team operating the runner and approving what it may access, but the control problem spans platform, security, and application engineering. NIST SP 800-53 Rev. 5 makes this explicit through access governance and change control expectations, while OWASP’s OWASP Non-Human Identity Top 10 treats machine credential handling as a first-class risk, not an edge case.
The practical mistake is assuming the test tool is the only root cause. In reality, the leak often becomes possible because the runner had too much standing access, the secret was valid for too long, or the job could reach systems it never needed. NHIMG’s Guide to the Secret Sprawl Challenge shows how unmanaged secrets multiply exposure, and the same pattern appears in CI pipelines when ownership is vague. In practice, many security teams encounter the failure only after an attacker has already used the leaked credential, rather than through intentional review of runner permissions.
How It Works in Practice
Accountability starts with control, not blame. The team that owns the CI runner decides the runner image, the package allowance, the secret injection method, and the revocation path. If a vulnerable test tool can read environment variables, mounted files, or build metadata, then the runner design has already failed its segregation duty. That is why current guidance suggests treating runners as short-lived workloads with tightly scoped workload identity, not as generic servers. Where possible, use per-job credentials, short TTLs, and automatic revocation after task completion.
For implementation, the best practice is to separate three questions: who may start the job, what the job may access, and what happens when the tool misbehaves. A useful operating model is:
- Issue only the minimum secret needed for the specific job.
- Bind the credential to the runner workload and job context, not to a shared human-owned account.
- Rotate or revoke secrets immediately when a vulnerable package is detected.
- Log access, package versions, and secret retrieval events so incident response can trace exposure quickly.
That model aligns with NIST SP 800-53 Rev 5 Security and Privacy Controls and the CIS Controls v8, which both expect access governance, inventory, and controlled change. NHIMG’s 52 NHI Breaches Analysis also reinforces a recurring pattern: the identity that leaks is usually not the one people were watching, but the one embedded in automation. These controls tend to break down when runners are shared across teams because secret scope, approval authority, and revocation ownership become ambiguous.
Common Variations and Edge Cases
Tighter CI credential controls often increase pipeline friction, so organisations must balance delivery speed against the risk of silent secret exposure. That tradeoff becomes sharper in monorepos, ephemeral preview environments, and highly parallel test farms, where one runner image may serve many applications. There is no universal standard for this yet, but current guidance suggests that shared runners should never inherit broad, long-lived secrets simply for convenience.
One common edge case is third-party test tools that request more access than they truly need. Another is a compromised dependency that only becomes dangerous after the runner fetches secrets into the process environment. In those cases, the accountable owner is still the system owner of the runner and secret issuance path, even if the vulnerable package was introduced by a separate team. The response should be to reduce the job’s trust boundary, not to treat the issue as a one-off vendor bug. For broader context on credential abuse patterns, the LLMjacking: How Attackers Hijack AI Using Compromised NHIs research shows how quickly exposed machine credentials can be operationalised by attackers, and Anthropic’s AI-orchestrated cyber espionage report underscores how automation can amplify initial access. The hard case is not proving the leak occurred; it is proving which team had authority to limit the blast radius before it did.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0, NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 | Covers weak handling of machine credentials in automation. |
| NIST CSF 2.0 | PR.AC-4 | Addresses access permissions for non-human identities and systems. |
| NIST AI RMF | Useful for governance of autonomous build and test automation. | |
| CSA MAESTRO | GA-03 | Relevant to securing agentic or autonomous automation workflows. |
| NIST Zero Trust (SP 800-207) | SC-7 | Supports runtime segmentation and limiting lateral movement from runners. |
Assign clear ownership for automated systems and define escalation and accountability.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 21, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org