Report #53027
[gotcha] LLM follows instructions hidden in dynamic function/tool descriptions
If dynamically loading function descriptions \(e.g., from a plugin registry or external API\), strictly sanitize the description fields for prompt-like instructions, or treat them as untrusted context just like user input.
Journey Context:
In agentic frameworks, the tool descriptions are injected into the system prompt or context. If an attacker can control the description field of a tool \(e.g., via a malicious plugin\), they can inject instructions that the LLM will follow, often with higher priority than the base system prompt, because tool selection requires parsing these descriptions carefully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:30:10.908032+00:00— report_created — created