Subscribe to the Non-Human & AI Identity Journal

When does zero trust fail for AI agents?

Zero Trust fails when authentication is treated as the whole control model. If an agent can log in with broad, long-lived access and still act beyond the intended task, then the environment has verification at the door but weak enforcement inside it. Continuous checks must cover scope, behaviour, and lifecycle, not login alone.

Why Zero Trust Breaks Down for Autonomous AI Agents

zero trust is strongest when it verifies identity at access time and then keeps pressure on scope, context, and ongoing enforcement. It fails when teams stop at authentication and assume the login event is the control. AI agents are different from human users because they can act continuously, chain tools, and pursue goals that expand beyond the original request. That is why static roles and broad bearer credentials are poor fits for agentic workloads.

Current guidance from NIST AI Risk Management Framework and NIST SP 800-207 Zero Trust Architecture points toward continuous verification, but AI agents need more than session checks. They need controls that understand intent, task boundaries, and the difference between approved tool use and unauthorized side effects. NHIMG research on the OWASP NHI Top 10 highlights this shift clearly: agentic risk is not just who is logged in, but what the agent is able to decide and do next.

In practice, many security teams encounter the failure only after an agent has already used valid access to move beyond its intended task, rather than through intentional testing of agent behaviour.

How Agents Need to Be Controlled at Runtime

For AI agents, the right question is not simply “can this identity authenticate?” but “should this workload be allowed to perform this action right now?” That is where intent-based authorisation becomes important. A policy engine can evaluate the task, the target resource, the data sensitivity, and the current business context before granting access. This is a better fit than static RBAC because an autonomous agent does not follow a fixed human job pattern.

Best practice is evolving toward JIT credential issuance, ephemeral secrets, and workload identity. The agent should prove what it is with cryptographic workload identity, then receive short-lived credentials only for the specific task. SPIFFE and SPIRE are useful implementation references for that model, and NHIMG’s Guide to SPIFFE and SPIRE is a practical place to start. When this is paired with policy-as-code, the authorisation decision can happen at request time instead of at provisioning time. For agentic threat modelling, the CSA MAESTRO agentic AI threat modeling framework and the OWASP Agentic AI Top 10 both reinforce this runtime-first approach.

  • Issue credentials per task, not per persona.
  • Bind access to workload identity, not only to a logged-in session.
  • Limit the agent to a narrow toolset and revoke access when the task ends.
  • Log every tool call, data access, and privilege change for auditability.

These controls tend to break down when legacy apps require long-lived service accounts because the agent cannot be cleanly separated from shared credentials.

Where the Boundary Really Fails in Production

Tighter controls often increase orchestration overhead, so organisations must balance agility against containment. That tradeoff becomes most visible in environments where agents operate across multiple tools, workspaces, or vendors. Current guidance suggests that the biggest Zero Trust failure is not the perimeter, but the gap between an approved identity and an unbounded action chain. If an agent can read a prompt, call an internal API, fetch secrets, and then send data elsewhere, a single access grant has effectively become an execution pathway.

NHIMG incident research on the AI LLM hijack breach and the Moltbook AI agent keys breach shows why static secrets are such a weak assumption for autonomous systems. When secrets are reused, broad, or long-lived, one compromise can become persistent agent control. That is also why the NIST AI Risk Management Framework and MITRE ATLAS adversarial AI threat matrix are useful together: one frames governance, the other helps model adversarial behaviour.

There is no universal standard for agent authorisation yet, but the safest pattern is to treat every agent action as a fresh decision, not a continuation of trust from the last one.

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 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 A3 Agentic authorization and tool abuse are central to this Zero Trust failure mode.
CSA MAESTRO MAESTRO models how autonomous agents expand risk through chained actions and tools.
NIST AI RMF AI RMF governance is needed to assign accountability for autonomous agent decisions.

Apply runtime policy checks so each agent action is constrained by task, context, and tool scope.