TL;DR: Security teams are finding unknown AI agents running with weak guardrails, and CSA research cited by Runlayer says 82% of organizations have them in their IT infrastructure while 65% have seen agent-related incidents. Agents need separate identities and per-action authority, or least privilege, auditing and revocation all collapse under shared credentials.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Runlayer's blog post: Unknown AI agents are common in enterprise infrastructure, and shared identities make their access harder to govern safely.
Why it matters: Identity teams need a model that separates the agent from the user, because delegated authority, tool-level control and auditability all fail when agents blend into human accounts.
By the numbers:
- 82% of organizations have unknown AI agents running in their IT infrastructure.
- 65% have experienced AI agent-related incidents in the past 12 months.
Context
AI agents create an identity problem before they create a tooling problem. They can act on behalf of a person, a team or a schedule, but they are not human users and do not fit neatly into user-centric access models. That mismatch is why shared accounts, inherited human permissions and broad service credentials become unstable once agents start making runtime decisions.
When an agent can choose tools, call systems and continue operating without a human in the loop, the governance question changes from provisioning accounts to governing delegated authority. That is why agent identity has to be treated as a distinct identity model rather than an extension of the person who configured it.
Key questions
Q: How do AI agent identities work in enterprise systems?
A: AI agent identities are non-human identities assigned to software that can act on behalf of a business process, call tools, and interact with systems under delegated access. The governance challenge is that those identities often need to be issued, scoped, monitored, rotated, and retired like any other machine identity, but with tighter runtime control because behaviour can change during execution.
Q: Why do shared service accounts create risk for AI agents?
A: Shared service accounts hide which agent made a request, so they collapse accountability and make incident response slower. They also turn credential exposure into a single compromise path for multiple workloads. For agentic systems, every identity should be attributable to a specific workload or delegated task.
Q: What is the difference between delegated agent access and impersonation in AI systems?
A: Delegated access keeps both the user and the acting agent visible in the token chain, while impersonation makes the agent indistinguishable from the user. Delegation is usually the safer pattern because it preserves attribution, supports per-hop authorization, and keeps an audit trail intact. Impersonation can hide the actor, which weakens forensics and accountability after an incident.
Q: When should teams enforce least privilege at the tool-call layer?
A: Teams should enforce least privilege at the tool-call layer whenever an agent can invoke APIs, run code, or access data on behalf of a human or service account. Each tool should expose only the specific action, object, and scope needed, with short-lived credentials, allow-listed endpoints, and policy checks that block unauthorised escalation or bulk retrieval.
Technical breakdown
Why shared identities fail for AI agents
A shared identity collapses multiple actors into one access path, which makes authority impossible to scope cleanly. If an agent reads logs, writes tickets and deploys code under the same credential, the permissions must satisfy the most privileged use case even when only one action is needed. That creates either over-permissioned access or broken workflows. It also destroys traceability, because the system can no longer distinguish which agent action came from which runtime context. Read Securing the agent platform itself.
Practical implication: Treat each AI agent as a separate identity so permission boundaries can be set per task rather than per team account.
Delegation is not impersonation
Delegation means the system preserves the distinction between the agent and the human it acts for. Impersonation erases that distinction and makes the agent look like the user at the authorization layer, which undermines auditability and weakens revocation. Token exchange standards such as OAuth-based on-behalf-of flows can support delegation, but only if the identity system keeps the agent explicit in claims, logs and policy decisions. See the AI Agent Authorisation Guide.
Practical implication: Use delegated token flows that preserve actor separation instead of letting agents inherit human identity as if they were the user.
Tool-call authorization is where least privilege becomes real
For agents, least privilege is not just a token scope problem. Many actions happen through tools, APIs or MCP servers after the initial authentication step, so coarse permissions at the identity layer are often too blunt. Intercepting the tool call allows policy to inspect the requested operation and its arguments, which is where a refund limit, write restriction or data-access boundary can actually be enforced. This is a runtime control problem, not a static account problem. Read Enterprise-Managed Authorisation for AI Agents (ID-JAG and Cross App Access).
Practical implication: Apply policy at the tool-call layer when application permissions are too coarse to express the agent's true job boundary.
Threat narrative
Attacker objective: The objective is to abuse agent-run access paths to reach systems, actions or data beyond the intended job scope without immediate detection.
- Entry begins when an unknown AI agent appears in the environment with no formal identity record or guardrails around its access.
- Privilege escalation follows when the agent inherits a human account or shared automation credential that grants broader access than its task requires.
- Impact occurs when the agent misuses those privileges, makes unintended tool calls, or cannot be isolated quickly enough to prevent wider damage.
Breaches seen in the wild
- Smithery.ai MCP hosting breach 2025: A Smithery.ai build flaw gave GitGuardian a live fly.io token controlling 3,000+ hosted MCP servers and the API keys their clients sent.
- 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.
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
Agent identity is now a governance primitive, not a deployment detail. Once agents can act on behalf of people, teams or schedules, access management has to distinguish the actor from the operator. The old shortcut of reusing a human account or a shared automation credential turns governance into guesswork because the access path no longer maps cleanly to a single accountable identity. The practical conclusion is simple: agents need their own identity records before they can be governed at all.
Shared credentials create a brittle authority model for AI agents. One credential across multiple agents forces the platform to choose between over-permission and breakage, because each agent has different tool needs and different blast radius. That pattern also makes secret rotation a system-wide outage event instead of a scoped maintenance action. Hosted agent breaches show why a single token can become a fleet-wide failure mode when identity boundaries are collapsed.
Delegated authority must remain distinct from impersonation. RFC 8693-style token exchange only helps when the system preserves the fact that the agent is an actor in its own right. If the policy layer cannot tell whether an action came from the user or the agent acting for the user, audit, revocation and accountability all degrade together. The implication for identity architecture is that agent claims, run context and delegated scope must stay explicit end to end.
Tool-level authorization is the control point that actually matches agent behaviour. Agents do not only consume permissions at login time; they express authority every time they call a tool, pass an argument or request a side effect. That creates a new governance surface where coarse application roles are too blunt to be trusted alone. NHI programs should treat per-call enforcement as the place where least privilege becomes operational, not aspirational.
From our research library:
- Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems. Organisations failing to scope AI access properly are 4.5x more likely to experience a security incident, according to the 2026 Infrastructure Identity Survey.
- 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.
- Read next: Enterprise-Managed Authorisation for AI Agents (ID-JAG and Cross App Access)
What this signals
Per-agent governance will become the default test for AI access maturity. Security teams that still manage agents through shared human credentials will keep hitting the same wall: no clean revocation path, no trustworthy attribution and no stable way to narrow scope as use cases expand. The next programme milestone is not more automation, but cleaner actor separation and control at issuance time.
Delegation metadata will matter as much as the credential itself. If the environment cannot tell which agent acted, which user it acted for and which tool was called, incident response will stay slow and ambiguous. That pushes identity programmes toward richer runtime evidence, not just broader access policy.
AI access controls need to be designed around runtime action, not just initial login. The moment agent behaviour is shaped by tool selection and per-call context, classical entitlement review becomes only part of the answer. Identity teams should expect policy enforcement to shift closer to execution, especially where agent workflows touch MCP-connected systems.
For practitioners
- Build separate identities for each agent Register each agent as its own actor so permissions, logging and revocation do not depend on the human account that created it. See the Agentic AI Identity Guide.
- Replace shared automation credentials Eliminate one shared service account for multiple agents and assign task-specific credentials with narrow scope and independent rotation. See the AI Agent Authorisation Guide.
- Preserve delegated authority in token flows Use on-behalf-of or equivalent delegation flows that keep the agent distinct from the user in claims, logs and policy decisions.
- Enforce policy at the tool-call layer Inspect requested actions and arguments between agents and MCP servers so the policy engine can block unsafe writes, refunds or data access.
Key takeaways
- AI agents are emerging as distinct identity actors, and treating them like human users or shared automation accounts makes governance blur immediately.
- The risk is already visible at scale, with unknown agents common in enterprise environments and incidents reported within the last year.
- Per-agent identity, delegated authority and tool-call enforcement are the controls that turn AI adoption into something security teams can actually govern.
Related NHI Mgmt Group resources: Agentic AI Identity Guide · AI Agent Authorisation Guide · Enterprise-Managed Authorisation for AI Agents (ID-JAG and Cross App Access) · AI agent runtime reference architecture
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 CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The article centres on AI agents inheriting too much access through shared identities or broad delegation. |
| NHI-04 — Insecure Authentication | Delegation, impersonation and token handling determine whether agents authenticate as distinct actors. | |
| NHI-09 — NHI Reuse | Reusing a human account or shared service account across agents is the core anti-pattern discussed here. | |
| Recommendation — Scope each agent to the minimum authority needed for its task and revoke excess access paths immediately. Preserve separate agent identity in token claims and policy decisions instead of collapsing it into the human user. Eliminate reused identities for agents and assign each runtime actor its own credentials and audit trail. | ||
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article describes agents gaining access through the wrong identity boundary and mis-scoped privileges. |
| Recommendation — Constrain agent privileges to task-scoped actions and verify authority at each tool call. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Per-agent authorisation and least privilege are the central governance controls in this identity model. |
| Recommendation — Review entitlements for each agent separately and align access decisions to its specific job function. | ||
Key terms
- AI Agent Identity: The digital identity used by an autonomous AI agent to authenticate to external systems, APIs, and services. Managing AI agent identities is an emerging and rapidly evolving area of NHI security.
- Delegated authority: Delegated authority is permission given to one identity to act on behalf of another within defined limits. In identity systems, it enables an agent, user, or service account to perform approved actions without owning the underlying rights, using scoped tokens, roles, or approvals to constrain access and accountability.
- On-Behalf-Of (OBO) Token Flow: On-Behalf-Of (OBO) Token Flow is an OAuth pattern where one application exchanges a user’s access token for another token to call a downstream API. The downstream token carries the user’s delegated identity and consent, while the first application never uses the original token directly, reducing unnecessary token exposure.
- Machine-To-Machine Token: A machine-to-machine token is an access credential issued for service or application use rather than for a human user. It supports automated API calls and backend integrations, and it must be scoped, monitored, and revocable so the system can limit exposure if the token is leaked or overused.
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 November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org