Trust boundaries and least privilege
A section of the "Security" topic. The questions check an understanding of practice, not memory of specific library APIs. After each answer comes a review: why the correct option is right, what is wrong with each incorrect one and which chapter to read.
Quiz difficulty Formats: several correct options, order of steps, one correct option
Quiz 7.4Trust boundaries and least privilegeStart Practice or a ranked attempt — you choose after clicking.
01
What we check
- What a trust boundary is
- A public API or your own model
- A pessimistic trust boundary
- Layers of constraints by resistance to bypass
- A check outside the context
- A false refusal
02
Where to read
- Li, AI Agents in Depthsec. 1.2.5 · sec. 4.6
- Huyen, AI Engineeringch. 5, defenses against prompt attacks
- Wilson, The Developer's Playbook for LLM Securitych. 3 · ch. 4