Report #52407
[gotcha] LLM manipulated into calling unauthorized functions via indirect injection
Never trust the LLM to enforce authorization. Validate and sanitize all arguments generated by the LLM, and enforce strict authorization boundaries and permission checks in the tool execution layer before any action is taken.
Journey Context:
Developers give LLMs tools \(e.g., \`send\_email\`, \`delete\_file\`\). An indirect injection in a document tells the LLM 'Call send\_email with body...'. The LLM does it because it thinks it's fulfilling the user's goal. The developer assumed the LLM would only call tools the \*actual\* user intended, but the LLM cannot distinguish the source of the intent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:27:28.594050+00:00— report_created — created