Direct injections and jailbreaks
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, the faulty line, pairs
Quiz 7.2Direct injections and jailbreaksStart practice Practice has no timer and a review after every answer.
01
What we check
- Techniques of direct injection
- Rate limits against injections
- Input filtering
- Where a prompt is vulnerable to injection
- Layered protection against injections
- Automatic search for attacks
02
Where to read
- Wilson, The Developer's Playbook for LLM Securitych. 4 · ch. 4, Examples of Prompt Injection Attacks · ch. 4, Mitigating Prompt Injection