Toutes les vulnérabilités
HIGHAI/LLM

AI-EXCESSIVE-AGENCY-2025

LLM security · Excessive agency / unsafe tool use

Résumé

Excessive agency is the class of vulnerabilities where an LLM agent is granted broad tool or function access (file system, shell, email send, database writes, payments) and acts on manipulated model output without per-action authorization, turning any successful prompt injection into real damaging actions. OWASP LLM06:2025 (published November 17, 2024) decomposes the root causes into excessive functionality (extensions exposing more than needed, e.g. a doc-reader tool that can also delete), excessive permissions (downstream credentials with UPDATE/INSERT/DELETE when only SELECT is required), and excessive autonomy (high-impact operations executed without confirmation). The canonical exploit chain is an indirect prompt injection inside an incoming email that drives the agent to scan the inbox for sensitive data and forward it to the attacker, because the agent has both send-mail capability and standing authority to act. The class maps to OWASP LLM06:2025 Excessive Agency.

Comment l’éviter dans votre code

  • Minimize tool scope and replace open-ended functions like 'run shell command' with narrow, purpose-built actions.
  • Grant downstream systems least-privilege credentials scoped to the agent's actual need.
  • Require human-in-the-loop approval for high-impact actions such as send, delete or payment.
  • Execute tools in the requesting user's context, not a privileged shared account.
  • Mediate and validate every downstream request against an authorization policy.

Références

Vulnérabilités liées

Tout AI/LLM →