AI GLOSSARY · PROMPTS AND INSTRUCTIONS

Jailbreak

Markdown version

Definition

A jailbreak, in AI, is an input designed to get a model to bypass its safety rules and produce responses it was trained to refuse. Anthropic describes jailbreaks as inputs that bypass safety guardrails to force harmful responses.

Also called: AI jailbreak, LLM jailbreak, ChatGPT jailbreak, jailbreak prompt, jailbreaking.

In plain language

A jailbreak is a message crafted to talk an AI assistant out of its own rules, so it answers something it would normally refuse. The person typing is the one trying to get around the rules. It differs from prompt injection, where hidden instructions inside a web page or file try to steer an assistant that someone else is using. For a company running an assistant, the risk is harmful or embarrassing output and misuse of any tools the assistant can reach. The main limitation of defences is that none is complete: OWASP says it is unclear if there are fool-proof methods of prevention for prompt injection, and Anthropic says new techniques could defeat its classifiers.

Technical definition

Anthropic's description of its Constitutional Classifiers notes that jailbreaks can use very long prompts or altered writing styles, and defends with input and output classifiers trained on synthetic data, which screen what goes in and what comes out. OWASP treats jailbreaking as a form of prompt injection in which the attacker aims to make the model ignore its safety rules, and lists mitigations: constrained system prompts, output validation in code, input and output filtering, least privilege, human approval for high-risk actions, and adversarial testing.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    skill-safety-audit 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    Scans a third-party agent skill folder and returns a JSON risk table with evidence lines before you install it.
    Why it exercises the concept
    A skill's text is loaded into an agent's instructions. Auditing it first returns a risk table with evidence lines before you install a skill.
  2. Skill by Skill Almanac · Illustrative, not executed

    threat-model-stride-worksheet 38/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A walk through a feature using a STRIDE threat-modelling worksheet, with assets, actors, trust boundaries and data flows as inputs.
    Why it exercises the concept
    Jailbreaks matter most when an assistant can do something harmful. A threat model shows what a successful bypass could reach.
  3. Coding tool · Illustrative, not executed

    Claude Code

    What to try
    /model
    What you see
    Claude Code shows or changes which model the session is using.
    Why it exercises the concept
    Resistance to jailbreaks differs between models and versions, so knowing which model runs your agent is the first step in assessing the risk.

How it shows up when you use agents

With a chat assistant, a jailbreak produces words you should not have got. With a coding agent, the stakes rise because the agent can run commands and edit files. If someone persuades it to ignore its rules, the harm is whatever its tools allow. This page deliberately gives no example attack prompts.

Tool output matters too. A jailbreak comes from the person at the keyboard; hidden instructions in a file or web page the agent reads are prompt injection. OWASP treats the first as a form of the second and says the terms are often used interchangeably, but the defences overlap: limit what the agent can do, and require human approval for risky actions.

What breaks when it is misunderstood: relying on the system prompt alone to hold the line. OWASP lists a constrained system prompt as one mitigation among several, together with output checks in code and least privilege.

Next actions:

  • Give the agent only the permissions the task needs, and keep approval prompts on for destructive commands.
  • Treat guardrails as one layer, not a guarantee.
  • Test your setup with red teaming.

Common confusions

  • Jailbreak versus prompt injection. A jailbreak targets the model's safety rules, usually typed by the user. Prompt injection is the broader category of any input that alters behaviour in unintended ways, including instructions hidden in content.
  • Jailbreak versus device jailbreaking. Unlocking a phone to remove manufacturer limits is a different thing from tricking a model.
  • Myth. A strong enough system prompt prevents jailbreaks. OWASP says it is unclear if there are fool-proof methods of prevention for prompt injection.
  • Jailbreak versus hallucination. A jailbreak gets a model past its rules. A hallucination is a wrong answer given with confidence, with no attacker needed.

Terms that mention Jailbreak

8 terms mention this one

More in Prompts and instructions

Next steps

  1. skill-safety-audit A skill that exercises it.
  2. Red teaming Related term.
  3. System prompt Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-23. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: OWASP wording, dropped unsourced claim, reworded example why.