mlsanityData to 7 Oct 2026

Prompt Stealing Attacks Against Text-to-Image Generation Models

arXiv 2302.09923 ↗First posted 20 Feb 2023cs.CR cs.LGcited by 48

Not on the map. Why?

Abstract (arXiv)

Text-to-Image generation models have revolutionized the artwork design process and enabled anyone to create high-quality images by entering text descriptions called prompts. Creating a high-quality prompt that consists of a subject and several modifiers can be time-consuming and costly. In consequence, a trend of trading high-quality prompts on specialized marketplaces has emerged. In this paper, we perform the first study on understanding the threat of a novel attack, namely prompt stealing attack, which aims to steal prompts from generated images by text-to-image generation models. Successful prompt stealing attacks directly violate the intellectual property of prompt engineers and jeopardize the business model of prompt marketplaces. We first perform a systematic analysis on a dataset collected by ourselves and show that a successful prompt stealing attack should consider a prompt's subject as well as its modifiers. Based on this observation, we propose a simple yet effective prompt stealing attack, PromptStealer. It consists of two modules: a subject generator trained to infer the subject and a modifier detector for identifying the modifiers within the generated image. Experimental results demonstrate that PromptStealer is superior over three baseline methods, both quantitatively and qualitatively. We also make some initial attempts to defend PromptStealer. In general, our study uncovers a new attack vector within the ecosystem established by the popular text-to-image generation models. We hope our results can contribute to understanding and mitigating this emerging threat.

Key facts. Cited by 48 papers in the map (data through 7 Oct 2026). Builds on 42 of its 71 references that are in the map. First posted on arXiv 20 Feb 2023.

Builds on

42 of 71 references.

References · 42

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  5. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  6. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  7. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  8. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  9. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
  10. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  11. 2016Adversarial examples in the physical worldcited by 1,762
  12. 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
30 more
  1. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  2. 2016Practical Black-Box Attacks against Machine Learningcited by 893
  3. 2021Membership Inference Attacks From First Principlescited by 839
  4. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  5. 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
  6. 2023Extracting Training Data from Diffusion Modelscited by 723
  7. 2021ClipCap: CLIP Prefix for Image Captioningcited by 557
  8. 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 536
  9. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  10. 2020Label-Only Membership Inference Attackscited by 371
  11. 2019Hidden Trigger Backdoor Attackscited by 359
  12. 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
  13. 2019HopSkipJumpAttack: A Query-Efficient Decision-Based Attackcited by 328
  14. 2020Input-Aware Dynamic Backdoor Attackcited by 304
  15. 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
  16. 2021Design Guidelines for Prompt Engineering Text-to-Image Generative Modelscited by 216
  17. 2022Optimizing Prompts for Text-to-Image Generationcited by 204
  18. 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 200
  19. 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
  20. 2020Membership Leakage in Label-Only Exposurescited by 156
  21. 2019Privacy Risks of Securing Machine Learning Models against Adversarial Examplescited by 136
  22. 2021Query2Label: A Simple Transformer Way to Multi-Label Classificationcited by 126
  23. 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
  24. 2020QEBA: Query-Efficient Boundary-Based Blackbox Attackcited by 103
  25. 2021ML-Decoder: Scalable and Versatile Classification Headcited by 78
  26. 2022Membership Inference Attacks Against Text-to-image Generation Modelscited by 66
  27. 2022A Taxonomy of Prompt Modifiers for Text-To-Image Generationcited by 54
  28. 2022Best Prompts for Text-to-Image Models and How to Find Themcited by 35
  29. 2022Auditing Membership Leakages of Multi-Exit Networkscited by 26
  30. 2022Backdoor Attacks in the Supply Chain of Masked Image Modelingcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 12; 2025: 17; 2026: 14.

48 papers.

Sort:

By area:

  1. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  2. 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 194
  3. 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
  4. 2023Unleashing the potential of prompt engineering for large language modelscited by 72
  5. 2024Prompt Stealing Attacks Against Large Language Modelscited by 39
  6. 2023Watermarking Diffusion Modelcited by 34
  7. 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
  8. 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 26
  9. 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 18
  10. 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Eracited by 17
  11. 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworkscited by 14
  12. 2023A Systematic Survey of Prompt Engineering on Vision-Language Foundation Modelscited by 12
36 more
  1. 2024Chain-of-Jailbreak Attack for Image Generation Models via Editing Step by Stepcited by 11
  2. 2025ControlNET: A Firewall for RAG-based LLM Systemcited by 11
  3. 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Imagescited by 9
  4. 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
  5. 2024SOS! Soft Prompt Attack Against Open-Source Large Language Modelscited by 7
  6. 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Modelscited by 6
  7. 2024Capability-aware Prompt Reformulation Learning for Text-to-Image Generationcited by 5
  8. 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approachcited by 5
  9. 2024Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermarkcited by 4
  10. 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledgecited by 4
  11. 2024Regeneration Based Training-free Attribution of Fake Images Generated by Text-to-Image Generative Modelscited by 3
  12. 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Modelscited by 3
  13. 2025VideoGuard: Protecting Video Content from Unauthorized Editingcited by 3
  14. 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
  15. 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generationcited by 3
  16. 2024Promptly Yours? A Human Subject Study on Prompt Inference in AI-Generated Artcited by 2
  17. 2025Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Modelscited by 2
  18. 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimizationcited by 2
  19. 2026Detecting and Mitigating Memorization in Diffusion Models through Anisotropy of the Log-Probabilitycited by 2
  20. 2025Securing AI Systems: A Guide to Known Attacks and Impactscited by 1
  21. 2025Prompt Pirates Need a Map: Stealing Seeds helps Stealing Promptscited by 1
  22. 2026PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Spacecited by 1
  23. 2024Online Prompt Pricing based on Combinatorial Multi-Armed Bandit and Hierarchical Stackelberg Gamecited by 0
  24. 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Modelscited by 0
  25. 2025Attacks on Approximate Caches in Text-to-Image Diffusion Modelscited by 0
  26. 2025Reinforcement Learning-Based Prompt Template Stealing for Text-to-Image Modelscited by 0
  27. 2026Prompt and Circumstances: Evaluating the Efficacy of Human Prompt Inference in AI-Generated Artcited by 0
  28. 2026Proof-of-Authorship for Diffusion-based AI Generated Contentcited by 0
  29. 2026Let Triggers Control: Frequency-Aware Dropout for Effective Token Controlcited by 0
  30. 2026Tool-MCoT: Tool Augmented Multimodal Chain-of-Thought for Content Safety Moderationcited by 0
  31. 2026Evolutionary Token-Level Prompt Optimization for Diffusion Modelscited by 0
  32. 2026On the Origin of Synthetic Information by Means of Steganographic Inheritancecited by 0
  33. 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidencecited by 0
  34. 2026Daydreaming: Stealing Hidden Agent Skills through Black-Box Task Interactioncited by 0
  35. 2026AngelFingerprint: A Traceable, Explainable, and White-Box Stealthy Watermark for Text-Guided Image Editingcited by 0
  36. 2026VI-Bench: Benchmarking Prompt Inversion from AIGC Videoscited by 0