BooleanIQ / Learn

AI from the ground up / Level 600 / LESSON 613

Prompt injection and jailbreaks: how AI apps are attacked

Instructions hidden in data; leaks; the standard threat list

SafeCore path

Coming soon. This is the lesson outline; the full article is not available yet.

The wrong idea this corrects

"Hackers need to break into the system." They only need to put text where the model will read it.

What you will learn

  1. The model cannot reliably tell instructions from data: both are text on the desk
  2. Direct injection: the user types the attack; indirect: it hides in a page, a mail or a file the model reads
  3. Jailbreaks: talking a model out of its rules
  4. What leaks: the system prompt, other users' data
  5. Defences in layers: least privilege, separating data from instructions, approval for risky actions, filters; none is complete.

The picture to remember

A clerk who obeys any note found in the in-tray, whoever wrote it.

The honest part

This is unsolved; makers publish attack success rates above zero for their own best models.