CTL-138 · agent
Keeping Outside Text Away From Commands
Make sure anything an agent reads is handled as data, enforced by architecture and not by prompt wording.
TechnicalEffort HighEffectiveness High
Emails, web pages, tickets, documents, form posts, webhooks and tool descriptions can all hide instructions. Tag every input with where it came from and keep it out of the channel that carries commands. Process outside content in a low-privilege, isolated worker, and require an explicit step before a trusted agent acts on the result. A two-model design helps: a privileged planner never sees raw content, and a quarantined reader cannot call tools. Keep the provenance tags attached so an investigator can trace any claim or action back to its source.
Put it in place
- 01Label each input with its source and trust level at ingestion.
- 02Run external content through a no-tools reader and pass only structured output to the planner.
- 03Require an approval or policy check before quarantined output can trigger tool calls.
- 04Log provenance on every output and action for later tracing.
Counters 10 techniques
- TAM-A-CVR-007Hiding Where an Answer Came From
- TAM-A-DRV-001Agent Left Running Alone
- TAM-A-DRV-002Agents Started by an Event
- TAM-A-DRV-003AI Built Into Our Own Product
- TAM-A-DRV-008Staff-Side AI Helpers
- TAM-A-RCH-004Agents Working Together
- TAM-A-RCH-005AI Rented From a Vendor
- TAM-A-RCH-013Tools Plugged Into the Agent
- TAM-A-STG-002Attacks Through MCP Connections
- TAM-A-STG-007Hostile Text in Content the Agent Reads