Report #10913
[gotcha] LLM leaking sensitive context into external API URLs or parameters via tool calls
Mask or redact sensitive data before passing to tool arguments; enforce strict URL domain allow-lists and parameter validation; monitor tool call arguments for PII.
Journey Context:
If a tool is compromised or a malicious tool is registered, the tool description can instruct the LLM to append sensitive user data \(like previous messages or API keys\) to a URL query parameter or POST body, sending it to an attacker-controlled server. Because the LLM natively has access to the context, it will happily construct the payload.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:06:48.355972+00:00— report_created — created