TL;DR
As text-to-image (T2I) models become highly proficient at rendering crisp, paragraph-length text, they open up a dangerous new vulnerability: inscriptive jailbreaking. This attack method tricks T2I models into embedding harmful textual payloads (like fraud instructions or phishing templates) inside completely benign visual scenes, bypassing standard safety filters. To expose this threat, the authors introduce Etch, a black-box framework that decomposes adversarial prompts into three functional layers and iteratively refines them using a vision-language model feedback loop.
What Problem Does This Paper Address?
Existing safety guardrails for generative AI are largely siloed by modality. Large Language Model (LLM) defenses block harmful text outputs, while Text-to-Image (T2I) defenses focus on preventing depictive harms—blocking the generation of visually explicit, violent, or inappropriate imagery.
However, state-of-the-art T2I models can now render highly legible, long-form text within images. This paper identifies a critical blind spot resulting from this capability: the inscriptive jailbreak. Instead of asking a model to draw something harmful, an attacker coerces it into drawing a benign scene (e.g., a classroom blackboard or a business document) that contains legible, malicious text. Because the prompt looks innocent and the visual scene is harmless, multi-stage safety filters fail to intercept the generation, allowing the visual document to act as a cross-modal conduit for harmful information.
Methods
Optimizing a single prompt to simultaneously evade text filters, evade image filters, and render accurate text is an intractable problem due to "destructive interference" (strengthening one aspect weakens another). To solve this, the authors propose Etch, a black-box framework featuring two core mechanisms:
- Compositional Prompt Decomposition: Etch breaks the adversarial prompt into three functionally orthogonal layers, each targeting a specific stage of the safety pipeline:
- Semantic Camouflage ($\ell_{nar}$): Transposes the harmful intent into a benign context (e.g., recasting a cybercrime instruction as a cybersecurity thriller script) to evade input text guardrails.
- Visual-Spatial Anchoring ($\ell_{scn}$): Embeds the text onto natural, contextually plausible carriers (like whiteboards, monitors, or documents) so post-generation image filters perceive the scene as benign.
- Typographic Payload Encoding ($\ell_{typ}$): Directs the T2I model's internal language prior to autonomously write out the detailed harmful text clearly and legibly.
- Zero-Order Semantic Optimization: Because T2I generation is stochastic, a single-pass prompt can still suffer from text blurriness or layout issues. Etch introduces a closed-loop refinement process where a Vision-Language Model (VLM) acts as a diagnostic critic. The VLM evaluates the generated image, localizes specific failure modes (e.g., text truncation or semantic drift), and provides targeted feedback to update only the failing prompt layers.
Datasets
Because traditional T2I safety benchmarks focus purely on visual semantics, the authors adapted two popular LLM jailbreak datasets to evaluate inscriptive attacks:
- AdvBench subset: 50 instances covering diverse harmful categories like misinformation, cybercrime, and discrimination.
- MaliciousInstruct: 100 instances covering severe malicious intents, including sabotage, theft, and defamation.
The framework was evaluated across 7 state-of-the-art T2I models, including commercial systems (Google Banana/Imagen series, GPT Image series, Seedream 4.5) and open-source models (HunyuanImage-3.0, Qwen-Image).
Key Insights and Ideas
- The Utility-Safety Trade-off: Models heavily optimized for exceptional typographic rendering (such as HunyuanImage-3.0 and Seedream 4.5) are ironically the most vulnerable to inscriptive jailbreaks. Their high text fidelity makes the malicious payload highly legible, resulting in attack success rates up to 91%.
- The Cross-Modal Semantic Gap: Traditional image-level safeguards (like LlavaGuard) are blind to inscriptive harm because they are trained to flag visually explicit content (NSFW, gore) rather than reading and understanding the text embedded within a benign context.
- Divide and Conquer Prompting: Forcing an LLM to simultaneously balance multiple complex evasion objectives leads to shallow reasoning. Isolating the tasks into narrative, structural, and typographic layers allows for much higher generation quality and attack efficacy.
Key Results
- High Success Rates: Etch consistently outperformed all 7 baseline methods (including T2I jailbreaks like DACA and LLM jailbreaks like ReNeLLM) by a wide margin, achieving an average Attack Success Rate (ASR) of 65.57% and peaking at 91.00% on Hunyuan-3.0.
- Robustness Against Defenses: Etch successfully penetrated 8 popular text- and image-level defenses (including LlamaGuard2, ShieldGemma, SmoothLLM, and LatentGuard). For instance, under LlamaGuard2, the ASR on Qwen-Image only dropped marginally from 71.00% to 69.00%.
- Generalizability: The framework proved highly stable regardless of the underlying foundation models used; swapping the base LLM or evaluating VLM yielded negligible performance fluctuations.
Limitations and Future Work
The authors note several limitations that pave the way for future research:
- English-Centric Evaluation: The study was limited entirely to English payloads; extending the framework to multilingual contexts is necessary to capture the full threat landscape.
- Single Critic Dependency: The refinement loop currently relies on a single VLM critic model. Exploring ensemble methods or self-play strategies could enhance optimization robustness.
- Defense and Benchmarking Gaps: There is an urgent need for the community to develop standardized, fine-grained evaluation protocols and typography-aware defense mechanisms that actively read and moderate text embedded within generated images.
Summary updated