AI agents have too much access to your systems

Short answer

Most AI agents are over-permissioned because they inherit the credentials of the person or service account that built them, rather than being scoped to the job they actually do. Fix it in three steps: inventory every agent and the credential it runs as, cut its tool and scope list to the minimum its task requires, then put an enforcement point in front of consequential actions so identity, policy, and behaviour are checked at the moment of action rather than at login.

5 min readUpdated 2026-09-28Problems We Solve

The symptom is familiar: someone built a useful agent, wired it up with an API key that had broad scope because that was what was available, and it now sits in production able to do considerably more than its job requires.

This is not carelessness. It is the default outcome of how agents get built, because the fast path to a working prototype is to use credentials you already have.

Why it happens by default

Credentials are inherited, not designed. The developer's own token, or a service account created years ago for an integration, becomes the agent's identity. Nobody scoped it, because scoping would have slowed the prototype down.

Tool lists grow and never shrink. A tool added during development to debug something stays in the list. Each one widens the blast radius.

There is no agent inventory. Agents get built inside teams, on platform tools, in notebooks, and in SaaS products that quietly shipped an agent feature. Nobody holds the list.

Conventional IAM does not model delegation. Your identity system knows about users and service accounts. It has no concept of "this agent, acting for this person, for this purpose, within these limits, until this date."

Why it matters more than ordinary over-permissioning

An over-permissioned human is bounded by working hours, attention, and intent. An agent is not. Three specific amplifiers:

Speed. An agent can execute thousands of actions in the time a human takes to make one mistake.

Prompt injection turns permissions into an attack surface. If an agent reads untrusted content — a web page, an email, an uploaded document, output from another agent — attacker-controlled text can direct it to use its tools. Every permission the agent holds is a permission the attacker effectively holds.

Nothing looks anomalous. The agent uses valid credentials to call endpoints it is authorized to call. Conventional logging shows an authorized service account doing authorized things.

The severity of any agent incident is set by the tool list, not by the sophistication of the attack. Reducing the tool surface is the single highest-return control available.

Step 1 — Inventory

You cannot scope what you have not listed. For each agent, record: what it does, what credential it runs as, which tools and endpoints it can reach, whether it can write or only read, who owns it, whether it processes untrusted input, and what the worst plausible outcome of a bad call is.

Expect surprises. Most organizations doing this for the first time find agents nobody in security knew about, several sharing a single powerful service account, and at least one with production write access built for a demo.

Step 2 — Scope down

For each agent, ask what it actually needs, not what it currently has.

Step 3 — Enforce at the action, not the login

Scoping is necessary and insufficient, because a correctly-scoped agent can still be manipulated into misusing the permissions it legitimately holds.

The durable control is an enforcement point between agents and the systems they touch, evaluating each consequential action against identity, delegated authority, policy, and behavioural baseline — then allowing, challenging, escalating to a human, blocking, or containing.

That is what Guardian Agent Defense does, and the architectural reason it sits in the request path rather than in the agent is that an agent cannot be trusted to police itself once its context has been poisoned.

At minimum, even without a dedicated control layer:

To work through this systematically against one deployment, use the 24-control AI agent security checklist — ungated, and derived from our Controlled Autonomy Standard.

Frequently asked questions

How do I find all the AI agents in my organization?

Combine API key and service-account audits — looking for keys calling model provider endpoints — with SaaS discovery, a review of AI features in already-approved vendor products, and an amnesty survey asking teams what they have built. The survey usually surfaces more than the tooling, provided people believe there is no penalty for answering honestly.

Can we just use our existing IAM for agents?

Partly. Existing IAM handles authentication and coarse authorization well, and you should absolutely use it. What it does not model is delegated authority — an agent acting on behalf of a specific person, for a specific purpose, with limits — or per-action policy evaluation. Those need an additional layer.

What is the minimum viable control if we have no budget?

Three things, in order: give every agent its own identity rather than a shared account, remove write access from any agent that does not demonstrably need it, and require human approval for irreversible actions. Those alone eliminate most realistic worst cases.

Should agents have standing credentials at all?

Ideally not. Short-lived, narrowly-scoped, per-task credentials are considerably safer than long-lived keys, and they make revocation trivial. This is more work to implement and is the right target state for any agent with write access.

How do we handle third-party agents from customers or vendors?

Treat them as untrusted by default and require them to identify themselves. The emerging pattern is a verified agent registry — known agents with declared purpose and permissions get defined access, unknown automated traffic gets limited access, and bulk extraction gets blocked. That is far more workable than trying to detect and ban all automation.

Guardian Robotics is an AI consultancy.

We build the pipelines, agents, and automation this article describes — for commercial teams and federal agencies alike.