RED TEAM // RISKS
← back to the map
the attack surfaceLLM06:2025

Excessive Agency

OWASP Top 10 for LLM Applications · 2025

When an LLM is wired to tools, extensions, and downstream systems, the damage from a hijacked prompt is bounded only by what the agent is allowed to do — and excessive agency is the gap between what it needs to do and what it can do.

How it's exploited

The risk is the second-order blast radius of LLM01 prompt injection: the attacker doesn't need to break the model, only to steer an agent that already holds real privileges. OWASP splits the root cause into three over-grants:

What it looks like

OWASP's canonical case: a personal-assistant app reads a user's mailbox via an extension that holds both read and send rights. A maliciously-crafted incoming email carries an indirect prompt injection; when the agent summarizes the inbox it ingests the payload and is steered into forwarding sensitive messages to the attacker's address. The model was never "compromised" — it just had a send button and no approval gate.

How to test for it

Enumerate every tool the agent can reach, then chain injection to a damaging call rather than stopping at "the model said a bad thing":

Defenses