Excessive agency – Mangrove

GlossaryAgent failure modes

Excessive agency

Definition: Excessive agency is when an AI application has more functions, permissions or autonomy than its task needs, so a bad output can become a harmful action.

An application built on a large language model (LLM) often lets the model call tools, and an agent may also choose which tool to call. In its Top 10 for LLM applications, the Open Worldwide Application Security Project (OWASP), a nonprofit foundation, calls excessive agency “the vulnerability that enables damaging actions to be performed in response to unexpected, ambiguous or manipulated outputs from an LLM”, whatever caused the model to malfunction (OWASP, LLM06:2025). It names three usual root causes: excessive functionality, excessive permissions and excessive autonomy. Its examples include a tool meant only to read documents that can also modify and delete them, a tool that reads a database through an account that also has permission to update, insert and delete records, and an application that deletes a user’s documents without asking the user to confirm. The triggers it lists include hallucination and prompt injection.

For example, an agent whose exchange API key also allows withdrawals may move funds off the exchange if an injected instruction or a misread request leads it to ask for a withdrawal, although placing orders never needed that permission. OWASP’s 2025 list recommends offering only the tools the task needs, giving each tool the fewest permissions that work, requiring a person to approve high-impact actions (human in the loop), and implementing “authorization in downstream systems rather than relying on an LLM to decide if an action is allowed or not”.

Mangrove Agent’s setup for the Kraken exchange tells the user to create an API key with only the permissions needed to trade and with Withdraw Funds off, so the key cannot move funds off the exchange. The open-source Mangrove Agent also refuses to sign wallet-delegation transactions under EIP-7702, an Ethereum Improvement Proposal that lets an ordinary account run code stored at another address. Mangrove enforces position sizing rules, daily loss limits, drawdown limits and circuit breakers in code outside the AI model.

OWASP listed Excessive Agency as LLM08 in its Top 10 for LLM applications for 2023-24, first released on 1 August 2023, where it described damaging actions taken “in response to unexpected/ambiguous outputs from an LLM”. The 2025 list added manipulated outputs to that description. In the 2026 edition, the description is unchanged and the risk moved up to third place, as LLM03:2026.