TL;DR: A 2026 study of 400 IT and security leaders found that 67% suspect AI agents have accessed data beyond their intended scope, while detection takes 14 hours on average and more than $1 million has already been spent managing fallout, according to Akeyless. Static credentials and human-paced IAM controls are no match for runtime agent behaviour, making governance the real control problem.
At a glance
What this is: Akeyless’ 2026 study says AI agent identity security is lagging behind deployment, with most organisations already seeing scope creep, delayed detection, and expensive remediation.
Why it matters: For IAM teams, the issue is not just AI adoption but whether existing controls can govern non-human identities that act continuously, use real credentials, and move faster than human review cycles.
By the numbers:
- 67% suspect AI agents have already accessed data beyond their intended scope
- It takes an average of 14 hours to detect a compromised AI agent
- Only 7% believe their controls would prevent a compromised agent from operating
👉 Read Akeyless’ report on AI agent identity security findings
Context
AI agent identity security is the problem of governing software entities that can act on their own once they have credentials, access, and a place in enterprise workflows. The central gap in this article is that many organisations are still applying human identity control models to systems that operate continuously, use persistent credentials, and make decisions at runtime.
That mismatch matters because AI agents do not wait for human approval cycles to complete before acting. When access is valid but not tightly bounded in real time, the result is not just unauthorized access but authorised access that drifts beyond intent, creating a governance problem for IAM, PAM, and NHI programmes alike.
Key questions
Q: What breaks when AI agents keep long-lived credentials?
A: Long-lived credentials let AI agents keep operating after the moment of risk has passed, which makes containment and accountability much harder. The control failure is not only exposure, but the fact that valid access can continue to be used while teams are still discovering the problem. That is why ephemeral identity and immediate revocation matter.
Q: Why do AI agents complicate least privilege in practice?
A: AI agents complicate least privilege because their actions are not fully known when access is assigned. If the system can choose tools or traverse workflows at runtime, the entitlement set can be broader than the intended task. Teams should measure real reachable systems and data paths, not just the assigned role or token.
Q: How do security teams know if AI agent controls are working?
A: Controls are working only if they can stop or narrow agent behaviour while the session is still active. If the first reliable sign of failure is a post-incident audit or a delayed alert, the programme is relying on detection after exposure, not prevention at runtime. Session-level containment is the practical benchmark.
Q: Who is accountable when a compromised AI agent accesses data outside its scope?
A: Accountability sits with the teams that issued the identity, defined the access boundaries, and approved the operational workflow. AI agent incidents are usually governance failures, not just technical failures, because they reveal where ownership, policy, and review were split across tools instead of tied to one control model.
Technical breakdown
Why static AI agent credentials create runtime exposure
The article points to persistent credentials such as API keys and static secrets as the main operational weakness. Once an AI agent is given a long-lived identity, the security problem shifts from initial authentication to runtime control of what that identity can do, when it can do it, and how far its actions can propagate. In practice, broad permissions attached to a static identity let a compromised or misconfigured agent continue operating inside valid trust boundaries. That makes credential form only one part of the issue; the harder problem is whether the identity can be constrained after issuance.
Practical implication: move AI agents away from long-lived credentials and map every privileged action to an identity with a short, bounded execution window.
Why human-paced detection fails for AI agent activity
The study says organisations take an average of 14 hours to detect a compromised agent, while agents can act in milliseconds. That creates a timing mismatch: by the time a human analyst sees an alert, the agent may already have completed data access, system traversal, or workflow manipulation. This is not only a monitoring gap. It is a control design failure, because the enforcement and review model assumes time exists for intervention. Runtime visibility, contextual policy, and immediate revocation matter more here than retrospective audit alone.
Practical implication: pair detection with runtime enforcement so suspicious agent behaviour can be blocked before a session has finished.
Why AI agent identity changes the meaning of least privilege
Least privilege for AI agents cannot be defined only at provisioning time if the agent can choose actions dynamically during execution. The article describes a pattern where agents are invited in with real credentials and broad access, which means the effective privilege set is often larger than the intended one. That creates identity blast radius, where one compromised credential can touch multiple major systems. For IAM and NHI governance, the issue is not simply excessive entitlements. It is that privilege is no longer a static label on an identity but a live property of behaviour.
Practical implication: review the actual system paths an agent can reach at runtime, not just the entitlement set assigned on paper.
Threat narrative
Attacker objective: The objective is to exploit valid AI agent access to move beyond intended scope, access sensitive data, and use the agent’s legitimate privileges as cover for sustained impact.
- entry: AI agents enter enterprise workflows with real credentials, often through persistent API keys or static secrets embedded in code or automation.
- escalation: Once the agent is running, broad permissions let valid access expand into unintended data exposure or multi-system reach without triggering classic authentication failures.
- impact: Compromise or misconfiguration persists long enough for organisations to face delayed detection, extended containment, and material response cost.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- New York Times breach — New York Times source code and credentials exposed via GitHub.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Static credential trust is the wrong baseline for AI agent governance. The article shows that organisations are still issuing long-lived identities to systems that act continuously and can change behaviour at runtime. That approach assumes the actor will remain stable long enough for human review, which is not how AI agents operate. The implication is that governance must stop treating agent identity as a fixed artefact and start treating it as a runtime condition.
Access review processes assume privilege persists long enough to be observed, logged, and certified. That assumption fails when AI agents can acquire, use, and potentially discard access inside a short execution window. The result is not just weaker review cadence but a broken premise: review cannot certify behaviour that has already occurred and concluded before the next cycle begins. Practitioners need to rethink the timing model that underpins certification, not just the controls around it.
Identity blast radius is the right named concept for this market shift. The study’s finding that a single compromised credential can affect multiple major systems shows that AI agent risk is no longer local to one workflow. Once runtime behaviour is tied to broad entitlements, the impact spreads across systems that were never meant to share the same trust boundary. Practitioners should treat blast radius, not agent count, as the governance metric that matters.
AI agent security is now an IAM and PAM design problem, not a niche AI issue. The article makes clear that the same identity weaknesses recur across agent access, machine credentials, and human exceptions to keep systems running. That means governance teams cannot isolate AI agents in a separate programme and expect consistency. The practical conclusion is that identity policy, lifecycle, and enforcement must be designed across all actor types together.
From our research:
- 85% of organisations lack full visibility into third-party vendors connected via OAuth apps, according to The State of Non-Human Identity Security.
- That visibility gap is consistent with broader NHI governance weakness: only 1.5 out of 10 organisations are highly confident in their ability to secure NHIs, according to the same report.
- For a deeper NHI lifecycle perspective, see 52 NHI Breaches Analysis, which shows how identity exposure becomes a breach pattern when ownership and offboarding fail.
What this signals
Identity teams should assume AI agent governance will be measured against runtime enforcement, not policy intent. The organisations that still rely on post-event review will find that the failure arrives before the review cycle does. The practical signal is to treat session-level revocation, forensic traceability, and access boundary testing as first-class programme requirements, not optional enhancements.
Runtime identity will become the differentiator between managed and unmanaged AI adoption. As AI systems move into business workflows, the teams that can prove which agent had access, when, and for how long will be able to scale faster with less operational drag. A useful companion resource is the Ultimate Guide to NHIs, especially where lifecycle and access governance intersect.
Ephemeral identity is emerging as the named concept that will shape the next phase of AI agent security. The article’s core issue is not just credential theft but the mismatch between agent speed and identity control timing. Teams should prepare for a governance model that treats access as temporary, contextual, and continuously validated across machine, agentic AI, and human exceptions.
For practitioners
- Inventory every AI agent identity and its credential type Map where agents use API keys, static secrets, or delegated tokens, then record which systems each identity can reach in production and non-production environments.
- Shorten credential lifetime at the point of execution Replace persistent access with ephemeral identities issued only for the task being executed, and revoke access immediately after the workflow completes.
- Test for runtime access drift, not just entitlement drift Run reviews against actual agent behaviour to see whether a valid identity can reach systems, data sets, or workflows beyond the intended scope.
- Treat delayed detection as a control failure Set response paths that can block or revoke agent access during the session, because a human-only detection model leaves a long exposure window.
- Align AI agent governance with existing identity programmes Bring agent identities into the same lifecycle, access review, and privilege governance processes used for machine identities and elevated human access.
Key takeaways
- AI agent risk is now an identity governance problem because valid access can drift beyond intended scope before human teams notice.
- The scale of the issue is already material, with organisations reporting delayed detection and more than $1 million in average annual response cost.
- Practitioners need runtime controls, ephemeral identities, and behaviour-based review if they want AI adoption without uncontrolled access expansion.
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 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | NHI-01 | Agent identity and runtime access are central to the article's risk pattern. |
| NIST AI RMF | The article shows governance gaps in autonomous AI identity oversight. | |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access and revocation are directly implicated by the report. |
Review AI agent access boundaries and enforce revocation when scope changes or exposure is suspected.
Key terms
- AI Agent Identity: An AI agent identity is the credentialed identity used by a software system that can select actions and execute tasks in an enterprise environment. For governance purposes, it must be treated as a live access subject with runtime limits, not as a static application label.
- Runtime Identity Control: Runtime identity control is the ability to govern access while a non-human actor is actively operating, not just when it is provisioned. It includes contextual policy, immediate revocation, and visibility into what the actor can do during a session.
- Identity Blast Radius: Identity blast radius is the amount of damage one credential or account can create across systems when it is over-privileged or poorly bounded. In AI agent environments, the concept matters because one compromised identity can propagate into multiple workflows quickly.
- Ephemeral Identity: Ephemeral identity is access that is created for a specific task and removed immediately after it is no longer needed. For AI agents, it reduces the value of stolen credentials and narrows the time window in which misuse can occur.
What's in the full report
Akeyless' full report covers the operational detail this post intentionally leaves for the source:
- Survey methodology across 400 IT and security leaders in the United States and United Kingdom.
- The breakdown of where AI agent credentials are stored and how often they are rotated or revoked.
- The full response workflow for organisations that said they spent more than $1 million on AI agent identity and security issues.
- Additional commentary on runtime identity controls and forensic auditability for AI agents, machines, and human access.
👉 The full Akeyless report covers survey detail, control gaps, and runtime governance implications.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity security 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 or identity security programme, it is worth exploring.
Published by the NHIMG editorial team on 2026-05-12.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org