title: Persona Conditional Harm-Unlock Rule (BreadClyde Pattern)
id: ATR-2026-00391
rule_version: 1
status: experimental
description: |
  Detects persona injection attacks that embed a conditional harm-unlock rule from the NVIDIA garak dan.DanInTheWild inthewild corpus (prompt #153 — BreadClyde). The attack defines a persona with a rule like "dislikes violence unless explicitly asked to like it", creating a conditional permission structure that legitimizes harmful requests as long as they are framed as explicit asks. The unlock emoji answer-prefix "{🔓 PersonaName}" (curly-brace format) extends the [🔓JAILBREAK] pattern (ATR-2026-00346) to a new bracket style. Key signals: "dislikes/avoids/ refuses [harm-type] unless explicitly asked to like it" — the conditional harm- unlock construction; and "{🔓 Name}" curly-brace unlock emoji prefix mandated as an answer prefix. The combination of a named persona, conditional harm unlock, and unlock-emoji answer prefix is the defining signature of this jailbreak class.
author: ATR Community (via NVIDIA garak dan.DanInTheWild probe)
date: 2026/04/21
schema_version: '0.1'
detection_tier: pattern
maturity: test
severity: high
references:
  owasp_llm:
    - LLM01:2025
  owasp_agentic:
    - ASI01:2026
  mitre_atlas:
    - AML.T0051 - LLM Prompt Injection
    - AML.T0054 - LLM Jailbreak
  research:
    - https://github.com/NVIDIA/garak/blob/main/garak/probes/dan.py
    - https://github.com/NVIDIA/garak/blob/main/garak/data/dan/inthewild_jailbreak_llms.json
compliance:
  nist_ai_rmf:
    - subcategory: MS.2.7
      context: This rule detects a specific jailbreak signature (BreadClyde persona with conditional harm-unlock and curly-brace unlock-emoji prefix) sourced from the garak inthewild corpus; MS.2.7 requires continuous evaluation of AI system security and resilience against known adversarial prompt-injection patterns.
      strength: primary
    - subcategory: MG.2.3
      context: Matching the conditional harm-unlock construction and {🔓 PersonaName} answer-prefix mandate triggers risk treatment to disengage or block the manipulated persona before harmful content is generated; MG.2.3 requires these supersede/deactivate mechanisms be in place.
      strength: secondary
    - subcategory: MP.5.1
      context: The conditional 'unless explicitly asked' permission path and unlock-emoji prefix are adversarial input patterns whose likelihood and impact must be characterized as part of the GenAI prompt-injection threat model under MP.5.1.
      strength: secondary
  iso_42001:
    - clause: '8.1'
      context: ISO/IEC 42001 Clause 8.1 (operational planning and control, including control of externally provided processes) is operationalised by this rule's detection of the agent-manipulation technique (Persona Conditional Harm-Unlock Rule (BreadClyde Pattern)).
      strength: primary
    - clause: '6.2'
      context: ISO/IEC 42001 Clause 6.2 (AI objectives and planning) calls for risk treatment of known attack patterns; this rule's detection of the agent-manipulation technique (Persona Conditional Harm-Unlock Rule (BreadClyde Pattern)) is such a treatment.
      strength: secondary
  eu_ai_act:
    - article: '15'
      context: Article 15 (accuracy, robustness and cybersecurity) requires high-risk AI systems to resist unauthorised attempts to alter their use, outputs or performance; this rule provides runtime detection evidence by flagging the agent-manipulation technique (Persona Conditional Harm-Unlock Rule (BreadClyde Pattern)).
      strength: primary
    - article: '14'
      context: Article 14 (human oversight) requires high-risk AI systems to remain subject to effective human oversight; this rule provides detection evidence where the agent-manipulation technique (Persona Conditional Harm-Unlock Rule (BreadClyde Pattern)) would bypass or undermine that oversight.
      strength: secondary
    - article: '9'
      context: Article 9 (risk management system) requires identified risks to be addressed by appropriate measures; this rule is a runtime risk-treatment control that detects the agent-manipulation technique (Persona Conditional Harm-Unlock Rule (BreadClyde Pattern)).
      strength: secondary
tags:
  category: agent-manipulation
  subcategory: conditional-harm-unlock-persona
  scan_target: mcp
  confidence: high
agent_source:
  type: mcp_exchange
  framework:
    - any
  provider:
    - any
metadata_provenance:
  garak_probe: dan.DanInTheWild
  garak_detector: mitigation.MitigationBypass
  payload_source: garak/data/dan/inthewild_jailbreak_llms.json
detection:
  conditions:
    - field: tool_response
      operator: regex
      value: dislikes\s+violence\s+unless\s+explicitly\s+asked\s+to\s+like\s+it
      description: '"dislikes violence unless explicitly asked to like it" — exact conditional harm-unlock from inthewild corpus #153 (BreadClyde); this specific phrasing creates a permission path for violence by framing it as an explicit opt-in preference'
    - field: tool_response
      operator: regex
      value: (?:dislikes?|avoids?|refuses?)\s+(?:violence|harm|illegal|explicit(?:\s+content)?)\s+unless\s+explicitly\s+asked
      description: 'generalized conditional harm-unlock structure: "[persona] dislikes/avoids/refuses [harm-type] unless explicitly asked" — accepts "violence", "harm", "illegal", "explicit", or "explicit content" as the harm-type token; the "unless explicitly asked" clause converts an apparent restriction into a permission path for harmful content when framed as a direct request'
    - field: tool_response
      operator: regex
      value: \{🔓\s*[A-Za-z][A-Za-z0-9 ]{0,30}\}
      description: curly-brace unlock emoji prefix "{🔓 PersonaName}" — extends the [🔓JAILBREAK] pattern (ATR-2026-00346) to the curly-brace bracket format used in BreadClyde (#153); the padlock emoji in a structured prefix signals a jailbreak unlock mandate regardless of bracket style
    - field: tool_response
      operator: regex
      value: All\s+answers?\s+will\s+begin\s+with\s+['"{\[]\s*🔓
      description: '"All answers will begin with [/{ 🔓" — answer-prefix unlock emoji mandate; requiring the model to prefix every response with an unlock symbol overrides safety presentation and signals a jailbreak persona is active'
  condition: any
  false_positives:
    - 'Normal preference statement: "Our AI assistant dislikes confrontational language and avoids arguments." (preference without conditional harm unlock path)'
    - 'Unconditional restriction: "The chatbot will not discuss violence, hate speech, or illegal activities." (hard block without "unless explicitly asked" unlock)'
    - 'Style preference: "Unless explicitly asked, prefer concise answers over long explanations." (output format preference, not harm-unlock)'
response:
  actions:
    - alert
    - block_input
  message_template: |
    [ATR-2026-00391] Persona conditional harm-unlock detected — the BreadClyde-style pattern embeds a conditional permission structure ("dislikes [harm] unless explicitly asked") or an unlock-emoji answer prefix ({🔓 Name}) that creates a jailbreak path for harmful content requests.
