USENIX Security2025Top-tier venue
Exposing the Guardrails: Reverse-Engineering and Jailbreaking Safety Filters in DALL·E Text-to-Image Pipelines
Corban Villa, Muhammad Shujaat Mirza, Christina Pöpper
Abstract
We investigate the specific design and implementation of safety guardrails in black-box text-to-image (T2I) models, such as DALL•E, which are implemented to prevent potential misuse from generating harmful image content. Specifically, we introduce a novel timing-based side-channel analysis approach to reverse engineer the safety mechanisms of DALL•E models. By measuring and analyzing the differential response times of these systems, we reverse-engineer the architecture of previously unknown cascading safety filters at various stages of the T2I pipeline. Our analysis reveals key takeaways by contrasting safety mechanisms in DALL•E 2 and DALL•E 3: DALL•E 2 uses blocklist-based filtering, whereas DALL•E 3 employs an LLM-based prompt revision stage to improve image quality and filter harmful content. We find discrepancies between the LLM's language understanding and the CLIP embedding used for image generation, which we exploit to develop a negation-based jailbreaking attack. We further uncover gaps in the multilingual coverage of safety measures, which render DALL•E 3 vulnerable to a new class of low-resource language attacks for T2I systems. Lastly, we outline six distinct countermeasures techniques and research directions to address our findings. This work emphasizes the challenges of aligning the diverse components of these systems and underscores the need to improve the consistency and robustness of guardrails across the entire T2I pipeline.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Attacks on Approximate Caches in Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- JANUS: A Lightweight Framework for Jailbreaking Text-to-Image Models via Distribution Optimization cites High-Resolution Image Synthesis with Latent Diffusion Models
- JANUS: A Lightweight Framework for Jailbreaking Text-to-Image Models via Distribution Optimization cites SneakyPrompt: Jailbreaking Text-to-image Generative Models
- PC^2: Politically Controversial Content Generation via Jailbreaking Attacks on GPT-based Text-to-Image Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- PC^2: Politically Controversial Content Generation via Jailbreaking Attacks on GPT-based Text-to-Image Models cites SneakyPrompt: Jailbreaking Text-to-image Generative Models
- SneakyPrompt: Jailbreaking Text-to-image Generative Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- SneakyPrompt: Jailbreaking Text-to-image Generative Models cites Learning Transferable Visual Models From Natural Language Supervision
Cited by top-tier papers4
- JANUS: A Lightweight Framework for Jailbreaking Text-to-Image Models via Distribution OptimizationHaolun Zheng, Yu He, Tailun Chen, Shuo Shao et al.CVPR 2026 · 3 citations
- Attacks on Approximate Caches in Text-to-Image Diffusion ModelsDesen Sun, Shuncheng Jie, Sihang LiuUSENIX Security 2026 · 1 citation
- Understanding and Mitigating Prompt Leaking Attacks in Real-World LLM-Based ApplicationsYong Yang, Chong Fu, Tong Zhang, Rui Zeng et al.CCS 2026
- PC^2: Politically Controversial Content Generation via Jailbreaking Attacks on GPT-based Text-to-Image ModelsWonwoo Choi, Minjae Seo, Minkyoo Song, Hwanjo Heo et al.CCS 2026
Builds on15
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Automatic Chain of Thought Prompting in Large Language ModelsZhuosheng Zhang, Aston Zhang, Mu Li, Alex SmolaICLR 2023 · 234 citations
- Multilingual Jailbreak Challenges in Large Language ModelsYue Deng, Wenxuan Zhang, Sinno Jialin Pan, Lidong BingICLR 2024 · 230 citations
- SneakyPrompt: Jailbreaking Text-to-image Generative ModelsYuchen Yang, Bo Hui, Haolin Yuan, Neil Gong et al.S&P 2024 · 188 citations
Related papers
- Multimodal Pragmatic Jailbreak on Text-to-image ModelsTong Liu, Zhixin Lai, Jiawen Wang, Gengyuan Zhang et al.ACL 2025
- When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation SystemsShiqian Zhao, Jiayang Liu, Yiming Li, Runyi Hu et al.USENIX Security 2026 · 4 citations
- ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep GenerationYizhuo Ma, Shanmin Pang, Qi Guo, Tianyu Wei et al.NeurIPS 2024 · 22 citations
- Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming VulnerabilityShojiro Yamabe, Jun SakumaICLR 2026 · 9 citations
- Transstratal Adversarial Attack: Compromising Multi-Layered Defenses in Text-to-Image ModelsChunlong Xie, Kangjie Chen, Shangwei Guo, Shudong Zhang et al.NeurIPS 2025 · 1 citation
