Excessive agency
An AI agent with more tools, permissions or autonomy than its task needs, so a mistake or an injected instruction can do real damage.
Excessive agency is an AI agent having more tools, permissions or autonomy than its task needs, so a mistake or an injected instruction can do real damage. The term comes from the OWASP Top 10 for LLM applications, where the 2025 edition lists it as LLM06.
OWASP names three causes: excessive functionality (a tool that can delete when the task only reads), excessive permissions (a database user with write access to everything) and excessive autonomy (acting without a person approving high-impact steps). The model will sometimes be wrong or manipulated; agency decides how much that costs. Typical cases are a generic “run any SQL” tool when the feature needs one query, an OAuth token with full mailbox access for a feature that only reads, and a support agent that can issue refunds with no limit.
The fix is least privilege applied to agents: narrow tools, scoped credentials for each non-human identity, and human in the loop approval for anything that sends, pays or deletes. It differs from the lethal trifecta, which is about data leaving; excessive agency is about actions taken. Guardrails limit both, and agent autonomy levels help decide how much freedom a task deserves.
Sources
- OWASP GenAI: LLMRisks Archive genai.owasp.org
- OWASP GenAI: LLM06:2025 Excessive Agency genai.owasp.org
Related terms
- Lethal trifecta: An AI agent that has private data, reads untrusted content and can send data out can be tricked into leaking that data.
- Guardrails: Checks around a model that block, fix or flag inputs and outputs that break the rules.
- Human in the loop: A person approves, edits or rejects the agent’s action before it takes effect.
- OWASP Top 10 for LLM applications: OWASP’s list of the most important security risks in applications built on language models, with a separate list for AI agents.
- Non-human identity (agent identity): Accounts, keys and tokens used by software rather than people: service accounts, API keys, CI tokens and, more and more, AI agents.
- Agent autonomy levels: How much an AI agent may do without a person: suggest only, act with approval, act and report, or act alone within limits.
- Confused deputy (AI agents): A program with broad permissions is tricked into using them for someone who should not have them; agents with shared service accounts are a common case.
