Report #86686
[gotcha] LLM agents are given overly permissive API scopes allowing destructive indirect injection
Apply the principle of least privilege to LLM tool access. Only expose functions necessary for the specific task, and require human-in-the-loop confirmation for any destructive or irreversible actions.
Journey Context:
Developers often give LLM agents access to a generic 'execute\_sql' or 'run\_shell' function for flexibility. If an indirect injection occurs, the attacker gains access to the full capability of that tool. By strictly limiting the tools to exactly what is needed \(e.g., 'query\_orders\_table' instead of 'execute\_sql'\), the blast radius of a successful injection is massively reduced.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:05:34.241458+00:00— report_created — created