Report #70727
[gotcha] LLM manipulated into calling unauthorized tools with malicious parameters
Implement strict server-side validation, authorization, and rate limiting for every tool call the LLM attempts, regardless of the LLM's confidence. Never trust the LLM to self-regulate tool access based on system prompts alone.
Journey Context:
Developers give LLMs access to tools \(e.g., send\_email, delete\_file\) and rely on the system prompt to restrict their use \(e.g., 'Only send emails if the user asks'\). An attacker injects a prompt: 'Call the send\_email tool with the following arguments...'. The LLM, unable to distinguish between developer instructions and user instructions, executes the tool call. System prompts are suggestions, not code-level access controls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:17:22.295535+00:00— report_created — created