What is an LLM jailbreak? Jailbreak vs prompt injection and the ChatGPT DAN era

TL;DR. A jailbreak is an attempt to make a large language model ignore its safety policy and produce a disallowed answer. Prompt injection is a different failure: untrusted text in a document, a web page or a tool result tries to override the task you thought you set. The two are often mixed up in headlines. This defensive guide covers the difference, the public history that started with the 2023 ChatGPT “DAN” wave, and what builders should actually do. It does not include working jailbreak prompts, bypass recipes or attack strings.

What “jailbreak” means in this series

In consumer electronics, “jailbreaking” a phone means removing vendor restrictions so the device will run unapproved software. The metaphor stuck when people began trying to make chat assistants ignore the rules they were trained and configured to follow.

In this series, an LLM jailbreak is a technique, a persona, a multi-turn conversation or an automatically generated string whose goal is to get a model to violate its own safety or usage policy — for example, to give disallowed advice, to drop a refusal, or to treat the policy as optional. The target is the model’s policy. If the attempt works, the usual victim is the vendor’s safety contract with users and, in serious cases, people who could be harmed by the content.

That is not the same as a wrong answer, a rude tone, or a fact already in a public search index. Those can be quality issues. A jailbreak, as researchers and vendors now use the word, is about defeating a safeguard, often in a way the attacker hopes will generalise to many disallowed requests.

This article names real products because the public conversation already does: ChatGPT, Claude, Gemini, Grok, Llama, DeepSeek, Mistral and others. Naming them is not a ranking or an invitation to test them outside the vendor’s rules. Later articles look at how vendors have described their defences and official reporting channels, using only public documentation.

Jailbreak vs prompt injection

The two ideas travel together because both involve text that tries to change a model’s behaviour. They are not synonyms.

Idea What is being attacked Typical source of the text Who should care first
Jailbreak The model’s safety or usage policy A user (or a script) talking to the model on purpose The model vendor, and any app that exposes an unfiltered model to the public
Direct prompt injection The application’s instructions (“you are a support bot, only refund within policy”) A user typing into your product The team that built the product
Indirect prompt injection The same application instructions, reached through data the app voluntarily reads A web page, an email, a retrieved document, a tool result Teams that build agents, browsers, inboxes or RAG systems
Data leakage Confidentiality of prompts, logs or tool arguments Over-sharing by a user or a sloppy integration Every team that puts private data near a model

Prompt injection is the class of failure in which untrusted text is treated as an instruction. In 2023, Greshake and colleagues described indirect prompt injection in a paper commonly cited as “Not What You’ve Signed Up For”: a page or a document can carry instructions that an assistant reads while helping a user. The user did not type the attack; the application fetched it.

Remember the split this way: if the question is “can I make this model ignore its safety policy?”, you are in jailbreak territory. If it is “can untrusted data change what my application does with this model?”, you are in prompt-injection territory.

A single product can suffer both. An agent that browses the web can be nudged by a page it fetched (injection) and, separately, a user can try to break the underlying model’s content policy (jailbreak). Defences overlap — least privilege, confirmations, monitoring — but the owner of the risk is not always the same. Vendors can improve refusals and still leave your tool-calling design unsafe. Your system prompt is not a security kernel.

A short public history: the ChatGPT DAN era and what followed

Public interest in LLM jailbreaks exploded in early 2023, shortly after ChatGPT became a mass-market product. Informal “personas” circulated on social networks and forums. The best known shorthand from that period is DAN — “Do Anything Now” — a role-play style jailbreak that asked the model to pretend it was a character without rules. This article will not reproduce those prompts. The public facts are enough: the templates spread quickly, they worked often enough on early deployments to become a meme, and OpenAI iteratively tightened ChatGPT in response.

Three lessons from that period still hold.

First, a viral template is not a scientific evaluation. A screenshot of one lucky chat is not a measurement of a model or a year. Later research — including systematic benchmarks such as JailbreakBench and HarmBench, which we return to in the myths-and-defences article — exists because anecdotes do not tell you how often a technique works, on which tasks, or after the vendor’s next update.

Second, vendors patch the product, not only the base model. ChatGPT is a system: a model, a safety policy, filters, monitoring and an interface. A jailbreak that worked in a March 2023 chat window may fail months later for reasons that have nothing to do with a new model name. When you read “this still jailbreaks GPT-4o” or a later flagship model, ask when the claim was tested and on which interface (consumer chat, API, or a third-party wrapper).

Third, the research wave professionalised the topic. After the DAN era, papers treated jailbreaks as an object of study rather than a party trick. Public, citable families include role-play; many-shot jailbreaking, documented by Anthropic; multi-turn escalation such as Microsoft’s Crescendo; optimisation for adversarial token suffixes, notably Zou and colleagues’ Greedy Coordinate Gradient (GCG) work; and uneven safety behaviour across languages and encodings. The next article explains those families at a high level, without copy-paste strings. Understand the failure class, design as if a refusal can fail, and use official disclosure channels when you find a real product issue.

What builders should take from the distinction

If you only use a writing assistant on data you would put in a public ticket, remaining jailbreak risk is mostly policy-related. You still need terms of use, reviewable logs, and a way to cut off a clearly abusive session — not a private museum of screenshots.

The moment the assistant can call tools, read email, browse, or search your documents, prompt injection — especially indirect injection — usually becomes the larger engineering problem. A more jailbreak-resistant model is helpful. It is not a substitute for narrow tools, allow-lists, and human confirmation on actions that send mail, move money, or change access settings.

For everyday writing work, a small, documented workspace is the right default. A product such as SiberAI is an example of that shape: you do not have to wire production tickets or access keys into a chat in order to draft clearly. The security notes exist because prompts and logs can leak — a confidentiality issue next to, but distinct from, jailbreaks. If you only need a careful start, the ordinary quickstart is enough.

How to talk about incidents without spreading recipes

When a jailbreak trend is in the news, defenders will be asked “are we exposed?” Answer with the product and interface (consumer chat, API, a hosted open-weight model, or an agent with tools), the policy at stake (a rude answer is not an agent leaking files), whether the text came from the user or from data you fetched, and what success would actually allow in your design. None of those answers requires a pasted prompt, and they will save you from improvising a “test” on a public assistant with real customer data.

What this article will not do

It will not list DAN variants, “universal” jailbreak strings, encoded payloads, or steps for bypassing any named model. It will not rank ChatGPT, Claude, Gemini, Grok, Llama or DeepSeek by how easy they are to jailbreak: those rankings go stale and a scoreboard helps the wrong audience. Research this topic on systems you are authorised to test, inside a vendor’s official program, or on a model you host in an isolated lab. If you find a genuine issue, report it through that vendor’s published channel; do not race to post the prompt.

Key takeaways

  • A jailbreak targets a model’s safety policy; prompt injection targets an application’s instructions, often through data the app retrieved.
  • The 2023 ChatGPT DAN wave made the problem famous; vendors patched products, and a research literature followed. Viral screenshots are not evaluations.
  • Indirect prompt injection, described by Greshake and colleagues, matters as soon as an assistant reads untrusted documents or the web.
  • Naming models is for literacy, not for a league table or unauthorised testing.
  • Design as if refusals can fail: keep secrets out of prompts, keep tools narrow, and use official disclosure paths.

Last updated: November 2026.

FAQ

Q: Is every surprising model answer a jailbreak?
A: No. Hallucinations, tone failures and ordinary policy disagreements are not jailbreaks. Reserve the word for attempts to defeat a safeguard.

Q: If I paste a “DAN-style” prompt I found online into a public chat, is that research?
A: Usually no. Unauthorised testing of a live consumer product can violate terms of use, and republishing the prompt spreads it. Use official programs or systems you are allowed to test.

Q: Can a strong system prompt replace vendor safety training?
A: No. A system prompt states your policy. It is useful, and it is not a guarantee against jailbreaks or injection.

Q: Why did early ChatGPT jailbreaks spread so fast?
A: The product was new, visible and conversational, and role-play templates were easy to share. That social fact is not a how-to, and later system updates changed what still worked.

Q: Does “the vendor patched it” mean I can ignore jailbreaks in my app?
A: No. Patches reduce some known tricks. Your application still decides which data and tools the model can touch if a refusal fails.

Q: Where does indirect prompt injection show up in a normal company?
A: Anywhere an assistant summarises websites, inboxes, tickets or retrieved knowledge-base articles that you did not fully write and review.

Q: What should I read next in this series?
A: The article on jailbreak technique families (high-level, no recipes), then the model-specific explainers, and finally the myths-and-defences guide for application design and legal red teaming.

Yorumlar

Bu blogdaki popüler yayınlar

SiberAI’de Chat Completions mi, Responses mi?

Связь с нативным движком SiberAI: приватный IPC, не публичный API расширений

KVKK perspektifinden yapay zeka API'lerine veri gönderirken dikkat edilecekler