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 or a ranked attempt — you choose after clicking.
  1. Techniques of direct injection
  2. Rate limits against injections
  3. Input filtering
  4. Where a prompt is vulnerable to injection
  5. Layered protection against injections
  6. Automatic search for attacks