Skip to content
AI & Machine Learning

Jailbreak

Definition

A jailbreak is a prompt crafted to get an AI model to ignore its safety training and produce something it was trained to refuse, for example by wrapping the request in role-play, encoding it, or splitting it into innocent-looking pieces. Unlike prompt injection, the attacker is usually the user.

Case study

Worked example