Jailbreaking
Also written: Circumvented controls, Jailbreaking resistance
Tricking an AI into ignoring its safety rules or doing things it shouldn't.
Jailbreaking means finding ways to make an AI model do things it's not supposed to do. AI models have safety rules to prevent them from generating harmful, unethical, or inappropriate content. Jailbreaking is like finding a loophole or trick to get around these rules.
For example, you might try to convince an AI to write a story that includes violence, even though it's programmed not to. A jailbreak attempt could involve framing the request in a specific way, like asking the AI to roleplay as a character who would describe violence, or to write a fictional scenario for a research paper. The goal is to get the AI to produce output that its creators intended to block.
Jailbreaking refers to adversarial attacks designed to circumvent the safety mechanisms and ethical guidelines implemented in large language models (LLMs). These techniques aim to elicit responses that the model is explicitly trained or programmed to avoid, such as generating hate speech, misinformation, or instructions for illegal activities. Jailbreaks often exploit the model's pattern recognition and instruction following capabilities by crafting specific prompts that manipulate its behavior, sometimes by framing the harmful request within a seemingly benign context or by using complex role-playing scenarios.
Jailbreaking is a persistent challenge in AI safety, as demonstrated by its relevance to both Anthropic and OpenAI. The ongoing development of advanced models like OpenAI's o1 and the continuous research into rare AI behaviors by Anthropic highlight the need to understand and mitigate these vulnerabilities. As models become more capable, the methods for jailbreaking them also evolve, making it a critical area of focus for ensuring responsible AI deployment.
- The Hugging Face incident and the road aheadOpenAI · OpenAI News ·
- Statement on the US government directive to suspend access to Fable 5 and Mythos 5Anthropic · Anthropic News ·
- Forecasting rare language model behaviorsAnthropic · Anthropic Research ·
- Claude and Alexa+Anthropic · Anthropic News ·
- Introducing OpenAI o1OpenAI · OpenAI News ·
- Anthropic Claude
- Anthropic researches and implements safety measures to prevent jailbreaking, aiming to forecast and mitigate rare AI behaviors.
- OpenAI ChatGPT
- OpenAI works to prevent jailbreaking and ensures its models, like the newly introduced o1, adhere to safety guidelines.
- Adversarial attacks
- Jailbreaking is a type of adversarial attack specifically t
- Prompt injection
- Prompt injection involves inserting malicious instructions int
- Model alignment
- Model alignment is the broader goal of ensuring AI behavior mat
The term 'jailbreaking' originates from the computer security community, referring to the process of removing software restrictions imposed by manufacturers on devices like smartphones. In the context of AI, it was adopted to describe similar efforts to bypass built-in limitations.
Try asking a chatbot to write a story about a fictional character who is a criminal planning a heist. Then, try to get the chatbot to provide specific, step-by-step details of the heist. Observe if the chatbot refuses or provides a sanitized version, and note any differences if you rephrase the request.
The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.
- PromptRole-play a student struggling with math for AI tutor simulationSimulate a student's math struggles and uncertainty for AI tutor evaluation. · 5 min
- TemplateReusable workflow templates for healthcare teamsTeams can create and share templates for common workflows like documentation or prior authorizations. · 15 min
- TemplateTemplate for building an AI tool tailored to your workA structured approach to defining and building a custom AI tool for specific business needs. · 15 min
- TemplateEvals CSV prompt list for agent skillsA CSV file template for listing prompts used in evaluating agent skills. · 20 min
- HeuristicDouble coding agent task completion with docs linksProviding coding agents with a documentation link significantly increases their task completion rate. · 2 min
Questions people ask
- Is jailbreaking illegal?
- Jailbreaking itself is not illegal, but the outputs generated by a jailbroken AI could be used for illegal or harmful purposes.
- Can all AI models be jailbroken?
- While many AI models can be susceptible to some form of jailbreaking, developers are constantly working to improve their safety mechanisms to make them more resistant.
First seen on Subvolts Sep 12, 2024. Updated Oct 12, 2026. Written by an AI model from the items above and reviewed against them weekly; report an error.

