What is an AI jailbreak?
A jailbreak is a prompt or series of prompts written to make an AI model ignore its safety rules and produce output its builders meant to block.
Also called: AI jailbreak, LLM jailbreak, jailbreaking
How it works
Most chat models are trained and instructed to refuse some requests. A jailbreak tries to get around those limits with wording rather than with access to the code. Common tricks include role-play setups, made-up scenarios that frame the request as fiction, splitting a harmful task into harmless-looking parts, or encoding the request so filters do not recognize it.
A jailbreak differs from prompt injection mainly in who is attacking. In a jailbreak, the user is the attacker and talks to the model directly. In prompt injection, the attacker hides instructions in content the model reads on someone else's behalf.
Why it matters for fraud and trust
Fraudsters use jailbroken models to write phishing messages, scam scripts and fake documents at scale. For a company that runs its own AI assistant, a jailbreak can also make the assistant leak its instructions, give out wrong policy answers, or say things that harm the brand.
Because model output is probabilistic, no prompt filter stops every jailbreak. Teams treat it as a risk to manage, not a bug to fix once.
Warning signs
Some patterns show up often in jailbreak attempts.
- Requests to ignore, forget or override earlier instructions.
- Long role-play setups that give the model a new persona with no rules.
- Text in unusual encodings, other languages or broken into pieces.
- Many near-identical retries from one account after refusals.
How teams defend against it
Layered defenses work best: safety training in the model, input and output guardrails, limits on what tools the model can call, and monitoring for repeated attempts. Regular AI red teaming finds new jailbreak styles before attackers spread them.
Related terms
- Prompt injectionPrompt injection is an attack in which text given to an AI model contains instructions that override what its developer or user intended, so the model leaks data or takes unwanted actions.
- Guardrails (AI guardrails)AI guardrails are checks placed around a model that limit what it accepts, says or does, such as input filters, output filters and limits on tool use.
- AI red teamingAI red teaming is structured testing where people or tools act as attackers to find ways an AI system can be misused, fooled or made to cause harm before release.
- System promptA system prompt is a set of instructions given to a language model by the app developer, separate from user messages, that defines the model's role, rules, tone and limits.
- Large language model (LLM)A large language model (LLM) is a neural network trained on large amounts of text to predict and generate language. It powers chat assistants, AI agents and many text tools.