Prompt Stealing Attacks Against Text-to-Image Generation Models
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
- 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2016Adversarial examples in the physical worldcited by 1,762
- 2017High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANscited by 1,176
30 more
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2016Practical Black-Box Attacks against Machine Learningcited by 893
- 2021Membership Inference Attacks From First Principlescited by 839
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
- 2023Extracting Training Data from Diffusion Modelscited by 723
- 2021ClipCap: CLIP Prefix for Image Captioningcited by 557
- 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 536
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2020Label-Only Membership Inference Attackscited by 371
- 2019Hidden Trigger Backdoor Attackscited by 359
- 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
- 2019HopSkipJumpAttack: A Query-Efficient Decision-Based Attackcited by 328
- 2020Input-Aware Dynamic Backdoor Attackcited by 304
- 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
- 2021Design Guidelines for Prompt Engineering Text-to-Image Generative Modelscited by 216
- 2022Optimizing Prompts for Text-to-Image Generationcited by 204
- 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 200
- 2020BadNL: Backdoor Attacks against NLP Models with Semantic-preserving Improvementscited by 191
- 2020Membership Leakage in Label-Only Exposurescited by 156
- 2019Privacy Risks of Securing Machine Learning Models against Adversarial Examplescited by 136
- 2021Query2Label: A Simple Transformer Way to Multi-Label Classificationcited by 126
- 2021BadEncoder: Backdoor Attacks to Pre-trained Encoders in Self-Supervised Learningcited by 120
- 2020QEBA: Query-Efficient Boundary-Based Blackbox Attackcited by 103
- 2021ML-Decoder: Scalable and Versatile Classification Headcited by 78
- 2022Membership Inference Attacks Against Text-to-image Generation Modelscited by 66
- 2022A Taxonomy of Prompt Modifiers for Text-To-Image Generationcited by 54
- 2022Best Prompts for Text-to-Image Models and How to Find Themcited by 35
- 2022Auditing Membership Leakages of Multi-Exit Networkscited by 26
- 2022Backdoor Attacks in the Supply Chain of Masked Image Modelingcited by 7
Built on by
Citing papers per year: 2023: 5; 2024: 12; 2025: 17; 2026: 14.
48 papers.
Sort:
By area:
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 194
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
- 2023Unleashing the potential of prompt engineering for large language modelscited by 72
- 2024Prompt Stealing Attacks Against Large Language Modelscited by 39
- 2023Watermarking Diffusion Modelcited by 34
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Surveycited by 26
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 18
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Eracited by 17
- 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworkscited by 14
- 2023A Systematic Survey of Prompt Engineering on Vision-Language Foundation Modelscited by 12
36 more
- 2024Chain-of-Jailbreak Attack for Image Generation Models via Editing Step by Stepcited by 11
- 2025ControlNET: A Firewall for RAG-based LLM Systemcited by 11
- 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Imagescited by 9
- 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Modelscited by 7
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Modelscited by 6
- 2024Capability-aware Prompt Reformulation Learning for Text-to-Image Generationcited by 5
- 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approachcited by 5
- 2024Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermarkcited by 4
- 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledgecited by 4
- 2024Regeneration Based Training-free Attribution of Fake Images Generated by Text-to-Image Generative Modelscited by 3
- 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Modelscited by 3
- 2025VideoGuard: Protecting Video Content from Unauthorized Editingcited by 3
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generationcited by 3
- 2024Promptly Yours? A Human Subject Study on Prompt Inference in AI-Generated Artcited by 2
- 2025Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Modelscited by 2
- 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimizationcited by 2
- 2026Detecting and Mitigating Memorization in Diffusion Models through Anisotropy of the Log-Probabilitycited by 2
- 2025Securing AI Systems: A Guide to Known Attacks and Impactscited by 1
- 2025Prompt Pirates Need a Map: Stealing Seeds helps Stealing Promptscited by 1
- 2026PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Spacecited by 1
- 2024Online Prompt Pricing based on Combinatorial Multi-Armed Bandit and Hierarchical Stackelberg Gamecited by 0
- 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Modelscited by 0
- 2025Attacks on Approximate Caches in Text-to-Image Diffusion Modelscited by 0
- 2025Reinforcement Learning-Based Prompt Template Stealing for Text-to-Image Modelscited by 0
- 2026Prompt and Circumstances: Evaluating the Efficacy of Human Prompt Inference in AI-Generated Artcited by 0
- 2026Proof-of-Authorship for Diffusion-based AI Generated Contentcited by 0
- 2026Let Triggers Control: Frequency-Aware Dropout for Effective Token Controlcited by 0
- 2026Tool-MCoT: Tool Augmented Multimodal Chain-of-Thought for Content Safety Moderationcited by 0
- 2026Evolutionary Token-Level Prompt Optimization for Diffusion Modelscited by 0
- 2026On the Origin of Synthetic Information by Means of Steganographic Inheritancecited by 0
- 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidencecited by 0
- 2026Daydreaming: Stealing Hidden Agent Skills through Black-Box Task Interactioncited by 0
- 2026AngelFingerprint: A Traceable, Explainable, and White-Box Stealthy Watermark for Text-Guided Image Editingcited by 0
- 2026VI-Bench: Benchmarking Prompt Inversion from AIGC Videoscited by 0
- 2026VI-Bench: Benchmarking Prompt Inversion from AIGC Videos8 Sep 2026
- 2026AngelFingerprint: A Traceable, Explainable, and White-Box Stealthy Watermark for Text-Guided Image Editing4 Sep 2026
- 2026Daydreaming: Stealing Hidden Agent Skills through Black-Box Task Interaction27 Aug 2026
- 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidence13 Aug 2026
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generation31 May 2026
- 2026On the Origin of Synthetic Information by Means of Steganographic Inheritance26 May 2026
- 2026Evolutionary Token-Level Prompt Optimization for Diffusion Models10 Apr 2026
- 2026PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Space3 Apr 2026
- 2026Let Triggers Control: Frequency-Aware Dropout for Effective Token Control28 Mar 2026
- 2026Proof-of-Authorship for Diffusion-based AI Generated Content18 Mar 2026
- 2026Tool-MCoT: Tool Augmented Multimodal Chain-of-Thought for Content Safety Moderation15 Mar 2026
- 2026The Attack and Defense Landscape of Agentic AI: A Comprehensive Survey11 Mar 2026
36 more
- 2026Detecting and Mitigating Memorization in Diffusion Models through Anisotropy of the Log-Probability28 Jan 2026
- 2026Prompt and Circumstances: Evaluating the Efficacy of Human Prompt Inference in AI-Generated Art24 Jan 2026
- 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimization27 Nov 2025
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models5 Oct 2025
- 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledge5 Oct 2025
- 2025Reinforcement Learning-Based Prompt Template Stealing for Text-to-Image Models27 Sep 2025
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025Prompt Pirates Need a Map: Stealing Seeds helps Stealing Prompts11 Sep 2025
- 2025Attacks on Approximate Caches in Text-to-Image Diffusion Models28 Aug 2025
- 2025Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Models9 Aug 2025
- 2025VideoGuard: Protecting Video Content from Unauthorized Editing5 Aug 2025
- 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Models30 Jul 2025
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Era3 Jul 2025
- 2025Securing AI Systems: A Guide to Known Attacks and Impacts29 Jun 2025
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Models26 Jun 2025
- 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Models3 Jun 2025
- 2025ControlNET: A Firewall for RAG-based LLM System13 Apr 2025
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challenges27 Mar 2025
- 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approach20 Feb 2025
- 2024Promptly Yours? A Human Subject Study on Prompt Inference in AI-Generated Art10 Oct 2024
- 2024Chain-of-Jailbreak Attack for Image Generation Models via Editing Step by Step4 Oct 2024
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trends22 Sep 2024
- 2024Rag and Roll: An End-to-End Evaluation of Indirect Prompt Manipulations in LLM-based Application Frameworks9 Aug 2024
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Models3 Jul 2024
- 2024Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermark24 May 2024
- 2024Online Prompt Pricing based on Combinatorial Multi-Armed Bandit and Hierarchical Stackelberg Game24 May 2024
- 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Images21 Apr 2024
- 2024A Survey on Responsible Generative AI: What to Generate and What Not8 Apr 2024
- 2024Capability-aware Prompt Reformulation Learning for Text-to-Image Generation27 Mar 2024
- 2024Regeneration Based Training-free Attribution of Fake Images Generated by Text-to-Image Generative Models3 Mar 2024
- 2024Prompt Stealing Attacks Against Large Language Models20 Feb 2024
- 2023Unleashing the potential of prompt engineering for large language models23 Oct 2023
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug 2023
- 2023A Systematic Survey of Prompt Engineering on Vision-Language Foundation Models24 Jul 2023
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models23 May 2023
- 2023Watermarking Diffusion Model21 May 2023
- 2023Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Modelscited by 171
- 2023Watermarking Diffusion Modelcited by 34
- 2025VideoGuard: Protecting Video Content from Unauthorized Editingcited by 3
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Modelscited by 3
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generationcited by 3
- 2025Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Modelscited by 2
- 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimizationcited by 2
- 2026Detecting and Mitigating Memorization in Diffusion Models through Anisotropy of the Log-Probabilitycited by 2
- 2025Prompt Pirates Need a Map: Stealing Seeds helps Stealing Promptscited by 1
- 2025EDITOR: Effective and Interpretable Prompt Inversion for Text-to-Image Diffusion Modelscited by 0
- 2025Attacks on Approximate Caches in Text-to-Image Diffusion Modelscited by 0
- 2026Proof-of-Authorship for Diffusion-based AI Generated Contentcited by 0
12 most cited of 15 All 15 (JSON)
- 2026AngelFingerprint: A Traceable, Explainable, and White-Box Stealthy Watermark for Text-Guided Image Editing4 Sep 2026
- 2026SafeGen-Bench: Benchmarking Safety in Image-Conditioned Text-to-Video Generation31 May 2026
- 2026Evolutionary Token-Level Prompt Optimization for Diffusion Models10 Apr 2026
- 2026Let Triggers Control: Frequency-Aware Dropout for Effective Token Control28 Mar 2026
- 2026Proof-of-Authorship for Diffusion-based AI Generated Content18 Mar 2026
- 2026Detecting and Mitigating Memorization in Diffusion Models through Anisotropy of the Log-Probability28 Jan 2026
- 2025PROMPTMINER: Black-Box Prompt Stealing against Text-to-Image Generative Models via Reinforcement Learning and Fuzz Optimization27 Nov 2025
- 2025Responsible Diffusion: A Comprehensive Survey on Safety, Ethics, and Trust in Diffusion Models25 Sep 2025
- 2025Prompt Pirates Need a Map: Stealing Seeds helps Stealing Prompts11 Sep 2025
- 2025Attacks on Approximate Caches in Text-to-Image Diffusion Models28 Aug 2025
- 2025Towards Effective Prompt Stealing Attack against Text-to-Image Diffusion Models9 Aug 2025
- 2025VideoGuard: Protecting Video Content from Unauthorized Editing5 Aug 2025
12 newest of 15 All 15 (JSON)
- 2023A Systematic Survey of Prompt Engineering on Vision-Language Foundation Modelscited by 12
- 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Imagescited by 9
- 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Modelscited by 3
- 2025Reinforcement Learning-Based Prompt Template Stealing for Text-to-Image Modelscited by 0
- 2025Reinforcement Learning-Based Prompt Template Stealing for Text-to-Image Models27 Sep 2025
- 2025CapRecover: A Cross-Modality Feature Inversion Attack Framework on Vision Language Models30 Jul 2025
- 2024Iteratively Prompting Multimodal LLMs to Reproduce Natural and AI-Generated Images21 Apr 2024
- 2023A Systematic Survey of Prompt Engineering on Vision-Language Foundation Models24 Jul 2023
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2024Chain-of-Jailbreak Attack for Image Generation Models via Editing Step by Stepcited by 11
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Modelscited by 7
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Modelscited by 6
- 2025SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models5 Oct 2025
- 2024Chain-of-Jailbreak Attack for Image Generation Models via Editing Step by Step4 Oct 2024
- 2024SOS! Soft Prompt Attack Against Open-Source Large Language Models3 Jul 2024
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug 2023
- 2023Unleashing the potential of prompt engineering for large language modelscited by 72
- 2024Prompt Stealing Attacks Against Large Language Modelscited by 39
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 18
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Eracited by 17
- 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
- 2024Capability-aware Prompt Reformulation Learning for Text-to-Image Generationcited by 5
- 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approachcited by 5
- 2024Are You Copying My Prompt? Protecting the Copyright of Vision Prompt for VPaaS via Watermarkcited by 4
- 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledgecited by 4
- 2024Regeneration Based Training-free Attribution of Fake Images Generated by Text-to-Image Generative Modelscited by 3
- 2024Promptly Yours? A Human Subject Study on Prompt Inference in AI-Generated Artcited by 2
12 most cited of 20 All 20 (JSON)
- 2026VI-Bench: Benchmarking Prompt Inversion from AIGC Videos8 Sep 2026
- 2026Daydreaming: Stealing Hidden Agent Skills through Black-Box Task Interaction27 Aug 2026
- 2026PROVE: Training-Free Prompt Recovery using Verifiable Evidence13 Aug 2026
- 2026On the Origin of Synthetic Information by Means of Steganographic Inheritance26 May 2026
- 2026PromptEvolver: Prompt Inversion through Evolutionary Optimization in Natural-Language Space3 Apr 2026
- 2026Prompt and Circumstances: Evaluating the Efficacy of Human Prompt Inference in AI-Generated Art24 Jan 2026
- 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledge5 Oct 2025
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Era3 Jul 2025
- 2025Securing AI Systems: A Guide to Known Attacks and Impacts29 Jun 2025
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Models26 Jun 2025
- 2025Vulnerability of Text-to-Image Models to Prompt Template Stealing: A Differential Evolution Approach20 Feb 2025
- 2024Promptly Yours? A Human Subject Study on Prompt Inference in AI-Generated Art10 Oct 2024
12 newest of 20 All 20 (JSON)