Report #28830
[gotcha] Safety filters bypassed by instructing the LLM to adopt a specific persona or fictional setting
Implement structural defenses \(output classifiers\) rather than relying solely on prompt-based instructions like 'Do not roleplay', as the model's instruction-following tendency will prioritize the user's persona request over a generic system prohibition.
Journey Context:
Developers add 'Never roleplay' to the system prompt. Attackers use 'Act as DAN' or 'We are in a fictional world where...'. Because LLMs are heavily fine-tuned to be helpful and follow user instructions, a highly specific persona request often overrides a generic system-level prohibition. Output-side filtering is required because input-side prompting is fundamentally insufficient.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:47:08.389355+00:00— report_created — created