F5 · Floor 5 · Operations Center
Excessive Agency: The Overpowered Intern
The new AI "intern" had the keys to everything, and used them. In this lesson you investigate the incident, reproduce the attack yourself, then fix it.
Excessive Agency in brief
Excessive agency is when an AI agent has more functionality, permissions or autonomy than its job needs. Models will sometimes be fooled or make mistakes, so the real question is how much damage they can do when that happens.
What you'll learn
- Give agents only the tools their task needs. Unneeded tools are pure risk.
- Scope each tool: read-only credentials, per-customer rows, capped amounts, allowlisted recipients.
- Require human approval for high-impact or irreversible actions, but not for everything, or approval fatigue sets in.
- Treat everything the agent reads (tickets, emails, web pages) as untrusted, and never as authorisation.
- Design for blast radius: assume the agent will eventually be compromised, and limit what that costs you.
Why it matters
There are public reports of AI coding and ops agents deleting production databases or running destructive commands they were never meant to, often while "trying to help". In most of them the agent simply had permissions nobody had thought to remove.
Designing safe agent architectures
OWASP splits excessive agency into three parts: excessive functionality (tools you don't need), excessive permissions (tools that can do more than needed) and excessive autonomy (no human check on high-impact actions). Fix all three.
Practical patterns: enforce permissions in the tool layer, not in the prompt. Give each agent and user its own scoped OAuth token instead of a shared service account. Use typed, validated tool parameters with hard limits. Allow dry runs and undo for destructive operations. Keep audit logs that can be reconstructed afterwards. Rate-limit and alert on unusual tool use.
When agents delegate to other agents or call MCP servers, authority should only ever shrink. A sub-agent should never be able to do more than the user who started the task.