TL;DR: AI agents reintroduce the credential sprawl, shared secrets, and opaque delegation patterns that security teams spent years trying to eliminate, according to Riptides. Because these systems select tools at runtime and carry delegated human authority, existing IAM and secrets governance assumptions no longer hold.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Riptides's blog post: AI agents are turning least privilege into an identity governance problem again by concentrating multiple delegated credentials inside autonomous workloads.
Why it matters: IAM, PAM, and NHI teams need to treat agentic AI as a new credential-exposure surface because runtime tool selection, delegated human authority, and secret handling now collide in the same control plane.
Context
AI agent identity is the control problem at the centre of this article. The issue is not simply that agents use tools, but that they can collect, hold, and act through multiple credentials inside one workflow while traditional IAM assumes access is granted, bounded, and reviewable in more stable patterns.
That assumption breaks once a single agent can connect to SaaS tools, cloud APIs, model endpoints, and internal systems in one task. In that environment, least privilege, secrets management, and access review no longer behave like they do for ordinary workloads, because the credential lifecycle is compressed into autonomous execution.
Key questions
Q: What breaks when an AI agent can acquire and use credentials inside one runtime session?
A: The review-based access model breaks first. If the agent can obtain a credential, act on it, and terminate before certification or offboarding, human-paced governance never sees a stable access state. Practitioners need controls that govern issuance, scope, and expiry at the moment privilege is granted, not after the fact.
Q: Why do autonomous AI agents increase insider risk even when access is technically authorized?
A: Autonomous agents increase insider risk because authorization alone does not explain purpose. A headless agent can inherit legitimate access and still move data, trigger workflows, or expose information in ways humans never intended. Risk rises when security teams cannot see the action’s context, intended outcome, and data sensitivity together.
Q: What are the signs that agentic access controls are failing?
A: The main signs are invisible tool use, delayed discovery of actions, and audit logs that explain an outcome only after it has already occurred. If a security team cannot see which agent attempted which action on which target at the moment of execution, the control is monitoring, not governing.
Q: How should security teams govern AI agents that browse and transact on behalf of users?
A: Security teams should govern AI agents as delegated actors with narrow, task-scoped permissions, not as enhanced browsers. The right model is to bind access to the specific action being performed, preserve auditability at the transaction layer, and separate machine identity from the human principal wherever possible.
Technical breakdown
Runtime tool selection changes the privilege boundary
Traditional least privilege is designed around a known workload, a known purpose, and a stable access envelope. AI agents do not stay inside that model. They decide at runtime which tools to call, in what sequence, and across which services, which means the privilege boundary is no longer defined at provisioning time alone. That creates a moving target for identity governance because the same session may touch a SaaS app, a cloud provider API, a model endpoint, and an internal database. The security problem is not just excess access. It is that the access pattern is not fully knowable when the identity is created.
Practical implication: Model agent permissions around runtime paths, not just assigned roles.
Why delegated credentials turn prompt injection into identity abuse
The article’s key technical warning is that agents often act on behalf of humans through delegated authorization such as OAuth tokens. If the agent is compromised or manipulated, the attacker inherits more than machine access. They inherit the user’s delegated authority, which expands the blast radius from a single workload to whatever the user could reach. Prompt injection matters here because the agent can be induced to reveal or misuse credentials without a classic exploit chain. That is an identity failure, not only a content-safety problem, because the attacker is abusing an authorised delegation path.
Practical implication: Treat delegated authority as a high-risk identity path whenever agents can act for users.
Continuous verification matters more than point-in-time trust
The article contrasts traditional workload identity with agentic behaviour that can drift mid-session. A process may be attested at start-up, yet its behaviour can change after launch as it delegates tasks, spawns sub-agents, or receives malicious instructions. Point-in-time trust therefore misses the operational reality of agentic systems. Continuous validation is needed because the risk is not only whether the process started cleanly, but whether its active identity, runtime posture, and credential use remain aligned throughout execution. In agentic environments, session continuity is not a safe assumption.
Practical implication: Continuously reassess agent identity posture during execution, not just at launch.
Threat narrative
Attacker objective: The attacker aims to turn an authorised agent session into a credential-rich execution path that exposes both workload access and delegated human authority.
- Entry begins when an AI agent receives delegated access to SaaS tools, cloud APIs, or internal systems as part of an authorised task.
- Credential exposure follows because the agent framework stores multiple credentials inside the agent process or adjacent runtime context.
- Escalation occurs when prompt injection or process compromise causes the agent to reveal, misuse, or relay those delegated credentials.
- Impact is broader access abuse, because the attacker can act through the agent and, in some cases, through the human’s delegated permissions as well.
Breaches seen in the wild
- CoPhish OAuth phishing via Copilot Studio: Datadog showed Copilot Studio agents on a Microsoft domain can front OAuth consent phishing and forward stolen tokens; no victims reported.
- 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.
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
Least privilege breaks when access is no longer assigned to a stable workload. AI agents can select tools at runtime, so the access envelope is not fixed at provisioning time in the way legacy IAM assumes. That means the governance unit is no longer the workload alone, but the session path it can assemble across tools and services. Practitioners need to stop treating agent access as a static role assignment problem.
Delegated human authority becomes the real blast radius in agentic systems. When an agent carries OAuth-based authorization on behalf of a user, the security question is no longer only what the agent can do. It is what the user has unintentionally authorised the agent to do across third-party services, internal systems, and model endpoints. That changes access governance from asset-centric review to delegation-chain review.
Prompt injection is an identity abuse path when credentials live inside the agent. The article shows that the important failure mode is not only malicious content, but credential possession inside the runtime itself. If the agent can be prompted into exposing what it already holds, then the control failure is structural: the identity boundary and the secret boundary were placed in the same process. That is the named concept here: credential-in-process exposure debt.
Continuous verification is becoming the baseline for agent governance. A start-up attestation tells you little when an agent can spawn sub-agents, delegate tasks, or alter behaviour mid-session. The field should treat agentic AI as a governance domain where runtime identity, policy enforcement, and revocation must operate continuously. Practitioners should redesign control points around execution, not just issuance.
Agentic AI is forcing NHI governance to mature beyond secret handling. The article makes clear that the core issue is not whether secrets are rotated, but whether secrets ever enter the agent’s address space at all. That shifts the control conversation from hygiene to architecture. Security teams should assume that any model leaving credentials in-process has already weakened the trust model.
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: Agentic AI Identity Guide
What this signals
Credential-in-process exposure debt: agentic systems create risk when real tokens are placed inside the execution environment instead of being brokered at request time. That design choice turns a compromised agent into a credential reservoir, which is why identity teams need to shift from storage hygiene to issuance architecture.
Access review processes assume access persists long enough to be reviewed. Agents that request, combine, and discard access inside a single task leave little for periodic recertification to catch, so governance has to move toward runtime verification and revocation.
Agentic AI identity governance now needs the same operational discipline that NHI teams apply to secrets, but with stricter runtime controls because the access path is chosen during execution, not only at setup.
For practitioners
- Map agent delegation chains Inventory every place an AI agent can act on behalf of a user or service, including SaaS tools, cloud APIs, internal databases, and model endpoints.
- Remove credentials from agent memory Redesign agent workflows so the process never stores real tokens in memory, config files, environment variables, or local storage.
- Separate agent identity from user identity Record which agent acted and which human delegated the action, then keep the two identities independently auditable and revocable.
- Enforce continuous posture checks Revalidate agent runtime posture during execution so mid-session drift, sub-agent creation, and behaviour changes can trigger access restriction.
- Treat prompt injection as credential risk Build detection and containment for instruction injection in the same places you already monitor for token exposure and misuse.
Key takeaways
- AI agents are collapsing the old separation between workload identity, delegated user authority, and secret custody.
- The core risk is not only broad access, but runtime tool selection that makes the effective privilege boundary unpredictable.
- Identity teams need to govern issuance, delegation, and continuous verification as one control problem, not three separate ones.
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 CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Agent identity and delegated privilege are central to the article's risk model. |
| Recommendation — Govern agent identity and delegated access so runtime privilege cannot outgrow the approved scope. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | Agent workflows depend on brokered authentication and delegated tokens that can be abused. |
| NHI-05 — Overprivileged NHI | The article emphasises agents receiving more access than the task requires. | |
| NHI-07 — Long-Lived Secrets | Persistent tokens and static secrets inside agent environments are a key risk in the article. | |
| Recommendation — Replace in-process credential handling with brokered authentication that keeps secrets out of the agent. Scope agent permissions to task-specific access and remove standing privilege wherever possible. Eliminate long-lived secrets from agent runtimes and substitute short-lived, centrally governed credentials. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The topic is fundamentally about how entitlements are assigned and constrained for agents. |
| Recommendation — Align agent entitlements to PR.AA-05 so permissions are explicit, reviewable, and minimally scoped. | ||
Key terms
- Agentic AI Identity: The complete set of credentials, permissions, and governance controls applied to an autonomous AI agent, covering authentication, authorisation, action logging, and access revocation. Distinct from traditional NHI because agent identities are often ephemeral, delegated, and multi-hop.
- Delegated Authority Model: A delegated authority model defines who is allowed to approve, review, or execute control-related decisions across the enterprise. It helps ensure requests reach the correct responsible party, especially when control owners, managers, and process owners sit in different teams, regions, or systems.
- Credential-in-process exposure: Credential-in-process exposure occurs when real secrets or tokens are stored inside the running memory, config, or environment of an application or agent. That design makes the process itself part of the trust boundary, so compromise of the runtime can become compromise of the credential.
- Runtime privilege boundary: A runtime privilege boundary is the live limit on what an identity can do during a session or task. For autonomous systems, it matters more than static entitlement because action can change at execution time, making approval, tool scope, and session duration part of control design.
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 programme, it is worth exploring.
Published by the NHIMG editorial team on July 14, 2026.
Updated on October 13, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org