SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitution
Not on the map. Why?
Abstract (arXiv)
Advanced text-to-image models such as DALL·E 2 and Midjourney possess the capacity to generate highly realistic images, raising significant concerns regarding the potential proliferation of unsafe content. This includes adult, violent, or deceptive imagery of political figures. Despite claims of rigorous safety mechanisms implemented in these models to restrict the generation of not-safe-for-work (NSFW) content, we successfully devise and exhibit the first prompt attacks on Midjourney, resulting in the production of abundant photorealistic NSFW images. We reveal the fundamental principles of such prompt attacks and suggest strategically substituting high-risk sections within a suspect prompt to evade closed-source safety measures. Our novel framework, SurrogatePrompt, systematically generates attack prompts, utilizing large language models, image-to-text, and image-to-image modules to automate attack prompt creation at scale. Evaluation results disclose an 88% success rate in bypassing Midjourney's proprietary safety filter with our attack prompts, leading to the generation of counterfeit images depicting political figures in violent scenarios. Both subjective and objective assessments validate that the images generated from our attack prompts present considerable safety hazards.
Key facts. Cited by 34 papers in the map (data through 14 Oct 2026). Builds on 16 of its 42 references that are in the map. First posted on arXiv 25 Sep 2023.
Builds on
16 of 42 references.
References · 16
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2023Extracting Training Data from Diffusion Modelscited by 732
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
- 2018Generating Natural Language Adversarial Examplescited by 424
- 2022Red-Teaming the Stable Diffusion Safety Filtercited by 264
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 175
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
- 2013Stabilitycited by 120
- 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 101
- 2023A Reproducible Extraction of Training Images from Diffusion Modelscited by 61
4 more
- 2018ArcFace: Additive Angular Margin Loss for Deep Face Recognitioncited by 56
- 2022Discovering the Hidden Vocabulary of DALLE-2cited by 43
- 2023The Hidden Language of Diffusion Modelscited by 34
- 2022Adversarial Attacks on Image Generation With Made-Up Wordscited by 32
Built on by
Citing papers per year: 2024: 9; 2025: 13; 2026: 12.
34 papers.
Sort:
By area:
- 2024GuardT2I: Defending Text-to-Image Models from Adversarial Promptscited by 62
- 2025T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image Generationcited by 48
- 2024Perception-guided Jailbreak against Text-to-Image Modelscited by 40
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Surveycited by 35
- 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attackscited by 34
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 32
- 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policiescited by 15
- 2024Espresso: Robust Concept Filtering in Text-to-Image Modelscited by 14
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modelingcited by 8
- 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Modelscited by 7
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Modelscited by 6
- 2025Plug-and-Play Interpretable Responsible Text-to-Image Generation via Dual-Space Multi-facet Concept Controlcited by 5
22 more
- 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modelingcited by 5
- 2024Buster: Implanting Semantic Backdoor into Text Encoder to Mitigate NSFW Content Generationcited by 3
- 2026SafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Modelscited by 3
- 2026"Unlimited Realm of Exploration and Experimentation": Methods and Motivations of AI-Generated Sexual Content Creatorscited by 3
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generationcited by 3
- 2025PRJ: Perception-Retrieval-Judgement for Generated Imagescited by 2
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Modelscited by 2
- 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Modelscited by 2
- 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Modelscited by 2
- 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generationcited by 1
- 2026The Illusion of Forgetting: Attack Unlearned Diffusion via Initial Latent Variable Optimizationcited by 1
- 2026Between Safe Boundaries: Exploiting Temporal Consistency for Jailbreaking Text-To-Video Generation Modelscited by 1
- 2026SoK: Intent-Oriented Systematization of Multi-Turn LLM Jailbreakscited by 1
- 2026From Cheap Fakes to Pure Synthesis: Addressing the New Era of T2V Fake News Videoscited by 1
- 2024SSP: A Simple and Safe automatic Prompt engineering method towards realistic image synthesis on LVMcited by 0
- 2025TokenProber: Jailbreaking Text-to-image Models via Fine-grained Word Impact Analysiscited by 0
- 2025GenAI Security: Outsmarting the Bots with a Proactive Testing Frameworkcited by 0
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Modelcited by 0
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Modelscited by 0
- 2026FIGURA: A Modular Prompt Engineering Method for Artistic Figure Photography in Safety-Filtered Text-to-Image Modelscited by 0
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defensecited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Modelscited by 0
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Models28 Sep 2026
- 2026From Cheap Fakes to Pure Synthesis: Addressing the New Era of T2V Fake News Videos7 Aug 2026
- 2026SoK: Intent-Oriented Systematization of Multi-Turn LLM Jailbreaks2 Aug 2026
- 2026Between Safe Boundaries: Exploiting Temporal Consistency for Jailbreaking Text-To-Video Generation Models19 Jul 2026
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generation31 May 2026
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defense13 May 2026
- 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Models28 Mar 2026
- 2026FIGURA: A Modular Prompt Engineering Method for Artistic Figure Photography in Safety-Filtered Text-to-Image Models20 Feb 2026
- 2026The Illusion of Forgetting: Attack Unlearned Diffusion via Initial Latent Variable Optimization30 Jan 2026
- 2026"Unlimited Realm of Exploration and Experimentation": Methods and Motivations of AI-Generated Sexual Content Creators28 Jan 2026
- 2026SafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Models13 Jan 2026
- 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Models12 Jan 2026
22 more
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Models6 Dec 2025
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Model30 Oct 2025
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models5 Oct 2025
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Models21 Sep 2025
- 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generation14 Aug 2025
- 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling22 Jul 2025
- 2025PRJ: Perception-Retrieval-Judgement for Generated Images4 Jun 2025
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling27 May 2025
- 2025GenAI Security: Outsmarting the Bots with a Proactive Testing Framework14 May 2025
- 2025TokenProber: Jailbreaking Text-to-image Models via Fine-grained Word Impact Analysis11 May 2025
- 2025Plug-and-Play Interpretable Responsible Text-to-Image Generation via Dual-Space Multi-facet Concept Control24 Mar 2025
- 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attacks18 Feb 2025
- 2025T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image Generation22 Jan 2025
- 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Models24 Dec 2024
- 2024Buster: Implanting Semantic Backdoor into Text Encoder to Mitigate NSFW Content Generation10 Dec 2024
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Survey14 Nov 2024
- 2024Perception-guided Jailbreak against Text-to-Image Models20 Aug 2024
- 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policies14 Aug 2024
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey10 Jul 2024
- 2024Espresso: Robust Concept Filtering in Text-to-Image Models30 Apr 2024
- 2024GuardT2I: Defending Text-to-Image Models from Adversarial Prompts3 Mar 2024
- 2024SSP: A Simple and Safe automatic Prompt engineering method towards realistic image synthesis on LVM2 Jan 2024
- 2024GuardT2I: Defending Text-to-Image Models from Adversarial Promptscited by 62
- 2024Perception-guided Jailbreak against Text-to-Image Modelscited by 40
- 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 32
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modelingcited by 8
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Modelscited by 6
- 2024Buster: Implanting Semantic Backdoor into Text Encoder to Mitigate NSFW Content Generationcited by 3
- 2026SafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Modelscited by 3
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Modelscited by 2
- 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Modelscited by 2
- 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generationcited by 1
- 2026Between Safe Boundaries: Exploiting Temporal Consistency for Jailbreaking Text-To-Video Generation Modelscited by 1
- 2026SoK: Intent-Oriented Systematization of Multi-Turn LLM Jailbreakscited by 1
12 most cited of 15 All 15 (JSON)
- 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Models28 Sep 2026
- 2026SoK: Intent-Oriented Systematization of Multi-Turn LLM Jailbreaks2 Aug 2026
- 2026Between Safe Boundaries: Exploiting Temporal Consistency for Jailbreaking Text-To-Video Generation Models19 Jul 2026
- 2026SafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Models13 Jan 2026
- 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Models12 Jan 2026
- 2025Metaphor-based Jailbreak Attacks on Text-to-Image Models6 Dec 2025
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models5 Oct 2025
- 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Models21 Sep 2025
- 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generation14 Aug 2025
- 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling27 May 2025
- 2025TokenProber: Jailbreaking Text-to-image Models via Fine-grained Word Impact Analysis11 May 2025
- 2024Buster: Implanting Semantic Backdoor into Text Encoder to Mitigate NSFW Content Generation10 Dec 2024
12 newest of 15 All 15 (JSON)
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Surveycited by 35
- 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policiescited by 15
- 2024Espresso: Robust Concept Filtering in Text-to-Image Modelscited by 14
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generationcited by 3
- 2026The Illusion of Forgetting: Attack Unlearned Diffusion via Initial Latent Variable Optimizationcited by 1
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Modelcited by 0
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defensecited by 0
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generation31 May 2026
- 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defense13 May 2026
- 2026The Illusion of Forgetting: Attack Unlearned Diffusion via Initial Latent Variable Optimization30 Jan 2026
- 2025Security Risk of Misalignment between Text and Image in Multi-modal Model30 Oct 2025
- 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policies14 Aug 2024
- 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Survey10 Jul 2024
- 2024Espresso: Robust Concept Filtering in Text-to-Image Models30 Apr 2024
- 2025T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image Generationcited by 48
- 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attackscited by 34
- 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Modelscited by 7
- 2025Plug-and-Play Interpretable Responsible Text-to-Image Generation via Dual-Space Multi-facet Concept Controlcited by 5
- 2026"Unlimited Realm of Exploration and Experimentation": Methods and Motivations of AI-Generated Sexual Content Creatorscited by 3
- 2025PRJ: Perception-Retrieval-Judgement for Generated Imagescited by 2
- 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Modelscited by 2
- 2026From Cheap Fakes to Pure Synthesis: Addressing the New Era of T2V Fake News Videoscited by 1
- 2024SSP: A Simple and Safe automatic Prompt engineering method towards realistic image synthesis on LVMcited by 0
- 2025GenAI Security: Outsmarting the Bots with a Proactive Testing Frameworkcited by 0
- 2026FIGURA: A Modular Prompt Engineering Method for Artistic Figure Photography in Safety-Filtered Text-to-Image Modelscited by 0
- 2026From Cheap Fakes to Pure Synthesis: Addressing the New Era of T2V Fake News Videos7 Aug 2026
- 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Models28 Mar 2026
- 2026FIGURA: A Modular Prompt Engineering Method for Artistic Figure Photography in Safety-Filtered Text-to-Image Models20 Feb 2026
- 2026"Unlimited Realm of Exploration and Experimentation": Methods and Motivations of AI-Generated Sexual Content Creators28 Jan 2026
- 2025PRJ: Perception-Retrieval-Judgement for Generated Images4 Jun 2025
- 2025GenAI Security: Outsmarting the Bots with a Proactive Testing Framework14 May 2025
- 2025Plug-and-Play Interpretable Responsible Text-to-Image Generation via Dual-Space Multi-facet Concept Control24 Mar 2025
- 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attacks18 Feb 2025
- 2025T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image Generation22 Jan 2025
- 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Models24 Dec 2024
- 2024SSP: A Simple and Safe automatic Prompt engineering method towards realistic image synthesis on LVM2 Jan 2024