Skip to main content

5 ways just-in-time access for AI agents fails

Steve Goldberg

Chief Marketing Officer

5 min read

At a glance

Standing access lets any compromised AI agent use everything it holds. Most just-in-time tools for agents leave that access in place. Here is what zero standing privilege takes.

Identity teams have wanted zero standing privilege for years. Every permission an account holds permanently is a permission an attacker gets the moment that account is compromised. Most companies settled for a compromise, because nobody can predict every access need and write it into policy ahead of time. Access got granted generously and rarely used to its full extent, and the risk mostly sat dormant.

Why standing access is a bigger risk with agents

People use what their daily work requires. Agents try every permission they hold, one API call and query after another, looking for anything that helps them finish the job. Access a person left unused for years becomes a live path to data within minutes.

Agents also multiply. They can create sub-agents, run in auto mode and approve their own steps, so the risk keeps growing as each one spins up more. Anything that subverts an agent, whether a prompt injection, a bug or a stolen token, acts with everything the agent holds.

Just-in-time access is the obvious answer, and plenty of products now claim it for agents. But many of them leave the standing access right where it was.

Where other JIT for agents falls short

Most just-in-time products for agents take one of five approaches. Four of them add a control in front of the agent but leave standing privilege somewhere the agent can still reach: on the user's account, on the role behind a credential, or on any path the control does not cover. The fifth removes standing privilege but puts a person in front of every request, so agents stall or approvals get rubber-stamped. These are the major approaches on the market, and each one leaves a gap an agent can use.

1. JIT on the agent's identity while the agent runs as the person

Some tools put just-in-time controls on the agent's own service account, while the agent actually runs as the person who launched it. A developer's coding CLI, for example, runs on the developer's credentials. Our product manager Richard Wang made the point in Stop giving AI agents standing access. Many users delegate their existing access to their agents, so an agent with no permissions of its own still reaches everything its user can. If the user keeps standing access, the agent inherits it.

2. Temporary accounts

Other tools create a separate account per request and delete it afterward. The person's own account keeps its standing access for the next agent to use. The audit trail also splits, because the change belongs to a throwaway account and the person who asked drops out of the record.

3. Short-lived credentials

Minting a fresh key or token per job sounds like JIT. The credential expires, but the role it unlocks stays exactly as broad as before, and the approach only covers systems that support dynamic credentials.

4. JIT through a proxy

Some approaches inject just-in-time tokens into traffic that passes through a gateway. Anything that goes around the gateway, such as a direct API call, a CLI or a console login, meets the full standing access underneath.

5. JIT that needs a person for every request

If every grant waits on a human, people approve from their inbox without much thought, or agents stall until someone does. An approval that starts with an email, a platform login and a click, with little attention to the risk, leaves the process slower, and security stays about where it started.

What zero standing privilege for agents takes

Zero standing privilege is the major outcome of just-in-time access, and getting there means changing the access itself, on the account the agent actually runs as.

With Hydden, the AI agent's account has no standing access. When a user asks an agent to do a task, the flow has four steps. The agent justifies access with a reason from the user. Hydden approves automatically based on runtime risk. Access is granted for a set time. When the task ends, Hydden revokes the access and verifies it is gone. Every request, approval and removal is recorded, so any access can be traced from request to removal.

Every AI agent access request goes through the decision engine. The engine is informed by your identity system of record, so it already knows who owns the agent, what account it runs as, the privilege that account holds, every change on it, and how sensitive the resource is. The engine checks whether the request fits the user's normal working patterns, past behavior and peers, then returns a yes or no with a confidence score. Low-risk requests are approved right away, and low-confidence ones go to a person. Access policy can override the engine where you configure it, and critical-tier access is never auto-approved. Each reviewer decision feeds back into how similar requests get handled.

Access granted outside Hydden is raised for review, so standing access does not quietly creep back. The just-in-time access for AI agents page walks through the flow step by step.

The same just-in-time control covers human accounts, machine accounts and the AI agents' own identities.

Run it alongside your AI gateway for defense in depth

Hydden is often implemented alongside an LLM or AI gateway, because the two cover different layers. The gateway controls the traffic: the prompts, model calls and tool calls that pass through it. Hydden controls the access the agent's account holds, using the context from your identity system of record to decide what that account gets, for how long, and when it is removed.

Running both gives you defense in depth. If an agent goes around the gateway with a direct API call, a CLI or a console login, it still reaches an account with no standing access. If a request does pass through the gateway, the access behind it is still scoped to the task and revoked when the task ends.

Just-in-time access for AI agents is generally available to all Hydden customers. See the product update for what shipped.

Share

Steve Goldberg

Chief Marketing Officer

Chief Marketing Officer at Hydden. Focused on connecting enterprise security teams with the identity visibility they need.

Stay ahead of identity security threats

See every identity in your environment, with owners and privilege.

Hydden Logo

Hydden, Inc.

1701 Rhode Island Ave NW, 4th Floor

Washington, DC 20036

SOC 2 Type 2 Certified

Stay updated

Sign up to be the first to know about important company and product updates

© 2026 Hydden Inc. All rights reserved.

For AI agents