mlsanityData to 14 Oct 2026

SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitution

arXiv 2309.14122 ↗First posted 25 Sep 2023cs.CV cs.CRcited by 34

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

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  2. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  3. 2023Extracting Training Data from Diffusion Modelscited by 732
  4. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
  5. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
  6. 2018Generating Natural Language Adversarial Examplescited by 424
  7. 2022Red-Teaming the Stable Diffusion Safety Filtercited by 264
  8. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 175
  9. 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
  10. 2013Stabilitycited by 120
  11. 2019Text Processing Like Humans Do: Visually Attacking and Shielding NLP Systemscited by 101
  12. 2023A Reproducible Extraction of Training Images from Diffusion Modelscited by 61
4 more
  1. 2018ArcFace: Additive Angular Margin Loss for Deep Face Recognitioncited by 56
  2. 2022Discovering the Hidden Vocabulary of DALLE-2cited by 43
  3. 2023The Hidden Language of Diffusion Modelscited by 34
  4. 2022Adversarial Attacks on Image Generation With Made-Up Wordscited by 32

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 9; 2025: 13; 2026: 12.

34 papers.

Sort:

By area:

  1. 2024GuardT2I: Defending Text-to-Image Models from Adversarial Promptscited by 62
  2. 2025T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image Generationcited by 48
  3. 2024Perception-guided Jailbreak against Text-to-Image Modelscited by 40
  4. 2024Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A Surveycited by 35
  5. 2025Towards Robust and Secure Embodied AI: A Survey on Vulnerabilities and Attackscited by 34
  6. 2024Jailbreak Attacks and Defenses against Multimodal Generative Models: A Surveycited by 32
  7. 2024Moderator: Moderating Text-to-Image Diffusion Models through Fine-grained Context-based Policiescited by 15
  8. 2024Espresso: Robust Concept Filtering in Text-to-Image Modelscited by 14
  9. 2025Red-Teaming Text-to-Image Systems by Rule-based Preference Modelingcited by 8
  10. 2024AEIOU: A Unified Defense Framework against NSFW Prompts in Text-to-Image Modelscited by 7
  11. 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Modelscited by 6
  12. 2025Plug-and-Play Interpretable Responsible Text-to-Image Generation via Dual-Space Multi-facet Concept Controlcited by 5
22 more
  1. 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modelingcited by 5
  2. 2024Buster: Implanting Semantic Backdoor into Text Encoder to Mitigate NSFW Content Generationcited by 3
  3. 2026SafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Modelscited by 3
  4. 2026"Unlimited Realm of Exploration and Experimentation": Methods and Motivations of AI-Generated Sexual Content Creatorscited by 3
  5. 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generationcited by 3
  6. 2025PRJ: Perception-Retrieval-Judgement for Generated Imagescited by 2
  7. 2025Multimodal Prompt Decoupling Attack on the Safety Filters in Text-to-Image Modelscited by 2
  8. 2026MacPrompt: Maraconic-guided Jailbreak against Text-to-Image Modelscited by 2
  9. 2026Unsafe by Reciprocity: How Generation-Understanding Coupling Undermines Safety in Unified Multimodal Modelscited by 2
  10. 2025Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generationcited by 1
  11. 2026The Illusion of Forgetting: Attack Unlearned Diffusion via Initial Latent Variable Optimizationcited by 1
  12. 2026Between Safe Boundaries: Exploiting Temporal Consistency for Jailbreaking Text-To-Video Generation Modelscited by 1
  13. 2026SoK: Intent-Oriented Systematization of Multi-Turn LLM Jailbreakscited by 1
  14. 2026From Cheap Fakes to Pure Synthesis: Addressing the New Era of T2V Fake News Videoscited by 1
  15. 2024SSP: A Simple and Safe automatic Prompt engineering method towards realistic image synthesis on LVMcited by 0
  16. 2025TokenProber: Jailbreaking Text-to-image Models via Fine-grained Word Impact Analysiscited by 0
  17. 2025GenAI Security: Outsmarting the Bots with a Proactive Testing Frameworkcited by 0
  18. 2025Security Risk of Misalignment between Text and Image in Multi-modal Modelcited by 0
  19. 2025Metaphor-based Jailbreak Attacks on Text-to-Image Modelscited by 0
  20. 2026FIGURA: A Modular Prompt Engineering Method for Artistic Figure Photography in Safety-Filtered Text-to-Image Modelscited by 0
  21. 2026DiffusionHijack: Supply-Chain PRNG Backdoor Attack on Diffusion Models and Quantum Random Number Defensecited by 0
  22. 2026RISE: Red-teaming via Iterative Strategy Evolution for Modern Text-to-Image Modelscited by 0