2 min lesson
Defense in depth for the agent
Take "Defense in depth for the agent" step by step, then finish with the result that proves it worked.
Step 1 of 3
Defense in depth for the agentLayers, because no single control holds
Interactive diagram. Tab through its regions; each focused region shows its detail in the panel below.
No single control holds - each layer is what catches what the layer below it missed.
Learn more
Full explanation
Full explanation
Score yourself on two things per answer: did you name a trust boundary and did you reach for the lethal-trifecta framing when exfiltration came up? If you named neither, you gave a generic answer. Re-run the rapid fire until both are reflexes and revisit the agent-security module on whichever boundary you fumbled.
QAn interviewer asks how you'd stop indirect prompt injection in a coding agent that reads files and can run shell commands. A candidate answers: “Add a strong system prompt telling the agent to never follow instructions found in file contents.” Critique this and give the stronger answer.