TL;DR: AI agent security is creating a language trap around “intent,” but Kontext argues runtime authorization should evaluate whether the next tool call, API request, credential request, or data access is safe under current identity, task, and session context. The practical control is bounded execution, not mind-reading.
At a glance
What this is: This analysis argues that AI agent security needs runtime authorization, not vague “intent verification,” because the meaningful decision is whether the next action is safe under current identity and session context.
Why it matters: It matters because IAM teams now have to govern delegated tool use, dynamic permissions, and approval boundaries for agents that can act in ways static access models did not anticipate.
Context
AI agent security has a vocabulary problem: “intent” is being used to describe several different things at once, from task goals and system prompts to permissions and observed behaviour. That blur makes it hard to define a boundary that security teams can actually enforce, especially when the actor is making tool choices at runtime.
The governance issue is not whether the agent is generally useful, but whether the next action should be allowed under the current identity, credential, resource, data-flow, and session context. That makes the core problem one of runtime authorisation for AI agent authorisation.
Key questions
Q: What is the difference between identity verification and runtime authority for AI agents?
A: Identity verification establishes that the agent is legitimate and has an approved caller. Runtime authority determines whether a specific action should happen now, given the current task, content, and destination. For AI agents, the second question is often more important because intent can drift after authentication.
Q: How do security teams know when an AI agent call should be escalated?
A: Escalate when the call departs from the agent's normal resource, timing, or action pattern in a way that raises risk. A read in the same schema may be routine, but a write to a production database, a cross-domain resource jump, or a call made with stale human entitlements should trigger review.
Q: What breaks when AI agents rely on static data residency controls?
A: Static controls break because they assume data follows a declared path, while AI agents choose tools, retrieve content, and delegate work at runtime. That creates unplanned processor changes, border crossings, and legal-basis mismatches. The practical failure is not just noncompliance. It is the inability to prove where personal data actually went when regulators ask for evidence.
Q: Who is accountable when an AI agent takes an unsafe action?
A: Accountability should sit with the business owner of the agent, the team that provisioned the access, and the control owners responsible for monitoring and revocation. If no one can answer who approved the identity, the scope, and the oversight model, the governance framework is not complete enough for production.
Technical breakdown
Why intent is a weak security primitive
“Intent” is attractive because it sounds like a single missing layer, but in practice it conflates policy, evidence, inference, and behaviour. A user's goal, an agent's plan, a system prompt, and a monitoring model's expectation are not interchangeable. Security controls need observable inputs and repeatable decisions, while intent often lives partly in unobservable internal reasoning. That makes “intent verification” a shaky claim for enforcement. The safer framing is to treat intent as a shorthand for safety-relevant context, then decide whether the next action should be allowed, narrowed, escalated, or denied. See the Authorisation Models Guide.
Practical implication: Use observable context, not inferred intent, as the basis for runtime decisions.
How runtime authorization evaluates the next action
Runtime authorization is a real-time decision layer that evaluates a proposed tool call, API request, credential request, or data access before it executes. It asks whether the action is safe enough under the current identity, task, credential, resource, and session context. That is different from proving correctness, which would require knowing whether the agent solved the task properly. A useful runtime control can score scope, resource sensitivity, credential breadth, data provenance, action type, sequence history, and blast radius, then route the action to allow, restrict, escalate, or deny. See the AI Agent Authorisation Guide.
Practical implication: Design policy to gate execution, not to infer whether the model got the task right.
Why deterministic policy still matters for agents
Agent systems do not eliminate classic access control. They make the conditions around access more dynamic, which means deterministic policy still has to define the hard boundary. Real-time scoring can handle uncertain cases, but it should sit on top of a firm policy core that controls privileged actions, scoped credentials, and approval thresholds. Techniques such as UEBA, taint analysis, and sequence modelling can help assess risk, but they are review aids, not substitutes for policy. LLMs belong in the review loop, where they can summarise evidence or flag anomalies, not as the primary control deciding every action in isolation.
Practical implication: Keep a deterministic policy layer in front of agent actions and use models only for triage and review.
Threat narrative
Attacker objective: The objective is to turn legitimate delegated access into unsafe execution that produces damage the original user never explicitly authorised.
- Entry occurs when an AI agent receives delegated authority to use tools, APIs, credentials, or production data on a user's behalf.
- Escalation happens when the agent interprets a broad task too far, requests broader access, or selects a risky action path that was not explicitly bounded.
- Impact follows when a valid credential or approved session is used to execute an unsafe action, delete data, export sensitive records, or alter production systems.
Breaches seen in the wild
- Hugging Face Spaces breach 2024: Unauthorised access to Hugging Face Spaces may have exposed secrets users stored for AI apps; tokens were revoked and org tokens removed.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Intent is not a security primitive: The article is right to separate inferred intent from enforceable authorization. Security teams cannot rely on a model's internal reasoning, because the observable boundary is the action that is about to execute, not the story the model tells about why. The implication is that agent governance must be built around decision points, not mental-state claims.
Runtime authorization shifts the control plane from identity to action: That shift matters because the same identity can be safe for one tool call and unsafe for the next. Static permissions do not disappear, but they stop being the whole answer once the actor is choosing actions at runtime. Practitioners should read this as a move from who may act to whether this specific action should execute now.
Policy must control blast radius before it controls behaviour: The strongest security value here is not prediction, it is containment. A system that can narrow scope, require escalation, or deny a high-risk action before execution reduces damage even when it cannot explain the agent's reasoning. That is the right model for delegated AI action in production.
Delegated authority creates an authorisation gap that classic IAM does not fully cover: A user can be legitimate, a credential can be valid, and the next action can still be unsafe because the task boundary is looser than the permission boundary. This is exactly where authorisation models need to be applied to agent behaviour rather than only to human roles. The implication is that organisations must treat runtime context as part of the access decision, not an afterthought.
Read next: AI Agent Authorisation Guide
What this signals
Agent governance will move toward action-level controls: Programmes that still think in terms of static roles will struggle as more software systems can choose tools at runtime. The practical shift is from provisioning access once to evaluating each high-risk action in context.
Runtime context becomes part of the access decision: The next generation of identity controls will treat delegated task scope, credential breadth, resource sensitivity, and session history as first-class inputs. That is a stronger model for AI agents than any claim that a system can reliably verify “intent.”
Authorisation models will matter more, not less: As agentic systems expand, the question is no longer whether access exists, but how finely it can be scoped at the moment of execution. Teams that already understand authorisation models will be better positioned to govern agent behaviour without pretending that static permissions are sufficient.
For practitioners
- Define the agent decision boundary Specify which tool calls, API requests, credential requests, and data accesses an agent may attempt without review, and which ones must always escalate.
- Separate correctness from safety checks Do not ask runtime controls to prove the agent solved the task properly. Make them decide whether the next action is safe enough to execute under current context.
- Use deterministic policy for hard boundaries Keep privileged actions, high-sensitivity data, and broad credential use behind explicit rules, then let risk scoring handle only the uncertain middle.
- Route ambiguous cases to human review Escalate actions that are not obviously forbidden but still carry high blast radius, especially when the agent requests broader access than the task appears to need.
Key takeaways
- AI agent security is less about reading intent and more about deciding whether the next action is safe enough to execute under current context.
- Static access control remains necessary, but it is no longer sufficient when an actor can choose tools and revise plans at runtime.
- The strongest governance pattern is to combine deterministic policy, real-time risk scoring, and escalation paths that limit blast radius.
Related NHI Mgmt Group resources: AI Agent Authorisation Guide · Authorisation Models Guide · NHI Lifecycle Management Guide · Hugging Face Spaces breach 2024
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 OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article is about delegated agent authority, runtime access, and unsafe use of valid credentials. |
| Recommendation — Apply ASI03 to scope agent privileges tightly and review every high-risk action path before execution. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The article centres on runtime use of credentials and whether an agent should be trusted for the next action. |
| Recommendation — Treat agent-issued requests as NHI authentication events and enforce strict credential boundaries at runtime. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The piece is fundamentally about who can do what, to what, and when in an agentic context. |
| Recommendation — Use PR.AA-05 to evaluate whether each agent action is authorised under current identity and session context. | ||
| NIST Zero Trust (SP 800-207) | least privilege and continuous verification — Least privilege and continuous verification | Runtime authorization for agents maps directly to continuous verification under zero trust. |
| Recommendation — Continuously verify agent context and deny actions that exceed current least-privilege scope. | ||
Key terms
- Runtime Authorisation: Runtime authorisation is the practice of deciding access while a task is in progress, rather than only at provisioning time. It matters for NHIs because credentials and entitlements can change risk mid-session, especially when automation or AI agents interact with sensitive systems.
- Safety Evaluation: Safety evaluation is the structured assessment of whether a model behaves acceptably under defined conditions. It combines benchmark testing, adversarial prompts, and policy checks to show where the model remains unsafe or unreliable.
- Deterministic Policy Engine: A policy decision component that evaluates rules consistently rather than relying on ad hoc human judgment. For agentic authorization, it provides repeatable decisions, but it still depends on accurate subject context and well-defined action semantics.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org