TL;DR: Production AI agents break inherited service-account assumptions because their tool use, credentials, and attribution are all runtime-dependent, making JIT access and zero-standing privileges central to control, according to Riptides. The underlying issue is that access review models assume stable identities and reviewable artefacts, while agentic execution can change within a single session.
At a glance
What this is: This is Riptides’ analysis of runtime machine IAM for AI agents, arguing that attribution, access control, and credential handling must shift from static service-account assumptions to session-bound identity and just-in-time enforcement.
Why it matters: It matters because IAM and security teams need a control model for agents that can change behaviour, tools, and credentials during execution without leaving a stable human-style review trail.
Context
AI agent identity security fails when teams assume the actor is a predictable service account with fixed behaviour. In practice, agentic execution can vary by prompt, tool, and runtime context, which makes conventional identity governance hard to apply cleanly.
The core governance gap is attribution. Security teams need to know which agent acted, on whose behalf, and with what authority, but static IAM models often collapse that detail into a generic service account record. That leaves an accountability gap between policy intent and runtime action.
Credential handling is the third pressure point. When long-lived tokens are handed to agents, the security boundary shifts from governed issuance to whatever the runtime exposes in memory, environment variables, or config. That is atypical only in how quickly the problem becomes visible, not in the kind of governance failure it creates.
Key questions
Q: What breaks when AI agents inherit access from users and service accounts?
A: The main failure is that inherited access can be broader than the agent’s actual task, so privilege becomes easier to reuse than to govern. Once an agent can chain tool calls across systems, the original approval no longer describes the full blast radius. Security teams need to treat inherited access as a live identity surface, not a one-time provisioning artifact.
Q: Why do AI agents create an attribution gap in IAM?
A: AI agents create an attribution gap because they can act autonomously, across systems, and at machine speed while leaving incomplete evidence about who authorized them and what they were allowed to do. Traditional IAM often proves access, but not the decision chain behind the access. That becomes a problem in audits, incidents, and litigation.
Q: When should teams prioritise just-in-time credentials for agents over shared tokens?
A: They should prioritise just-in-time credentials whenever an agent can reach sensitive APIs, cloud infrastructure, or production systems. Shared tokens create a wider blast radius because they remain available outside the specific call that needs them. Just-in-time issuance reduces that exposure by limiting access to the moment of use.
Q: How should security teams govern agent access on developer laptops and servers?
A: Use the same runtime identity and policy model on both environments, because the governance problem is the same once an agent can access cloud services or internal data. The key is to enforce access at call time and preserve attribution across both the agent and the authority it borrowed for the session.
How it works in practice
Why service-account identity breaks down for AI agents
Traditional machine identity assumes a relatively stable executor: the same workload, the same access path, and the same outcome profile from one run to the next. AI agents do not behave that way because tool selection, API calls, and even downstream actions can change with prompt context and runtime state. That means the identity label alone no longer explains what the actor is allowed to reach or what it actually did. In identity terms, the gap is not just authentication, but attribution and authorisation at execution time. The control problem moves from “who is this?” to “what was this actor permitted to do at this moment, and under whose authority?” Practical implication: governance has to bind access to runtime context, not just to a static machine account.
Practical implication: bind access decisions to runtime context, not just to a static machine account.
How composite identity improves attribution for agentic systems
Composite identity links the agent’s runtime identity to the human or system authority that initiated the session. That matters because many agent actions are not independent in a business sense. They are delegated actions taken on behalf of a person, a workflow, or another system. If the security stack only records the service account, investigations lose the chain of authority and cannot answer basic questions about delegation. A composite model preserves both halves of the story: the running agent and the originating authority. In governance terms, that creates a defensible audit trail without forcing teams to reconstruct intent from scattered logs after the fact. Practical implication: record both execution identity and delegation context as first-class controls.
Practical implication: record both execution identity and delegation context as first-class controls.
Why just-in-time credentials matter more than long-lived tokens
AI agents inherit the same secret-handling problem that has long affected workloads, but they intensify it because runtime tools can reach into memory, config, or injected environment state. Long-lived tokens expand the blast radius of any compromise, whether the cause is prompt injection, dependency abuse, or an exposed runtime path. Just-in-time credential brokering reduces that exposure by issuing access only for the specific call that needs it, rather than leaving reusable secrets parked in the process. In security architecture terms, the control point moves from secret storage alone to the precise moment of use. Practical implication: treat credential issuance as part of the policy engine, not as an afterthought in application code.
Practical implication: treat credential issuance as part of the policy engine, not as an afterthought in application code.
NHI Mgmt Group analysis
Runtime attribution is the missing control plane for agentic identity: static service-account records cannot explain delegated AI behaviour when tool choice and session context change mid-execution. That is why investigation, authorisation, and audit all degrade at the same time. The practitioner takeaway is that agent identity must be treated as a runtime event, not a provisioning record.
Access review assumptions collapse when the actor can change state within a session: access review was designed for privileges that persist long enough to be observed, certified, and revoked later. That assumption fails when an agent can request, use, and discard access inside a single runtime window. The implication is that governance must move to issuance and enforcement time, because review alone cannot recover what never persisted.
Composite identity is the right conceptual model for delegated AI action: a useful audit trail has to preserve both the running agent and the authority it borrowed from a human or workflow. Without that linkage, service-account telemetry flattens responsibility into an opaque technical record. Practitioners should treat delegation context as part of the identity model, not a separate logging concern.
Zero-standing privilege becomes a governance requirement, not an optimisation: once agents can touch cloud systems, GitHub, Kubernetes, or production data during live sessions, standing credentials become a standing exposure problem. The article sharpens a named concept we would call identity-attribution drift, where the actor, the authority, and the observable logs no longer line up cleanly enough for control. The practitioner conclusion is that runtime identity and runtime access must be governed together.
Agent governance now spans both classic workloads and user-facing agent surfaces: the same runtime trust problem appears in servers, developer workstations, and coding agents, which means the control model cannot stop at one environment. That widens the identity programme from machine security alone into end-to-end delegated access governance. The field should read this as a sign that agent identity is becoming an enterprise IAM concern, not a niche AI overlay.
What this signals
Identity-attribution drift: when an agent’s runtime actions, its machine identity, and its delegated authority are recorded in different places, governance loses the ability to prove who did what. That gap pushes IAM teams toward runtime enforcement and away from post-event reconstruction.
Access reviews were built for privileges that outlive the session long enough to be certified. AI agents compress that window, so teams need controls that decide before execution rather than after the fact.
The practical shift is from shared machine accounts to session-bound identity and just-in-time credentialing. That change matters most where agents touch production systems, because the same runtime pattern now appears across servers, cloud workloads, and developer devices.
For practitioners
- Map delegated agent paths to runtime identity Inventory where AI agents inherit authority from users, service accounts, or workflow triggers, then separate that delegation context from the underlying machine identity. Focus on the places where current logs collapse those two layers into one ambiguous record.
- Replace long-lived agent tokens with just-in-time issuance Broker credentials only at the moment a specific outbound call is authorised, and avoid leaving reusable secrets in environment variables, config files, or process memory. This is especially important for agents that can touch cloud APIs, GitHub, Kubernetes, or production databases.
- Enforce per-agent egress policy on the call path Tie outbound network and API access to the attested identity of the running agent so the policy decision happens before the first byte leaves the host. That reduces the chance that a prompt or tool-chain compromise can route around the intended control.
- Unify agent and workload governance under one control plane Apply the same runtime identity and access rules to classic services and AI agents so teams do not maintain separate models for similar access problems. The practical goal is one policy language for identity, enforcement, and audit across both execution patterns.
- Extend controls to developer workstations running coding agents Treat laptops running coding assistants as runtime identity surfaces, especially when they can reach cloud infrastructure, source control, or production systems. If the workstation still relies on ambient shell credentials, the agent inherits more authority than it should.
Key takeaways
- AI agents expose a governance gap that classic service-account models were never designed to handle, especially when access changes during execution.
- Attribution, credential handling, and enforcement all move closer to runtime when the actor can change tools and authority within a single session.
- IAM teams should treat delegated agent identity as a first-class control problem across both production workloads and developer environments.
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, OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | The article centres on delegated agent authority, runtime identity, and privilege scope. |
| Recommendation — Bind agent authority to runtime identity and limit delegated privilege to the exact session and action. | ||
| OWASP Non-Human Identity Top 10 | NHI-04 — Insecure Authentication | The article discusses attested runtime identity versus weak inherited service-account assumptions. |
| NHI-05 — Overprivileged NHI | The article warns that agents are often over-granted through service-account inheritance and long-lived keys. | |
| NHI-07 — Long-Lived Secrets | Long-lived API tokens and keys are identified as the main runtime exposure problem for agents. | |
| Recommendation — Replace inherited machine credentials with attested runtime identity for every agent session. Reduce delegated agent permissions to the minimum policy scope needed for the current task. Eliminate persistent agent tokens and issue credentials only when the request is authorised. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Just-in-time credential brokering and secret lifecycle control align directly to authenticator management. |
| Recommendation — Use IA-5 to govern issuance, storage, rotation, and revocation of agent authenticators. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | The article describes runtime credential exposure and downstream access expansion paths. |
| Recommendation — Map agent credential exposure to TA0006 and constrain downstream movement under TA0008. | ||
| NIST Zero Trust (SP 800-207) | Principle of least privilege — Least privilege | Runtime policy enforcement and zero-standing privilege are presented as the core architectural shift. |
| Recommendation — Enforce least privilege continuously at runtime rather than relying on static provisioning assumptions. | ||
Key terms
- Runtime Machine IAM: Runtime machine IAM is identity control enforced while the workload is executing, not just when it is provisioned. It combines attestation, policy, and credential brokering so the system can decide what an agent may do at the moment of action, which is essential when tool use changes session by session.
- Composite Identity: An identity made up of more than one control relationship, typically a human owner, an AI agent, and the credentials or services the agent uses. It matters because accountability, access scope, and runtime behaviour all have to be governed together, not as separate problems.
- Attribution gap: The attribution gap is the distance between what an AI agent did and what the enterprise can prove about who authorized it, what it was allowed to do, and who is accountable. It is an identity and governance problem that becomes visible during audits, incidents, and legal disputes.
- Just-in-time Credential Issuance: Just-in-time credential issuance creates access only when a request meets policy and then limits how long the credential remains valid. It reduces standing exposure, but it still depends on strong policy, accurate context, and reliable revocation handling.
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 June 24, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org