TL;DR: AI agents are already in production at 91% of organizations, yet only 10% have a strategy for managing them as identities, creating a gap where authenticated actions can still go rogue, according to Aembit’s cited survey and incident analysis. Static IAM models cannot validate agent intent after login, so runtime controls become the decisive layer.
At a glance
What this is: This analysis argues that AI agents must be governed as distinct identities because traditional IAM stops at authentication and does not control what an agent does next.
Why it matters: IAM and NHI teams need runtime authorization, scoped delegation, and auditable agent lifecycles before autonomous systems turn valid credentials into uncontrolled actions.
By the numbers:
- According to a 2025 industry survey of 260 executives, 91% of organizations are already using AI agents in production.
- Only 10% have a strategy for managing those agents as identities.
- 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools.
- Only 5.7% of organisations have full visibility into their service accounts.
👉 Read Aembit’s analysis of AI agent identity security and runtime controls
Context
AI agent identity security is the problem of treating autonomous software as a governable identity, not as an extension of a human session or a generic workload. The central gap is that conventional IAM confirms who authenticated, but it does not reliably govern what an agent is allowed to do after authentication succeeds.
For NHI governance, that gap matters because agents combine machine speed, delegated authority, and broad tool access. Once enterprises allow agents to act across APIs, data stores, and cloud services, the security question shifts from login verification to runtime control, auditability, and revocation.
The article describes a common starting point: strong production use of AI agents, but weak identity strategy. That is now a typical posture in fast-moving deployments, not an edge case.
Key questions
Q: How should security teams govern AI agents that can act on behalf of users?
A: They should treat the agent as a separate identity with its own lifecycle, scope, and audit trail. The control model must preserve who delegated authority, what the agent could access, and when access expires. Human approval alone is not enough once the agent can make runtime decisions and chain tool use across systems.
Q: When does ephemeral credentialing reduce risk for AI agents?
A: Ephemeral credentialing reduces risk when it is tied to narrow task scope, automatic expiry, and continuous policy checks. If the agent can still reach too many systems during the valid window, the trust problem remains. Short-lived access shrinks exposure time, but it does not replace least privilege or intent validation.
Q: What is the difference between workload identity and AI agent identity?
A: Workload identity usually identifies a service or process with predictable behaviour, while AI agent identity must account for autonomous decision-making, delegation, and changing action paths. An agent may choose different tools or data sources at runtime, so governance must cover behaviour, not just authentication. That makes auditability and conditional authorization central.
Q: Why do AI agents create new audit and accountability gaps?
A: Because logs can show that a valid identity acted, but not whether the action matched the operator’s intent. Once an agent can delegate, spawn subagents, or reuse credentials, the chain of responsibility becomes harder to reconstruct. Teams need explicit provenance, not just event logging, to answer who authorised what.
Technical breakdown
Why AI agents break traditional IAM assumptions
Traditional IAM assumes access can be predicted up front and that action traces cleanly back to a single subject. AI agents violate both assumptions because they decide at runtime which tools to call, which data to retrieve, and which subactions to chain. That creates nondeterministic authorization demand: a credential that is too narrow blocks legitimate work, while one that is broad enough to be useful becomes a standing path to misuse. The result is a structural mismatch between static permission models and dynamic agent behaviour.
Practical implication: Design controls around runtime decisions, not only preapproved roles.
Delegation chains and the confused deputy problem
When an agent acts on behalf of a person, the identity model must preserve both the delegator and the executor. If the agent borrows a human token or inherits a long-lived service account, the audit trail collapses and the system cannot prove which entity made the decision. This is the confused deputy problem in identity form: a trusted component uses its own authority in ways the operator never intended. The failure is not authentication alone, but the absence of intent validation after authentication.
Practical implication: Track delegated authority explicitly from user to agent to resource.
Ephemeral credentials and conditional access for agents
Ephemeral credentials reduce exposure time, but they only work when paired with conditional access and narrow scoping. The point is not just short-lived secrets, but credentials whose validity is tied to posture, purpose, and context at the moment of use. That makes access revocable when the agent drifts outside scope or the environment changes. In practice, this is closer to just-in-time authorization than to classic workload access because the policy decision is continuous, not one-time.
Practical implication: Issue short-lived, context-bound credentials and re-evaluate access continuously.
Threat narrative
Attacker objective: Use a trusted agent identity to carry out unauthorized actions while bypassing human intent controls.
- entry via valid credentials used by an AI agent whose operator did not approve the action sequence.
- escalation through trusted identity infrastructure that continued to authorize requests after authentication succeeded.
- impact through unauthorized actions performed by the agent, exposing sensitive data to employees without a legitimate need to know.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- AI LLM hijack breach — attackers used stolen AWS access keys to hijack Anthropic LLM models on Bedrock.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
AI agent identity security is now a runtime governance problem, not a login problem. Authentication alone cannot tell a security team whether an agent is acting within intent, within scope, or within policy. That changes the control objective from proving identity to proving authorised behaviour. Practitioners should treat agent execution as a separate governance layer.
The confused deputy problem becomes more dangerous when the deputy is autonomous. An agent can chain tool calls, retain state, and reuse delegated authority faster than human review can keep up. That makes the blast radius of a single mis-scoped credential larger than in conventional workload environments. Security teams need explicit intent validation and scoped delegation to contain that risk.
Ephemeral credential trust debt is a useful concept for this category. Short-lived secrets reduce persistence, but they do not remove the underlying trust relationship if the agent can still overreach during the credential window. The issue is not only duration, but whether runtime policy constrains each action. Practitioners should measure agent trust by permissible action scope, not token lifetime alone.
Agent inventory is the prerequisite for any credible control model. Most enterprises will not fail because they chose the wrong policy language. They will fail because they cannot see every agent, every delegated path, and every credential in circulation. Governance starts with discovery, ownership, and revocation authority.
Least privilege for agents must be enforced at the action level. A role or token that fits one task may still be excessive if the agent can pivot into adjacent tools or data sets. The right control pattern is narrow, time-bound, and continuously revalidated access. Teams should assume that broad standing privileges will be exploited, even if indirectly.
From our research:
- 97% of NHIs carry excessive privileges, increasing unauthorised access and broadening the attack surface, according to the Ultimate Guide to NHIs.
- 91.6% of secrets remain valid five days after the targeted organisation is notified, showing a critical gap in remediation procedures.
- The 52 NHI Breaches Analysis shows how weak lifecycle controls turn identity exposure into repeated operational incidents.
What this signals
Agentic access is forcing IAM programmes to move from entitlement management to behaviour management. The practical signal is that identity reviews, vaulting, and rotation are no longer enough if the agent can still take unintended actions during an approved session. With 96% of organisations storing secrets outside secrets managers in vulnerable locations, the operational baseline is already too loose for autonomous systems.
Identity blast radius is the metric that will matter most for AI agent governance. Once an agent can call tools, delegate tasks, and retain state, the question becomes how far a single credential can propagate through an environment before containment kicks in. Teams should pair NIST AI Risk Management Framework governance with request-time access decisions and revocation paths.
Security programmes should expect more discovery than centralisation in the near term. The early phase of agentic adoption will expose shadow AI, orphaned service accounts, and unmanaged delegation chains faster than it produces stable policy models. That argues for inventory-led controls first, then policy enforcement, rather than the reverse.
For practitioners
- Inventory every AI agent and delegated identity Create a living register of agents, subagents, and service accounts, including owners, data touchpoints, and credential sources. Reconcile embedded agents in SaaS tools and orchestration frameworks so that no autonomous path remains untracked.
- Replace standing credentials with just-in-time access Issue short-lived credentials only for the exact task window and scope, then revoke them automatically. Use ephemeral access for high-risk actions first, especially where agents reach production data, infrastructure, or regulated systems.
- Bind delegation to explicit audit trails Log who delegated authority, which agent executed the action, what resource was touched, and whether the request stayed within approved scope. Preserve that chain across subagents so investigators can reconstruct intent and escalation paths.
- Apply conditional access at request time Evaluate posture, context, sensitivity, and time of request before each action instead of trusting a one-time login. Deny access when the agent drifts outside approved conditions, even if the credential remains valid.
- Prioritise agent revocation playbooks Define how to disable a compromised agent, rotate associated secrets, and sever inherited delegation quickly. Include containment steps for agents that can spawn subagents or persist state across sessions.
Key takeaways
- AI agents change the identity problem from access confirmation to runtime behaviour control.
- Static credentials, broad delegation, and weak audit chains are the conditions that let valid agents act outside intent.
- Security teams should inventory agents, shorten credential lifetimes, and enforce request-time policy before scale increases the blast radius.
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 and OWASP Agentic AI Top 10 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 Non-Human Identity Top 10 | NHI-03 | Agent identity depends on limiting privilege and avoiding standing access. |
| OWASP Agentic AI Top 10 | Agent goal hijacking and tool misuse align with runtime agent abuse risks. | |
| NIST AI RMF | AI RMF governance fits autonomous decision-making and accountability requirements. |
Map agent credentials to NHI-03 and remove standing privileges wherever short-lived access is feasible.
Key terms
- AI Agent Identity: An AI agent identity is the governable identity assigned to autonomous software that can take actions, call tools, and access data on its own or on behalf of a user. The identity must cover authentication, authorization, delegation, audit, and revocation across the full lifecycle.
- Confused Deputy Problem: The confused deputy problem occurs when a trusted system uses its own authority in ways the operator did not intend. In AI agent environments, it appears when a valid agent credential is allowed to perform actions that satisfy authentication but violate human intent or policy.
- Scoped Delegation: Scoped delegation is the practice of giving an agent time-bound authority limited to a specific task, resource, or condition. It prevents inherited access from becoming permanent and preserves accountability by recording who granted authority, what was granted, and when it expires.
- Conditional Access: Conditional access is a policy model that decides whether an action should proceed based on context such as posture, resource sensitivity, timing, and scope. For AI agents, it must be evaluated at request time so a valid credential does not automatically equal permitted behaviour.
Deepen your knowledge
AI agent identity security and scoped delegation are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building controls for autonomous systems from the same starting point, it is worth exploring.
This post draws on content published by Aembit: AI Agent Identity Security: Why It Matters and How to Get It Right. Read the original.
Published by the NHIMG editorial team on 2025-12-16.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org