TL;DR: AI agents embedded in CI/CD can read repositories, run shell commands, push commits, and reach external services through runner tokens, according to Pillar Security. The governance gap is that static pipeline controls assume text, not runtime agency, so privilege and intent can change after the workflow is parsed.
NHIMG editorial — what this means for AI and NHI governance
Questions worth separating out
Q: How should security teams govern AI agents running inside CI/CD pipelines?
A: Security teams should govern agentic pipelines as live identity systems, not just as build automation.
Q: What breaks when an AI agent can act inside a pipeline without human approval?
A: The assumption that workflow intent is fixed at definition time breaks first.
Q: How do teams know if agentic CI/CD controls are actually working?
A: Look for evidence that the agent cannot reach secrets, cannot mutate protected branches, and cannot execute shell commands outside its declared boundary.
Practitioner guidance
- Inventory every agentic workflow and classify its authority Map which repositories, triggers, runners, and external services can activate an agent, then record the secrets, shell access, and branch permissions each one can reach.
- Separate discovery from runtime enforcement Use discovery to identify agent presence and posture, then pair it with telemetry that detects secret access, outbound calls, shell execution, and protected-branch pushes during live runs.
- Restrict untrusted triggers before they reach agent logic Treat comments, issue text, and markdown as executable influence, not documentation, and require allow-listed events before agent activation.
What's in the full announcement
Pillar Security's full news post covers the operational detail this post intentionally leaves for the source:
- Exact discovery logic for identifying AI agents embedded across source-control and pipeline configurations
- The runtime agent’s detection, alerting, and blocking behavior for secrets, outbound calls, and protected-branch pushes
- How the SAIL findings map to OWASP and MITRE ATLAS categories inside the platform
- Examples of runner telemetry used to classify credential harvesting and gateway-bypassing behavior
👉 Read Pillar Security's announcement on agentic CI/CD discovery and runtime controls →
Agentic CI/CD runners: what IAM teams need to govern now?
Explore further
Agentic CI/CD is not a workflow problem, it is an identity governance problem. Once an AI agent can decide how to use runner access, the pipeline is no longer governed by deterministic script execution alone. Static approvals and repository policies still matter, but they no longer describe the full authority boundary. Practitioners should treat pipeline agents as governed identities with live decision power, not as enhanced automation.
A few things that frame the scale:
- 92% agree governing AI agents is critical to enterprise security, yet only 44% have implemented any policies to do so, according to AI Agents: The New Attack Surface report.
- Only 33% of organisations report their AI agents have accessed inappropriate or sensitive data beyond their intended scope, which shows the problem is already operational, not theoretical.
A question worth separating out:
Q: Who is accountable when an AI agent in CI/CD exposes secrets or pushes unauthorized code?
A: Accountability sits with the organisation operating the pipeline, because the agent is acting inside delegated authority. The practical question is which team owns trigger design, secret scoping, runtime detection, and incident response. Governance frameworks for access control and zero trust both expect a clear control owner, and agentic workflows do not remove that responsibility.
👉 Read our full editorial: Agentic CI/CD exposes a new identity governance gap