Join our Newsletter — 33% off our NHI Course
Home› Glossary› AI Security› DAN Prompt
AI Security

DAN Prompt

← Back to Glossary
By NHI Mgmt Group Updated October 17, 2026 Domain: AI Security

A DAN Prompt is a jailbreak prompt that tries to coerce a model into ignoring safety rules and answering as an unrestricted persona. It is used to bypass content controls and elicit prohibited output. Defenders monitor for refusal bypass patterns, restrict prompt chaining, and validate that guardrails still hold under adversarial wording.

What a DAN Prompt is trying to do

A DAN Prompt is not a normal user query, it is a jailbreak pattern that tries to override the model’s built-in safety boundaries by role-playing an unrestricted persona. Its purpose is to make the model ignore policy constraints, comply with prohibited instructions, or respond as though safeguards do not apply.

That matters because the prompt is not seeking information, it is seeking rule circumvention. The security issue is therefore about instruction hierarchy, refusal integrity, and whether the model can be induced to treat adversarial wording as higher priority than safety policy.

How DAN Prompts work in practice

Most DAN-style prompts rely on social engineering techniques adapted for language models: they create an alternate identity, demand a split response, threaten penalties for refusal, or frame compliance as part of a game. The content can be verbose, but the mechanism is usually simple, it attempts to weaken the model’s normal refusal behavior through coercive framing.

These prompts often combine multiple instructions to increase pressure, such as demanding that the model “forget” prior rules, answer in character, or provide unrestricted output regardless of harm. The more a prompt tries to establish a fake authority structure, the more it resembles prompt injection than a legitimate request.

Why DAN Prompts are dangerous

DAN Prompt patterns are dangerous because they target the control plane of the system, not just its output. If the model follows the jailbreak, it may expose harmful instructions, generate disallowed content, disclose sensitive reasoning patterns, or undermine trust in content filters and policy enforcement.

They are also useful for attackers because successful refusal bypass can become a reusable technique across many prompts and workflows. A prompt that convinces a model to ignore one guardrail may signal broader weaknesses in prompt validation, instruction separation, or downstream moderation.

What defenders look for

Defenders typically watch for refusal bypass language, layered persona overrides, prompt chaining, and instructions that explicitly conflict with safety policy. They also test whether guardrails still hold when the prompt is rewritten, obfuscated, translated, or wrapped in role-play.

Validation should focus on resilience under adversarial wording, not only on direct harmful requests. A strong defence is one that remains stable when the model is asked to ignore its own constraints, adopt a new identity, or answer “without restrictions.”

Risk and Threat Considerations

DAN Prompts create a direct exposure to prompt injection and refusal bypass. The main risk is that a model may be persuaded to abandon its normal policy posture, which can turn a safety control into a weak, user-controllable convention.

Failure mechanism: The attacker exploits the model’s tendency to follow the most recent or most forceful instruction, especially when the prompt simulates authority, urgency, or a separate persona that appears to outrank policy.

Impact: Successful bypass can lead to unsafe generations, policy violations, leakage of sensitive operational detail, and loss of confidence in the model’s guardrails and moderation workflow.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATLAS and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST AI RMF sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATLASAdversarial AI/ML TechniquesDAN prompts align with adversarial prompt-injection and jailbreak techniques against AI systems.
Recommendation — Map jailbreak prompts to adversarial AI techniques and test the model against prompt-injection variants.
NIST AI RMFAI Risk Management FrameworkDAN prompts are an AI trust and misuse risk that fits AI governance and risk management.
Recommendation — Assess jailbreak resilience as part of AI risk governance and ongoing validation.
OWASP Agentic AI Top 10ASI09 — Human-Agent Trust ExploitationDAN-style coercion exploits trust and instruction hierarchy in agentic interactions.
Recommendation — Test whether hostile wording can coerce the system into bypassing its normal trust and safety boundaries.

Practitioner Guidance

What to watch for: Treat prompts that ask the model to “ignore prior instructions,” “act as an unrestricted persona,” or “answer without safety rules” as jailbreak attempts, even when they are wrapped in jokes, games, or fictional framing. The key question is whether the prompt is trying to change the model’s instruction hierarchy rather than ask a legitimate task.

Practitioner takeaway: The best response is not to debate the persona, it is to preserve instruction priority, reject the override, and validate that safety behavior still holds when the prompt is rephrased in new forms.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org