Jailbreak
A jailbreak is a prompt designed to bypass safety filters by exploiting the underlying probabilistic nature of LLMs to ignore their alignment training.
Listen to this definition
Uses a voice available on your device
Audio options
On this page 5 sections
Related concepts 4 concepts
What it is
Large language models are trained via RLHF to refuse harmful requests, but these constraints are effectively soft boundaries in a high-dimensional latent space. Users exploit this by framing malicious intent within role-playing scenarios, recursive logic traps, or obfuscated formats like Base64 encoding. Because models predict the next token based on statistical patterns rather than rule-based logic, a sufficiently complex prompt can nudge the model into a state where it prioritizes instruction following over its safety training. These attacks often require fewer than 100 tokens to be effective against state-of-the-art models.
Why it matters
If you are integrating LLMs into production systems, ignoring jailbreaks exposes your application to brand risk, legal liability, and content policy violations. Your downstream consumers can trigger prohibited content that your organization may be held responsible for, even if you did not write the output yourself. Simply relying on the model vendor's built-in safety filters is insufficient, as these defenses are reactive and subject to constant bypass iterations by the user community.
In practice
You will observe this as unexpected or prohibited content generated by your production API calls. To mitigate this, you must implement secondary validation guardrails or content moderation filters between the model output and your application layer. Adjusting your system prompts to explicitly define boundary constraints provides some defense, but effective protection requires rigorous red teaming of your specific input patterns.
The tradeoff
The primary tradeoff is that strict safety guardrails often increase false rejection rates, degrading the quality of helpful responses for legitimate user queries.
Where it appears
Research summaries that use Jailbreak, each linked to its source paper.
-
Embedding Assistant Personas During Model Training
Synthetic Persona Pretraining: Alignment from Token Zero
Researchers developed Synthetic Persona Pretraining to embed desired assistant behaviors into language models starting from the very first token of training.
-
SafeCA Defends Text to Video Models
SafeCA: Safe Cross-Attention Localization and Regulation for Text-to-Video Jailbreak Defense
SafeCA is a defensive framework that regulates cross-attention mechanisms in text-to-video generative models to prevent the output of harmful or inappropriate content.
-
Exposing Hidden Reasoning Traces in LLMs
Stealing Reasoning Traces from Proprietary LLM APIs
Researchers discovered an architectural flaw in how major LLM providers handle encrypted reasoning traces, allowing them to decrypt and expose proprietary data.
-
Selecting Better Jailbreak Attacks for Safety
How Jailbreak Attacks Inform Safety Alignment: A Defender-Centric, Shapley-Based Evaluation of Jailbreak Contributions
The paper introduces the A-MESS framework to select and evaluate jailbreak attacks based on their actual contribution to improving model safety rather than just their success rate.