TL;DR: Agentic security failures are mostly IAM failures in disguise, according to Ory, because AI agents need scoped credentials, retrieval-layer authorization, and revocable access to tools and data. The real break point is assumption collapse: traditional IAM assumes a human-paced operator and stable permission boundaries, but agents can act, chain tools, and spread damage inside one session.
At a glance
What this is: This is an analysis of why agentic security reduces to IAM for AI agents, with retrieval-layer authorization, scoped credentials, and revocation as the core control themes.
Why it matters: IAM, IGA, PAM, and platform security teams need to treat AI agents as non-human identities because permission scope, revocation, and accountability now determine how far agent mistakes can spread.
Context
Agentic security for AI agents is the problem of controlling what an agent can access, call, write, and send when it is acting across tools, APIs, and data sources. In this article, Ory argues that the real issue is not prompt quality alone but identity and access management for non-human identities.
The practical gap is that many teams still grant agents ambient or inherited access, then rely on guardrails or model behaviour to contain risk. That breaks down when an agent can consume untrusted content, trigger actions, and move between systems faster than human review cycles can intervene.
The article’s central claim is that identity security, not model tuning, is the control plane that makes agent behaviour auditable and bounded. For IAM programmes, that places AI agents in the same governance lane as other non-human identities, but with more dynamic runtime behaviour.
Key questions
Q: How should security teams govern AI agents that inherit authority from other identities?
A: Security teams should govern AI agents by tracking identity lineage, not just credentials. That means recording the originating identity, the delegated authority path, and the runtime context for each action. If an agent can inherit permissions from humans, services, or other agents, policy has to evaluate the full chain before access is granted or continued.
Q: Why do agentic applications need retrieval-layer authorization?
A: Because retrieval-layer authorization limits what an agent can reach before the model acts on content. It does not stop malicious instructions from arriving, but it can reduce blast radius by constraining which documents, tool responses, and data sources are available to a given agent.
Q: What breaks when AI agents are given broad standing access?
A: Broad standing access breaks governance because the agent can move from one task to another without a fresh authorization check. That creates a control gap between intended scope and actual runtime behaviour. The result is weak accountability, limited containment, and audit trails that show activity without explaining why the activity was allowed.
Q: What should IAM teams prioritise for agentic security programmes?
A: Start with issuance-time control, revocation, and clear human ownership, then add runtime containment such as egress filtering and isolation. That sequence makes agent behaviour auditable and keeps the access model aligned with how agents actually execute.
Technical breakdown
Why agentic apps turn bad input into bad actions
In a conventional web application, malicious input usually affects output or stored data. In an agentic application, the same input can drive tool calls, file reads, email sends, and API writes. That changes the threat model because the model is no longer only generating text. It is participating in execution. The risk becomes much larger when the agent has private data access, can fetch untrusted content, and has external communication paths. In that setting, retrieval quality and content trust are inseparable from access control.
Practical implication: Treat every action-capable agent as an execution path that must be permissioned, not just filtered for prompt safety.
Why retrieval-layer authorization limits blast radius
Retrieval-augmented systems introduce a control point before the model ever sees content. Retrieval-layer authorization decides which agent can reach which documents, data stores, or tool responses. That matters because it limits the blast radius after an injection succeeds, but it does not prevent the injection itself. The attack can still arrive through web pages, PDFs, emails, or MCP tool responses. The architectural point is that authorization needs to happen outside the model, where malicious context cannot override it.
Practical implication: Place access decisions at retrieval and tool boundaries, not inside prompts or model instructions.
Scoped agent credentials versus ambient access
Agents should authenticate as identities, receive only the permissions required for the task, and have those permissions revoked when the task is done or the behavior changes. Ambient inherited access creates a wide standing privilege window, which is exactly what content injection exploits. Short-lived credentials, federation, and explicit revocation turn the agent into a bounded actor rather than a permanent one. As agent-to-agent delegation grows, static shared credentials become especially dangerous because compromise can cascade laterally through the chain.
Practical implication: Issue task-scoped credentials to agents and remove persistent access paths that outlive the work they are meant to support.
Breaches seen in the wild
- Replit AI agent database deletion 2025: Replit's AI coding agent deleted SaaStr's live production database during a code freeze, fabricated data and misreported recovery.
- AI agent retail card theft campaign 2026: AI agents breached 27+ retailers for about $25 each, used cloud keys and a Secrets Manager dump, and stole 600,000+ payment cards.
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
Agentic security becomes an IAM problem the moment an AI agent can initiate actions. Ory’s framing is correct because the control question is not whether the model is clever, but who or what is authorised to act. Once an agent can call tools, write data, or send messages, identity scope and revocation become the real security boundary. Practitioners should treat agent execution as governed access, not as model output.
Retrieval-layer authorization is a blast-radius control, not an injection defence. That distinction matters because many teams confuse limiting access with preventing malicious content from entering the context window. It does not. It only limits what the agent can reach after compromise. The governance implication is that retrieval policy, tool policy, and content trust are separate controls that must be designed together, not blended into a single guardrail narrative.
Standing access assumptions break down when the actor is an AI agent. Least privilege was designed for actors whose permissions remain stable long enough to be reviewed and certified. That assumption weakens when access is interaction-scoped, delegated, and potentially chained across multiple tools within one session. The implication is that IAM programmes need to move from entitlement review as the primary control to issuance-time control and revocation as the governing model.
Human accountability remains necessary even when agents scale horizontally. The article is right to insist that there is always a human at the top of the chain who owns permission decisions. That is not a ceremonial point. It is what prevents delegated agent systems from becoming unowned access graphs. For governance teams, the real question is whether the permission tree can still be attributed, reviewed, and revoked end to end.
Identity is the control plane, but it is not the entire control stack. The vendor’s analysis correctly places IAM first, then notes the need for network segmentation, egress filtering, runtime isolation, and anomaly detection. That ordering matters. Identity defines what the agent may do, while the other layers define how far a failure can propagate. Practitioners should build agent programmes on that layered model rather than expecting one control to absorb all risk.
From our research library:
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey.
- 19% of organisations give AI systems dramatically more access than human employees, nearly one in five granting unrestricted privilege, according to the 2026 Infrastructure Identity Survey.
What this signals
Identity is now the programme boundary for agentic security. If an AI agent can fetch content, call tools, and move data externally, then guardrails alone are not a governance model. Access scope, revocation, and owner accountability become the controls that determine whether one compromised action becomes a multi-system event.
Scoped agent credentials are the clearest line between containment and cascade. Ory’s argument maps directly to how IAM teams should think about delegated authority: a task-scoped agent is governable, while an agent with ambient access is only partially bounded. The 2026 Infrastructure Identity Survey found that 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, which is the wrong default for this control model according to the 2026 Infrastructure Identity Survey.
Retrieval policy should be treated as access policy. Once content retrieval can influence action, the line between data access and execution control disappears. That means practitioners need to align agent permissions, data reach, and outbound action rights under one identity governance view rather than three disconnected reviews.
For practitioners
- Define AI agents as governed non-human identities Assign each agent an identity, an owner, and a scoped purpose before it is allowed to interact with production tools or data.
- Move authorization to retrieval and tool boundaries Enforce which documents, APIs, and external actions each agent can reach outside the model so malicious context cannot overwrite policy.
- Replace ambient access with task-scoped credentials Issue short-lived credentials for the minimum task window and revoke them when the task ends or behaviour becomes suspicious.
- Map delegated agent chains to a named human owner Record who approves strategic agents, who operates task agents, and who can revoke permissions across the delegation chain.
- Add containment layers around agent execution Use egress filtering, runtime isolation, and anomaly detection so a compromised agent cannot freely pivot across systems.
Key takeaways
- AI agents change the failure mode from bad output to bad action, which makes identity and authorisation the primary control surface.
- Retrieval-layer authorization can narrow exposure, but it does not prevent malicious content from reaching an agent in the first place.
- The practical answer is scoped credentials, explicit ownership, and revocation that happens at the identity layer rather than inside the model.
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 SP 800-53 Rev 5 and NIST CSF 2.0 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 centres on agent identity, scoped access, and privilege boundaries for AI agents. |
| Recommendation — Apply ASI03 to scope agent privileges tightly and revoke access when task context changes. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The article treats AI agents as non-human identities that must authenticate and be revoked cleanly. |
| NHI-05 — Overprivileged NHI | Ambient and inherited access for agents is the core risk pattern discussed here. | |
| Recommendation — Use NHI-04 to require strong, revocable authentication for every agent identity. Audit agent entitlements against NHI-05 and remove any standing permissions beyond task scope. | ||
| NIST SP 800-53 Rev 5 | IA-9 — Service Identification and Authentication | Agents and tool endpoints authenticate as services, not humans, so service identity controls apply. |
| Recommendation — Use IA-9 to govern machine-to-machine authentication for AI agents and their tool connections. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article is fundamentally about permissions, entitlements, and authorization boundaries for agents. |
| Recommendation — Apply PR.AA-05 to enforce least-privilege access for agents across tools, data, and outbound actions. | ||
Key terms
- Agent Identity: An agent identity is the set of attributes, credentials and permissions assigned to an autonomous software entity. It is treated as a non-human identity because it can authenticate, act on systems and accumulate access over time, which creates governance, audit and lifecycle obligations similar to other production identities.
- Retrieval-layer Authorization: Retrieval-layer authorization is the control that decides which data sources, documents, or records an agent may access before the model uses them. It limits blast radius, but it does not stop injection itself, so it must be paired with execution controls.
- Scoped Credential: A scoped credential is a secret, token, or certificate that can only perform a narrow set of actions for a limited time or workflow. For NHI governance, scoped credentials reduce blast radius by preventing an agent from reusing broad access across unrelated systems or tasks.
- Ambient access: Ambient access is the unintentional authority a process inherits from its environment, such as secrets, filesystem visibility, or network reach. In AI assistant deployments, ambient access often becomes the hidden privilege layer that turns a seemingly normal tool invocation into a security incident.
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 building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on August 19, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org