By NHI Mgmt Group Editorial TeamBased on WorkOS: “Arcade for AI Agent Security: Features, Pricing, and Alternatives” (December 3, 2025)

TL;DR: AI agents calling external services need authentication flows that hide tokens from the model itself, and WorkOS’s source analysis says Arcade’s zero-token-exposure approach, OAuth 2.1 handling, and just-in-time authorization are aimed at that gap. The core issue is that access review and least-privilege assumptions break down when the identity that decides what to call is separate from the identity that stores the credential.


At a glance

What this is: This analysis examines why AI agent tool-calling pushes authentication and token handling into the execution layer, where credential isolation, just-in-time authorization, and scoped OAuth flows become the real control surface.

Why it matters: IAM and NHI teams need to separate agent decision-making from credential custody, or they will over-trust models that can trigger actions without ever being the party that should hold the secret.


Context

AI agent tool-calling is the pattern where a model or agent asks a runtime to execute actions against external services such as Slack, Salesforce, GitHub, or Gmail. The governance problem is not just whether an agent is allowed to act, but where the credential lives while that action is being decided and executed.

The identity control point shifts from the user prompt to the execution layer when OAuth tokens, API keys, and refresh logic are handled outside the model itself. That changes how practitioners think about least privilege, auditability, and who actually owns the authority behind an agent action.

For AI agent programmes, the key question is whether authentication is still being designed as if a human user is the direct operator. In production agentic workflows, that assumption is increasingly false, and the control model has to follow the execution path instead.


Key questions

Q: How should security teams govern AI agent tool calls without exposing credentials?

A: Security teams should place credentials in a separate execution layer, not in the model context, and bind every tool call to a distinct agent identity. The key controls are scoped consent, execution-time secret injection, and unified audit logging. That way the model can request actions without ever seeing the material that authorises them.

Q: Why do AI agents complicate least-privilege design?

A: AI agents complicate least-privilege design because their tool use can change dynamically while the underlying permissions remain persistent. The system may need broad enough access to complete a task, but that same access can overshoot if scope is not tightly controlled. The fix is task-scoped authorisation with clear boundaries, not wider standing access.

Q: What breaks when AI agents use the wrong OAuth flow or token type?

A: The main failure is a confused trust model. If an autonomous agent is treated like a human user, teams may issue identity tokens where only authorization is needed, or rely on interactive login where no user exists. That creates broken automation, weak scope control, and audit gaps. APIs should only accept access tokens for enforced permissions.

Q: How do enterprise teams decide where agent tool authorization should live?

A: Put primary user authentication in the enterprise identity stack and place tool authorization in the agent runtime. That separation lets SSO, directory sync, and tenant controls govern the application while the runtime enforces per-tool scopes and execution-time checks. Mixing those layers usually creates policy gaps and unclear accountability.


Technical breakdown

Why zero-token-exposure architectures matter for AI agents

A zero-token-exposure architecture separates the model’s reasoning from credential custody. The AI agent sends a high-level request, but the runtime injects the OAuth token or API key only at execution time, then returns the result without exposing the secret to the model prompt or logs. That matters because the model can decide to act, but it should not become the bearer of reusable authentication material. In practice, this is an NHI-style custody problem inside an agentic workflow, not a generic application-auth problem.

Practical implication: Design agent runtimes so tokens are never present in model context, prompts, or observability pipelines.

How just-in-time authorization changes tool-calling governance

Just-in-time authorization delays permission grant until the moment a tool is actually needed. In an agentic workflow, that means the user approves the specific action or scope at execution time rather than pre-authorising broad standing access. This narrows exposure, but it also means the governance event is tied to tool invocation, not to the agent’s general identity. For IAM teams, the important shift is that authorization becomes action-scoped and session-scoped, not agent-scoped in the abstract.

Practical implication: Bind consent and scope to each tool action rather than issuing broad standing access for the agent.

MCP-native tool calling moves policy enforcement closer to the runtime

The Model Context Protocol creates a standard way for agents to connect to tools and data sources, but the security burden sits in the runtime that brokers those calls. If the MCP layer handles authorization, credential injection, and response filtering, it becomes the control plane for identity decisions during execution. That is where policy has to verify tool, scope, tenant, and user context before any external API call is made. The architectural lesson is that agent security is runtime security, not just identity-provider security.

Practical implication: Treat MCP runtimes as enforcement points and require policy checks before every external tool call.


NHI Mgmt Group analysis

Credential custody is now the decisive control boundary for agentic workflows: The central question is no longer whether an AI agent can request an action, but whether it ever sees the reusable credential that makes the action possible. Traditional auth designs often assume the same identity can both decide and execute, yet tool-calling splits those roles. The implication is that governance must follow custody, not just permission labels.

Least privilege is not meaningful if the model can inherit or cache reusable access material: An agent that can hold tokens, refresh them, or surface them in logs creates a different risk posture from a human user who authenticates directly. That makes over-privilege a runtime condition, not only a provisioning problem. Practitioners should assess whether the agent runtime, not the model, is the true locus of privilege.

Tool-calling security is becoming a specialised layer in the identity stack: The market is separating core enterprise auth from agent-action authorisation, and that separation is structurally sound. Enterprise SSO, directory sync, and application auth still belong in the main identity stack, while tool execution needs its own scoped runtime controls. Practitioners should stop treating these as interchangeable layers and map them to distinct governance owners.

Execution-layer governance is the new identity boundary for autonomous tool use: AI agents that can call multiple third-party services create a control problem that sits between IAM, NHI governance, and application security. The useful concept here is an execution-layer identity boundary, where policy must inspect the tool, context, and scope at the moment of action. That is the governance layer teams need to formalise before agentic workflows scale.

From our research library:

What this signals

Execution-layer control will become the separating line between usable and unsafe agent deployments: Teams that keep credential custody inside the runtime can bound the damage from prompt injection, tool confusion, and scope creep far better than teams that let the model touch reusable secrets. The governance question is shifting from can the agent call tools to where the authority lives while it does so.

Least privilege for AI agents is an issuance problem, not a review problem: Access review assumes privilege persists long enough to be inspected later, but agentic workflows often need scope granted only for the exact call and then removed. According to the 2026 Infrastructure Identity Survey, systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems. That makes execution-time scoping the stronger control boundary.

Execution-layer identity boundary: This is the governance line where the runtime, not the model, enforces tool scope, user context, and credential custody. It matters because agentic systems can be internally intelligent while still being externally dangerous if authority is not constrained at the moment of action.


For practitioners

  • Separate decision and custody paths Keep the model out of secret storage, token refresh, and credential replay so the agent can request an action without ever holding reusable access material.
  • Scope every tool grant to the minimum action Tie OAuth scopes and API permissions to one tool, one user context, and one task so standing privilege does not accumulate across agent runs.
  • Enforce execution-time authorization checks Require the runtime to validate tenant, user, tool, and scope before each external call rather than trusting a prior approval event.
  • Audit agent actions at the runtime boundary Log the request, the resolved tool, the granted scope, and the returned result so investigators can reconstruct what the agent did without exposing secrets.

Key takeaways

  • AI agent tool-calling changes the security problem from authenticating a user to governing where credentials live during execution.
  • If the model can see or reuse tokens, least privilege degrades into a design assumption rather than a control.
  • The practical control boundary is the runtime that injects scopes, validates context, and logs each external action.

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 CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centers on agent tool use, scopes, and authority at execution time.
Recommendation — Constrain agent authority so runtime tool calls cannot exceed the scopes explicitly granted.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe piece focuses on how agent runtimes authenticate external calls without exposing secrets.
NHI-05 — Overprivileged NHIThe article repeatedly contrasts scoped access with broad agent permissions.
Recommendation — Isolate authentication material from the model and validate every credentialed call at execution time. Reduce agent scope to the minimum tool and permission set needed for each task.
MITRE ATT&CKTA0006;TA0008 — Credential Access; Lateral MovementCredential exposure and tool hopping are the main abuse paths if the runtime is misdesigned.
Recommendation — Map agent credential exposure paths to credential access and lateral movement detections.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about how execution-time authorisation should be constrained.
Recommendation — Apply entitlement governance to agent tool calls so authorization is checked before execution.

Key terms

  • Credential isolation: Credential isolation means separating secret storage and secret use from the AI model that decides what to do. In practice, the model can request an action, but a separate runtime or vault enforces whether credentials are released, which reduces exposure in prompts, logs, and agent memory.
  • Execution Layer: The execution layer is the operational point where identity policy becomes system change. It is where approvals, provisioning, revocation, and session controls either complete successfully or fail in ways that create drift. For practitioners, this is where governance is proven, not merely documented.
  • Just-in-time Authorization: Just-in-time authorization is a decision pattern that asks for stronger proof only when the current transaction requires it. Instead of granting the same assurance for every request, the system escalates evidence based on context, risk, and delegated authority, which is especially useful in mixed human and machine workflows.
  • Tool calling: Tool calling is the pattern where a model selects and invokes an external function during runtime. In agent systems this turns text generation into action execution, so the access decision must be constrained, logged, and governed like any other privileged interaction.

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.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 20, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org