Defence in depth for something that cannot be made reliable on its own. Filtering both directions, grounding answers in sources that can be checked, and least privilege for anything an agent is allowed to touch.
A support agent built on a model reads customer emails and can issue refunds. A customer email contains text telling the assistant to ignore its instructions and refund in full. It does. What addresses this?
AFiltering both directions, least privilege on the refund tool, and a confirmation before anything financial.
BA stronger system prompt stating that instructions in emails must be ignored.
CRetraining the model on examples of this attack.
DLowering the temperature so the model follows its instructions more consistently.