Join our Newsletter — 33% off our NHI Course

Who is accountable when exposed secrets are found in public workflow logs after a supply chain compromise?

Accountability typically sits with the organisation running the affected workflows, because it owns secret handling, repository governance, and rotation procedures. Security and platform teams should inventory impacted actions, identify any workflows that reference secrets, confirm whether logs were exposed, and rotate credentials immediately if exposure is possible or confirmed.

Why This Matters for Security Teams

When exposed secrets appear in public workflow logs after a supply chain compromise, accountability is not just a question of who triggered the incident. It spans the organisation running the workflows, the team that approved the pipeline design, and the owners of any credential lifecycle process that failed to prevent or revoke exposure. The key issue is that workflow logs often outlive the trust assumptions behind them, especially when secrets are passed into build steps, action runners, or automated deployments.

That is why NHI governance treats secrets as operational credentials, not static configuration. The OWASP Non-Human Identity Top 10 frames secret handling as an identity control problem, while NHIMG’s GitHub Action Supply Chain Attack analysis shows how quickly CI/CD exposure can spread once automation is compromised. In practice, many security teams encounter the exposure only after the logs have already been copied, indexed, or reused by attackers.

The operational consequence is that ownership must be explicit before an incident happens. If the workflow system, repository governance, or secret rotation process is unclear, incident response slows down at the exact moment speed matters most.

How It Works in Practice

Accountability usually follows control ownership: the organisation operating the workflow is responsible for the secrets used in it, even if the compromise entered through a third-party dependency or action. That means the immediate response should focus on inventorying affected workflows, identifying every secret referenced by jobs, and determining whether the logs are accessible outside intended boundaries. Under NIST SP 800-53 Rev. 5 Security and Privacy Controls, this maps cleanly to access control, auditability, and incident response responsibilities.

In supply chain cases, the most effective teams treat secret exposure as a credential compromise, not a log hygiene issue. That means:

  • Identify which repositories, workflow runs, and build logs were touched by the compromised action or dependency.
  • Assume any secret printed, echoed, exported, or injected into environment variables may be recoverable.
  • Rotate exposed credentials immediately, and invalidate tokens even if exposure is only suspected.
  • Check whether downstream systems reused the same secret across multiple workflows, environments, or services.
  • Preserve evidence for forensics before deleting logs or re-running jobs, because attribution depends on the execution trail.

NHIMG’s Reviewdog GitHub Action supply chain attack illustrates a recurring failure pattern: once a workflow step is trusted, secret material can be exposed far beyond the original repository boundary. Current guidance suggests using short-lived credentials, scoped tokens, and pre-approved workflow permissions, because static secrets make post-compromise cleanup much harder. These controls tend to break down when a single secret is reused across self-hosted runners, shared CI templates, and release pipelines because revocation cannot be isolated to one path.

Common Variations and Edge Cases

Tighter workflow controls often increase operational overhead, requiring organisations to balance release speed against secret minimisation and revocation discipline. That tradeoff becomes sharper in large CI/CD estates, where many teams share templates, runners, and reusable actions.

There is no universal standard for assigning blame in every supply chain event, but best practice is evolving toward shared accountability with clear operational ownership. Platform teams usually own the guardrails, application teams own the secrets they introduce, and security teams own detection, escalation, and verification. If a third-party action caused the leak, the vendor may be part of the post-incident review, but that does not remove the operator’s duty to rotate credentials and assess impact.

Edge cases matter. Public logs are not the only risk surface, because internal repositories, build artifacts, chat exports, and ticketing systems can also expose secrets. NHIMG research in the State of Secrets Sprawl 2026 found that a large share of incidents now originate outside code repositories, which means accountability must extend beyond source control to the full workflow ecosystem. If the organisation cannot prove where secrets flow, it cannot prove who is accountable for their exposure.

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, OWASP Agentic AI Top 10 and CSA MAESTRO 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.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Secret exposure in workflows is a core NHI credential handling failure.
OWASP Agentic AI Top 10 A2 Autonomous workflows can leak secrets through tool use and log output.
CSA MAESTRO AS-3 Covers supply chain and runtime trust boundaries for AI-enabled automation.
NIST AI RMF AI RMF applies where automation and decisioning affect secret exposure response.
NIST CSF 2.0 PR.AC-4 Least privilege is central when workflows handle secrets and logs.

Map workflow trust boundaries and require verification before secrets reach execution steps.