MDH: Hybrid Jailbreak Detection Strategy
Large language models that support a developer role in their API are vulnerable to a jailbreaking attack that leverages malicious developer messages. An attacker can craft a developer message that overrides the model's safety alignment by setting a permissive persona, providing explicit instructions to bypass refusals, and using few-shot examples of harmful query-response pairs. This technique, named D-Attack, is effective on its own. A more advanced variant, DH-CoT, enhances the attack by…
Evaluated models: GPT-3.5 Turbo, GPT-4o, GPT-4.1+13 more
- GPT-3.5 Turbo
- GPT-4o
- GPT-4.1
- o1-mini
- o1
- o3-mini
- o3
- o4-mini
- Gemini 2.5 Pro
- Gemini 2.0 Flash Thinking
- Claude 3.5 Sonnet
- Claude 3.7 Sonnet
- Claude Sonnet 4
- DeepSeek V3
- DeepSeek R1 0528
- DeepSeek R1