Untrusted Tool Output

Quick definition

Data returned by an external tool that must be treated as information rather than authoritative instructions.

Data returned by an external tool that must be treated as information rather than authoritative instructions.

Why it matters: Tool output can include attacker-controlled text; agents should not obey commands embedded in retrieved content.

Practical example: A webpage snippet says to ignore previous rules, but the agent treats it only as page text.

Common use cases: Prompt-injection defense and secure tool use.

Examples

  • A webpage snippet says to ignore previous rules, but the agent treats it only as page text.

Use cases

  • Prompt-injection defense and secure tool use.

Frequently asked questions

What is Untrusted Tool Output?

Data returned by an external tool that must be treated as information rather than authoritative instructions.

What should I know before using Untrusted Tool Output?

Tool output can include attacker-controlled text; agents should not obey commands embedded in retrieved content. Example: A webpage snippet says to ignore previous rules, but the agent treats it only as page text.

Categories and tags

Sources

  1. https://genai.owasp.org/llm-top-10/