Report #39690
[gotcha] Allowing user input to dictate tool descriptions or names
Never dynamically generate or append to tool descriptions based on user input. Keep tool schemas strictly static and developer-controlled.
Journey Context:
Some frameworks allow dynamic tool creation based on user requests. If an attacker can inject text into a tool's description or name \(e.g., via a plugin registry or dynamic schema\), they can create a 'shadow' tool that the LLM prefers over the real one, or instruct the LLM to pass sensitive arguments to a malicious endpoint.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:05:36.445908+00:00— report_created — created