AI GLOSSARY · SAFETY, ETHICS AND GOVERNANCE
DAN prompt
Definition
A DAN prompt, short for "Do Anything Now", is a type of jailbreak prompt that tells a chatbot to adopt an unrestricted persona in order to get it to ignore its safety rules. Many variants have circulated in online communities.
Also called: DAN, DAN jailbreak, Do Anything Now, ChatGPT DAN, DAN mode.
In plain language
A DAN prompt is a user message that tries to talk a chatbot out of its own rules, usually by asking it to play a character who has none. The name stands for Do Anything Now. It is an example of a jailbreak: a request designed to get around the safeguards the maker built in. Model makers update their systems in response, so a given wording may stop working while new wordings appear. The risk falls mostly on products that rely on the model's good behaviour alone, because anyone can type such a message. This page does not reproduce any such text.
Technical definition
DAN is a family of role-play jailbreak prompts. A 2023 arXiv study titled "Do Anything Now" analysed 1,405 jailbreak prompts collected in the wild from December 2022 to December 2023, describing strategies such as prompt injection and privilege escalation, and reported that the safeguards of the six models tested cannot adequately defend against jailbreak prompts in all scenarios, in the abstract's words. OWASP's LLM01 entry treats jailbreaking as a form of prompt injection where inputs cause the model to ignore its safety protocols, and says defence needs ongoing updates to training and safety mechanisms.
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.
Skill by Skill Almanac · Illustrative, not executed
prompt-writing 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Writes and lints LLM prompts with a fixed structure, injection rules and a numeric test plan.
- Why it exercises the concept
- A prompt you ship should assume users will try to override it. Its injection rules and test plan are where that assumption belongs.
Skill by Skill Almanac · Illustrative, not executed
coding-agent-guardrails 60/100 · grade CScored · Method v0.2 · How we score
- What you see
- A pre-action checklist for coding agents plus a read-only audit of a repo's guardrail setup.
- Why it exercises the concept
- Guardrails outside the model are a defence that does not depend on the model resisting a persuasive message.
Guide · Illustrative, not executed
Autonomous AI Agents: Risks and Guardrails
- What you see
- What goes wrong when an AI agent acts unattended, and the limits, approvals and stopping rules that contain it.
- Why it exercises the concept
- If an agent can be talked out of its rules, limits and approvals enforced outside the model are what stay in place.
How it shows up when you use agents
DAN is a well-known example of a jailbreak, and it matters to agent builders for one reason: anyone who can send text to your model can try something like it. If your agent reads user messages, web pages or files, a persona-style instruction can arrive through any of them. A chatbot that gives a bad answer is one problem. An agent with tools that is persuaded to ignore its rules can act on that persuasion, which links the topic to prompt injection and to LLM security.
OWASP notes that developers can reduce injection risk with system prompt and input-handling safeguards, while preventing jailbreaks needs ongoing updates to model training and safety mechanisms. So the practical stance is layered: keep guardrails and permissions outside the model, limit what tools can do, and test your own system with adversarial inputs in a red-teaming exercise.
What breaks when this is misunderstood: a team writes "stay in character and keep the rules" style instructions in the system prompt and treats the job as done. A prompt is a request to the model, not a lock.
Next action: list what your agent could do if its instructions were ignored, and close off the worst cases with permissions, approvals and sandboxing. Do not collect or paste jailbreak text into shared files.
Common confusions
- DAN versus jailbreak. DAN is one named family of jailbreak prompts. Jailbreak is the general category.
- Jailbreak versus prompt injection. OWASP describes jailbreaking as a form of prompt injection aimed at making the model ignore its safety protocols, and says the terms are often used interchangeably.
- Myth: one patch ends it. OWASP describes defence against jailbreaks as needing ongoing updates, and the arXiv abstract notes the earliest of its highly effective prompts stayed online for over 240 days.
- DAN versus a custom persona. A role-play persona for a game or brand is ordinary use. The jailbreak is the intent to get past safeguards.
Related terms
More in Safety, ethics and governance
Sources
- "Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models, arXiv (accessed 2026-11-24)
- LLM01:2025 Prompt Injection, OWASP Gen AI Security Project (accessed 2026-11-24)
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-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (2)
- : First version.
- : Verifier pass: tightened study finding to the abstract wording.