TL;DR: Multiple independent engineering perspectives point to the same gap in AI agent stacks: isolation is not enough without scoped credentials, governed delegation, and identity-aware telemetry, according to Oleria Security. The load-bearing control is identity governance, because prompts and sandboxes cannot constrain action paths once an agent reaches enterprise systems.
At a glance
What this is: This analysis argues that production AI agent stacks are missing identity governance, especially scoped credentials, governed delegation, and identity-aware telemetry.
Why it matters: It matters because IAM teams must govern what agents can access, how far delegated authority can spread, and how to audit actions across human, NHI, and autonomous workflows.
👉 Read Oleria Security's analysis of AI agent identity governance gaps
Context
AI agent identity governance is the missing control layer when agents move from isolated execution into enterprise systems. Once an agent can call APIs, request credentials, or delegate work, the security question shifts from environment containment to authority, scope, and auditability.
The article’s core claim is that prompts and sandboxes do not govern what an agent can actually do. For IAM and NHI programmes, that means the control point moves to the credential, the delegation path, and the evidence trail around each agent action.
Key questions
Q: How should security teams govern AI agents that can access enterprise systems?
A: Security teams should govern AI agents as non-human identities with explicit ownership, scoped privileges, and continuous monitoring. The control set should include inventory, task-bound credentials, audit trails, and revocation paths. If an agent can call tools or touch production systems, it belongs in the same governance model as service accounts and other machine identities.
Q: Why do AI agents complicate existing IAM and NHI controls?
A: They complicate control design because they can select actions at runtime, call multiple APIs, and move authority across systems without a human session boundary. That breaks assumptions built into static entitlements and traditional service account management. Governance has to account for delegated action, changing context, and auditability across the full execution chain.
Q: What breaks when agent identities rely on hardcoded API keys?
A: Hardcoded API keys turn agent access into long-lived credential exposure, which increases the chance of reuse, leakage, and difficult revocation. Once the key is embedded in pipelines or notebooks, accountability and lifecycle control become fragmented. Practitioners lose the ability to trace which agent used the credential and when it should have been retired.
Q: How can organisations audit autonomous agent activity effectively?
A: They need identity-aware telemetry that joins model behaviour with authorisation records, tool calls, and session context. The goal is not only to log what happened, but to prove whether the action stayed inside the policy that authorised it. Without that linkage, audit data is incomplete and operationally weak.
Technical breakdown
Why sandbox isolation does not govern AI agent access
Containers, microVMs, and similar isolation layers constrain the runtime environment, but they do not control authority once an agent reaches outside that boundary. If the agent can call an API, request a token, or hand work to another agent, the meaningful security decision happens at the identity layer. In practice, that means the environment may be contained while the action remains unconstrained. This is why isolation is necessary but insufficient for production AI agents: it protects the host, not the delegated authority.
Practical implication: treat sandboxing as containment, not governance, and place access controls where the agent actually acts.
Scoped credentials and agent-to-agent delegation
AI agents need credentials that are narrowly scoped, short-lived, and traceable to a specific purpose. The article points to a deeper gap in agent-to-agent delegation, where one agent can pass authority to another without a stable governance record. That is a classic NHI problem with an agentic twist: the access path becomes dynamic, but the credential still carries organisational trust. Without policy at the delegation boundary, the blast radius expands faster than security teams can observe it.
Practical implication: define credential scope at every delegation step and prevent implicit trust from flowing across agents.
Identity-aware telemetry as the missing accountability layer
Telemetry from model traces alone cannot answer the governance question of who acted, under whose authority, and against which system. The article’s key insight is that observability becomes meaningful only when it is tied to identity and entitlement context. That is how teams distinguish policy-driven refusal, model failure, and unauthorised action. For enterprises running agents in production, the real requirement is not more logs. It is audit evidence that links behaviour to the identity and policy that enabled it.
Practical implication: align agent telemetry with identity records so every action is explainable to security, audit, and operations.
Threat narrative
Attacker objective: The attacker seeks to exploit trusted agent authority to reach systems, manipulate data, or trigger actions that appear legitimate to downstream controls.
- Entry occurs when an AI agent is granted legitimate access to enterprise systems through an API, credential, or delegated workflow.
- Escalation occurs when the agent expands scope mid-session by calling tools, passing work to other agents, or reaching systems beyond the original intent.
- Impact occurs when the delegated action affects databases, business transactions, or sensitive records without a human review gate that can still meaningfully intervene.
Breaches seen in the wild
- Meta AI Instagram Account Takeover — 20,225 Instagram accounts hijacked via compromised Meta AI support chatbot with overprivileged access.
- Replit AI Tool Database Deletion — Replit vibe coding AI assistant deletes live production database and creates 4,000 fake user records.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Identity governance has become the load-bearing control layer for AI agents. The article is right to separate environment isolation from authority control, because the first protects execution space while the second governs enterprise reach. Containers and microVMs reduce exposure, but they do not answer who may call what, for how long, or on whose behalf. That makes identity the control plane for production agent behaviour. Practitioners should treat agent identity as a first-class governance domain, not as an implementation detail.
System prompts are not governance because they operate above the control layer that matters. This is the same failure pattern NHIMG sees in NHI programmes when policy is written in one layer and enforcement happens in another. If the action path remains reachable, the instruction text is just guidance. For AI agents, that means least privilege must be enforced in the credential, delegation, and API layers. Security teams should stop treating prompt text as a compensating control.
Credential delegation between agents is the unresolved governance gap in agentic architecture. A human can usually be tied to a stable account, but an agent chain can create moving authority that is hard to certify after the fact. That breaks the assumptions behind access reviews, blast-radius design, and accountability mapping. The implication is that agent identity cannot be assessed only at provisioning time. It must be governed at each handoff point.
Identity-aware telemetry is the only way to separate model behaviour from authorised behaviour. The article correctly notes that refusal rates, retries, and apology patterns are not just model metrics. They become security signals when linked to the identity and policy context that authorised the action. That is a materially different governance model from traditional observability. For practitioners, the issue is not more telemetry volume. It is whether telemetry can prove authority, scope, and intent.
From our research:
- 79% of organisations have experienced secrets leaks, with 77% of these incidents resulting in tangible damage, according to Ultimate Guide to NHIs.
- Only 20% have formal processes for offboarding and revoking API keys, and even fewer have procedures for rotating them.
- The lifecycle gap matters here because AI agent access must be scoped, revoked, and evidenced with the same discipline as other non-human identities.
What this signals
Identity blast radius: the practical challenge is no longer just whether an agent can act, but how far that authority can spread before security teams can observe it. When enterprise AI reaches tool access, the programme needs controls that bind delegation, credential scope, and audit evidence into one operational chain.
The control model should now be read through the same lens as NHI governance, supported by the OWASP NHI Top 10 and the NIST AI Risk Management Framework. Teams that already struggle with visibility into service accounts will find agent estates even harder to certify unless they join entitlement data to behaviour records and keep human review in the loop where it still matters.
For practitioners
- Define identity controls at the action layer Map every agent workflow to the specific API calls, write paths, and delegation steps it can reach. Enforce scope where the action occurs, not in prompt text or runtime instructions.
- Issue short-lived scoped credentials for every agent task Replace broad reusable credentials with task-scoped access that expires as soon as the intended action completes. Tie each token to a single agent, a single purpose, and a single audit trail.
- Block implicit agent-to-agent trust Require explicit policy approval before one agent can delegate to another or inherit authority from upstream context. Treat delegation as a governance event, not just an orchestration step.
- Bind telemetry to identity and policy Join model output logs with entitlement records so security teams can prove who authorised the action, which policy allowed it, and whether the result stayed inside that boundary.
Key takeaways
- AI agents expose a governance gap that isolation alone cannot close because identity, scope, and delegation sit outside the sandbox boundary.
- When agent authority is not tied to identity-aware telemetry, organisations lose the evidence needed to explain, contain, and certify actions.
- The immediate programme shift is from prompt-based trust to credential-based control, with auditability and revocation treated as core design requirements.
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 AI RMF, NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A1 | The article centres on agent authority, delegation, and tool access. |
| OWASP Non-Human Identity Top 10 | NHI-01 | AI agents are non-human identities when they hold credentials and access enterprise systems. |
| NIST AI RMF | GOVERN | The article focuses on governance, accountability, and oversight for AI-enabled behaviour. |
| NIST Zero Trust (SP 800-207) | The post argues for access decisions at the point of action, not assumed trust. | |
| NIST CSF 2.0 | PR.AC-4 | Scoped access and identity proofing are central to the article's control model. |
Treat agent credentials as NHI assets and enforce least privilege, expiry, and revocation discipline.
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.
- Identity-aware telemetry: Telemetry that includes identity, privilege, and session context rather than raw event data alone. In security operations, it ties actions to the subject that performed them, which makes correlation, triage, and investigation materially more reliable across cloud, SaaS, and on-prem environments.
- Agent-to-Agent Delegation: Agent-to-agent delegation is the handoff of work from one AI agent to another, often across different tools or identity contexts. It expands the governance boundary because the original actor no longer controls every action, and inherited permissions can create risk that the first approval never covered.
- 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.
What's in the full article
Oleria Security's full analysis covers the operational detail this post intentionally leaves for the source:
- The four engineering perspectives and how each one maps to the missing middle layers in an AI agent stack.
- The Trustfusion architecture discussion, including how scoped credentials and audit trails are positioned in the vendor's model.
- The Replit incident framing and why the article treats prompt text as insufficient governance for destructive actions.
- The Project Deal marketplace experiment details, including the capability-tier findings and transaction outcomes.
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 14, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org