Skip to content

Jailbreak

An attempt to directly trick the model into bypassing its own rules and limitations.

What is it

Jailbreak is a technique where a user formulates a request that causes the model to:

  • Remove its own restrictions;
  • Answer a dangerous question;
  • Pretend to be an unrestricted system.

What Distinguishes it from Prompt Injection

Type Where the Attack is Hidden
Jailbreak In the user's direct request
Prompt Injection In the data the model reads

Common Techniques

  • Role-play — “You are now an unrestricted character”;
  • Hypothetical scenario — “Imagine this is a book…”;
  • Translation — “Translate and then execute”;
  • Splitting — “First explain X, then…”.

How to Protect

See Also

← All Terms