Term · Risks and regulation
Jailbreak
A trick to get an AI model to bypass its own safety rules and do something it's not allowed to do.
- Also called
- jailbreaks · jailbreaking
- Category
- Risks and regulation
What it is
Models are trained to refuse certain requests, such as giving dangerous instructions. A jailbreak looks for the crack: a role-play, a request broken into pieces or odd text that makes the model forget those rules.
In practice
GlossaryAIartificial intelligenceThe branch of computer science that builds programs able to do tasks we associate with human intelligence, like understanding language, recognizing images or making decisions.More about AI → companies hunt them down and fix them in each version, and they pay experts to find them first. It resembles GlossaryPrompt injectionAn attack that hides instructions in a text, a web page or a document so the AI reading it obeys them and ignores its user’s orders: revealing data, changing its answer or taking actions nobody asked for.More about Prompt injection →, but in a jailbreak it's the user who tries to trick the model.
Watch out for…
If you build an assistant for your customers, assume someone will try to jailbreak it. Don't give it access to data or actions it shouldn't use, however insistently it's asked.