What an Unused Permission Actually Costs You

Shahar Man 5 min read

A support agent went live with read access to three services' logs so engineers could query them in plain English. Six months on it has read and write on eight services, admin keys for two internal APIs, and a service account that can create and delete log groups. Not once has it used the admin rights. Nothing has alerted. No one has reviewed it. By every operational measure, the agent looks fine.

That is the usual shape of over-permissioned AI: not a fire, but a slow pile of capability that nobody assessed. It shows up in no dashboard, and it sits there waiting for any input that bends the agent's behavior. The bill never arrives as an invoice line; it shows up as exposure that grows as the agent takes in more input from more places.

Why Over-Granting Is the Normal Result

No single bad decision produces this. It is what falls out of how agents get built and extended. Platform teams focus on function: what does the agent need to do its job well? Security, when consulted at all, sees the agent at first launch and then not again until something forces a second look. At setup, speed and capability get rewarded; minimal scope gets nothing.

Convenience reinforces it. Reusing an existing service account's full scope is faster than minting a credential for the agent alone. Pointing the agent at a shared MCP server with every tool exposed is easier than configuring a restricted view. Each shortcut looks small. Spread over a platform with dozens of agents, they produce a landscape where no one deliberately over-granted anything, yet every agent holds far more than it needs.

Incremental growth compounds it. Each new feature may need a new permission, so a permission gets added. The older grants, no longer needed after the feature they served was rewritten or dropped, stay put. The profile of a mature agent often reads like a history of everything it was ever configured to do, rather than a description of what it does now.

What the Extra Scope Can Do

Excess permissions work differently depending on what they permit, and sorting the extra scope by kind helps decide what to fix first.

Write and delete rights. These stand apart from read. A read-only agent that gets compromised or misdirected can leak data; one with write access can alter or erase it. The damage from an incident scales with what the agent can write, not only what it can read. Write grants, especially to production stores, belong at the top of the queue.

Rights that escalate. These are more dangerous still. An agent allowed to mint IAM credentials, add API key grants or edit access policies has an escalation path inside its own scope. Anyone who can steer that agent can create a new broadly privileged credential and step past whatever the agent itself was allowed to do. Such grants often arrive in service accounts created wide for convenience and never trimmed. They undermine the very boundary the permission model is meant to hold.

Lateral reach. An agent's blast radius is not bounded by its direct credential. It runs through every connected MCP server and every system behind those servers. A narrow direct credential says little if the agent can invoke tools that touch high-impact systems. Seeing the real picture means following the graph outward, not reading one service account in isolation.

Why It Stays Invisible

Operational monitoring is built to flag behavior that departs from a baseline. An agent that suddenly begins writing where it has only read before may trip a behavioral alert, if such monitoring exists. What no standard monitor shows is the distance between what the agent may do and what it needs to do, because that distance generates no signal. The permission exists. It goes unused. There is nothing to detect.

Audit logs record what happened, never what could have happened. A quarterly IAM review might catch the worst cases, but few organizations run reviews aimed at agent credentials. The support agent's service account sits unmarked in a long list and receives the same scrutiny as the rest: none, until an incident forces the issue.

This is a visibility gap with a structural cause. It closes when someone holds a continuous view of agent permission profiles set against observed behavior, maintained all the time rather than assembled during an incident.

Where Remediation Starts

Finding the over-permissioned agents does not call for a full audit. For each agent, three facts are enough: every permission its credential holds today, every operation it has actually run recently, and the smallest set of permissions that would let it keep doing that work.

The gap between what it holds and the minimum it needs is the remediation target. In most orgs the exercise turns up permissions the minimum cannot justify at all. A read-only workload carrying write credentials is an obvious candidate for downscoping. An agent with admin access that has never used it is an obvious candidate for losing it.

The narrowing itself is ordinary engineering. Grant the smaller scope in staging, run every workflow the agent supports, confirm nothing breaks, then rotate the production credential. None of that is novel. What has been missing is the starting point: which agents need this, in what order, and by how much their scope overshoots.

Back to Security Brief