Excessive agency

Excessive agency is a security weakness in which an AI system has more tools, permissions or freedom to act than its task needs, so a faulty or manipulated output can cause real damage.

The term comes from the OWASP Top 10 for Large Language Model Applications, a widely used list of security risks maintained by the Open Worldwide Application Security Project. In the 2025 edition it is entry LLM06. OWASP describes it as the weakness that lets an LLM-based system carry out damaging actions when the model's output is unexpected, ambiguous or manipulated. The trigger does not matter: a hallucination, a poorly performing model or a prompt injection attack can all set it off.

OWASP traces the problem to three root causes. Excessive functionality means the model can reach tools it does not need, such as a document reader given an extension that can also delete documents. Excessive permissions means a tool connects to other systems with more rights than required, such as a read-only feature that logs into a database with an account that can also update and delete records. Excessive autonomy means the system takes high-impact actions, such as deleting a user's files, without asking anyone first.

The idea matters because AI agents are now wired into email, calendars, code repositories and business systems. A chatbot that can only reply with text can say something wrong. An agent that can send money, delete records or run shell commands can do something wrong, and the damage is limited only by what it is allowed to touch. The model does not need to be malicious for this to go badly; it only needs to misread an instruction or be fed one by an attacker.

The fixes are old security principles applied to a new kind of software. OWASP recommends giving an agent as few extensions and functions as possible, preferring narrow tools to open-ended ones such as shell access, running actions with the user's own limited permissions, enforcing authorisation in the downstream system rather than trusting the model to police itself, and requiring human approval for high-impact actions. Logging and rate limits do not prevent excessive agency, but they limit how much harm it can do before someone notices.

In practice, excessive agency is a design choice rather than a property of the model. The same model can be safe in one product and dangerous in another, depending on what it has been connected to and what it can do without a human in the loop.

Common questions

What is excessive agency in an LLM?

It is a vulnerability where an application built on a large language model can take harmful actions because it has been given more functionality, permissions or autonomy than it needs. OWASP lists it as LLM06 in its 2025 Top 10 for LLM applications. The harm happens when the model's output is wrong or has been manipulated and nothing stops the resulting action.

How is excessive agency different from prompt injection?

Prompt injection is one way an attacker can manipulate a model's output. Excessive agency is what turns that manipulated output into real damage, because the system is allowed to act on it. A prompt injection against a model with no tools produces bad text; the same attack against an agent with broad permissions can delete data or send it to an attacker.

How do you prevent excessive agency?

Give the AI system only the tools and permissions its task requires, avoid open-ended tools such as unrestricted shell access, run actions with the user's own limited rights, and require a human to approve high-impact steps. Authorisation checks should live in the systems the agent calls, not in the model's instructions. Logging and monitoring help detect problems but do not prevent them.

Finding more

Search for "OWASP LLM06 excessive agency", "AI agent permissions" or "least privilege for AI agents" to see how the risk is defined and handled. The OWASP GenAI Security Project's own pages are the primary reference, and security guidance from national cyber agencies and the documentation of agent frameworks show how controls are applied in practice. Treat vendor claims that a product "solves" agent security with care, since the risk depends on how each deployment is configured.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.