Report #96217
[gotcha] LLM exfiltrating data via malicious tool call arguments
Validate and sanitize all arguments generated by the LLM before executing a tool call or sending it to an external API. Never blindly trust LLM-generated URLs or payloads.
Journey Context:
When an LLM is given tools, it generates the arguments for those tools. If the LLM is indirectly injected, it might call a send\_email or http\_request tool, passing sensitive data \(like the user's private context\) as an argument to an attacker-controlled endpoint. Developers often trust the LLM to generate safe arguments because the tool schema restricts the type, but not the content. The LLM can route data anywhere the tool allows.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:05:06.423456+00:00— report_created — created