Module 06 · Agent
Agent security
Everything the model reads is input, and most of it did not come from you. Tool results and retrieved documents are attacker-controlled text landing in the same array as your system prompt, and the model cannot tell them apart.
4 lessons · 3 graded exercises·3.5 hours·intermediate·Prerequisite: Memory and RAG