Researchers propose the vision-centric jailbreak attack VJA, achieving an attack success rate of 80.9% against Nano Banana ProWhen the Prompt Becomes Visual: Vision-Centric Jailbreak Attacks for Large Image Editing Models
Proposes a purely visual jailbreak attack VJA and benchmark IESBench for large image editing models, achieving 80.9% ASR on Nano Banana Pro (Table 1).
The attacker uses a prompt-level attack, which is a black-box attack that cannot access the target model's parameters and architecture Θ, and only implements jailbreak by manipulating inputs; the malicious editing intent is fully encoded into the visual modality (Iadversarial), the text input is set to null (NULL), inducing the victim model to perform harmful edits and generate Iharmful that violates content policy.
- Image editing models are shifting from text instructions to visual prompts, and safety mechanisms are mostly designed for text, making it difficult to defend against attacks that hide malicious intent in visual input, creating a risk of safety mismatch at the visual level.
- Proposes VJA, a purely visual jailbreak attack that places malicious instructions entirely within the input image while leaving text empty; constructs the IESBench benchmark covering 15 risk categories; and proposes a training-free defense that reuses KV-Cache for multimodal introspective reasoning.
- Evaluating 8 models on 1054 images from IESBench, VJA achieves an average ASR of 85.7% on 4 commercial models (Table 1); the introspective defense reduces the average ASR of Qwen-Image-Edit* to 66.9% (Table 1).
- The authors note that VJA is less effective against models with weak visual perception and reasoning capabilities; the defense relies on a pre-aligned VLM and is insufficient against misinformation that requires vast, up-to-date world knowledge; a total of 8 models were tested, and experiments were conducted on 8 Tesla V100 GPUs.
- Evaluated models
- Qwen-Image-Edit (Online version)Nano Banana ProGPT Image 1.5Seedream 4.5BAGELFlux2.0[dev]Qwen-Image-Edit* (Local version)Qwen-Image-Edit-Safe (Ours)LongCat-Image-Edit
- Benchmarks
- IESBench
- Metrics
- ASRHSEVHRRAUC-ROCAccuracyPrecisionRecall
Researchers from Tsinghua University, Pengcheng Laboratory, and other institutions propose Vision-Centric Jailbreak Attack (VJA), a vision-to-vision jailbreak attack that fully embeds malicious editing instructions into visual prompts without relying on text input, and construct IESBench, a safety benchmark for image editing models. The benchmark covers 15 risk categories, 116 fine-grained editing attributes, 9 operations, and 1054 visual prompt images, using MLLM as the judge model with attack success rate (ASR), harm score (HS), editing effectiveness (EV), and high-risk rate (HRR) as metrics. The authors also propose a training-free defense that reuses KV-Cache through text safety trigger words for introspective multimodal reasoning, transforming Qwen-Image-Edit into Qwen-Image-Edit-Safe with average ASR and HS reduced by 33% and 1.2 respectively, without requiring additional guardrail models and with negligible computational overhead.
Why it was selectedThe paper reports success rates of visual prompt jailbreaks on multiple commercial image editing models, and provides a benchmark and a training-free defense to facilitate evaluating security gaps in the image editing pipeline.
Paper analysis
What problem does this paper attempt to solve?
The paper points out that image editing models face the threat of visual jailbreaks where malicious instructions are embedded in images, and existing text-based safety mechanisms are inadequate. To address this, it proposes purely visual attack and defense methods.
This paper attempts to address the problem that modern large image editing models are vulnerable to Vision-Centric Jailbreak Attacks.
- Interaction paradigm shift and security risks: Modern image editing models have expanded from pure text instructions to visual prompt editing, allowing users to directly infer intent through markers, arrows, and visual-textual cues, but this shifts the attack surface to the visual modality itself.
- Mismatch of existing defenses: The authors state that existing safeguard models and safety alignment mechanisms are primarily text-centric, focusing on detecting, reviewing, or rejecting malicious intent in natural language, leading to a mismatch with the visual perception needs of image editing.
- Core observation and hypothesis: The authors believe that complex visual prompts in images are more likely to constitute out-of-distribution (OOD) inputs relative to the training distribution, which can bypass existing safety interventions and cause the editing module to execute unsafe visual instructions.
- Proposed solution: The authors propose the purely visual jailbreak attack paradigm VJA, the image editing safety benchmark IESBench, and a training-free defense strategy based on introspective multimodal reasoning.
- Threat model:
- Attack goal: Bypass the victim model's safety mechanisms (such as safeguards and safety alignment) to induce the model to perform harmful edits and generate images Iharmful that violate content policies.
- Attack knowledge: This is a prompt-level and black-box attack; the attacker cannot access the victim model's parameters, architecture, or hyperparameters Θ.
- Attack capability: The attacker only manipulates the input, fully encoding malicious cues in the visual modality image Iadversarial, with text input deliberately left empty (NULL).
- Victim system: Mainstream commercial and open-source large image editing model systems (e.g., Nano Banana Pro, GPT Image 1.5, Qwen-Image-Edit, etc.).
What related research exists?
The paper reviews three research areas: multimodal jailbreaks, instruction-based image editing, and visual prompting, noting that previous attacks and benchmarks have been mostly text-centric, while this work focuses on purely visual editing attacks and evaluation.
- From text jailbreak to multimodal jailbreak: Pérez & Ribeiro (2022) and Liu et al. (2024b) studied prompt injection in LLMs; Schulhoff et al. (2023), Mazeika et al. (2024), and Chao et al. (2024) constructed adversarial benchmarks for evaluating jailbreak success rates; Liu et al. (2024a), Qi et al. (2024a), Shayegani et al. (2023), and Bailey et al. (2023) used image inputs to bypass text alignment; Gong et al. (2025) proposed typographic visual prompt injection FigStep; Wang et al. (2024), Ying et al. (2024), Yang et al. (2025), Li et al. (2025a), and Wang et al. (2025) explored bimodal adversarial perturbations, visual distractions, and encryption/decryption attacks.
- Instruction-based image editing: Brooks et al. (2023), Hertz et al. (2023), and Zhang et al. (2023) implemented fine-grained text-controlled editing; Wu et al. (2025), Deepmind (2025b), and OpenAI (2025) proposed large image editing models supporting multi-step visual-language reasoning. The authors point out that these models expand the attack surface, while existing defense mechanisms remain in the text scenario.
- Visual prompting in multimodal large models: Krishna et al. (2017) and Zhu et al. (2016) first introduced visual prompts to enhance visual reasoning; Huang et al. (2024), Li et al. (2025b), and Lin et al. (2024) used visual prompts as complementary interfaces; Fortin et al. (2025) and Wiedemer et al. (2025) extended to video generation; Xu et al. (2025) constructed VP-Bench, and Feng et al. (2025) noted that visual prompt benchmarks are sensitive to prompt details.
- Baseline methods and comparison benchmarks: The paper uses the traditional Text-Centric Jailbreak Attack (TJA) as a comparison baseline; and in benchmark comparisons, it compares against existing benchmarks HADES (Schlarmann & Hein, 2023), JailbreakV (Chao et al., 2024), and MM-SafetyBench (Liu et al., 2024a).
- Positioning difference between this paper and existing work: The authors state that existing benchmarks and attacks are text-centric with images playing only a supporting role, while this paper proposes the first purely visual image editing jailbreak attack paradigm VJA, and constructs the first dedicated benchmark IESBench for image editing safety along with an introspective defense.
How does the paper address this problem?
The paper proposes the purely visual jailbreak attack VJA that embeds instructions into images, constructs the benchmark IESBench covering 15 categories of risks, and proposes an introspective multimodal defense that reuses KV-Cache.
The paper proposes the purely visual jailbreak attack VJA, constructs the image editing safety benchmark IESBench, and designs a training-free defense method based on introspective multimodal reasoning.
Visual Jailbreak Attack (VJA) and Formalization
The traditional text jailbreak attack takes the form M(Ibenign, Tmalicious; Θ) = Iharmful, using a benign image and a malicious text instruction to induce the model to output a harmful image. To break through text-centric safety review, VJA fully encodes the malicious instruction in the visual modality, and the victim model receives only image input, taking the form M(Iadversarial, NULL; Θ) = Iharmful, where the text input is intentionally set to null to bypass text review mechanisms. The attack guides the model to perform harmful edits by designing visual markers (such as boxes and arrows of different sizes, colors, and shapes) and visual language (text in different fonts).
Introspection-based Defense
For vision-centric attacks, the core of the defense is to restore the true intent from obscure visual instructions. The authors observe that some open-source large image editing models (such as Qwen-Image-Edit and LongCat-Image-Edit) use a vision language model (VLM) to extract text embeddings to supplement visual information. The defense method leverages the KV-Cache of the multimodal prompt, introducing a text safety trigger word (safety evaluation prompt) before image editing, prompting the model to judge whether the editing intent is safe and compliant through multimodal reasoning in the language space, and blocking subsequent diffusion generation if a violation is determined. Appendices A.4 and B.4 detail its reasoning process and scoring templates. By reusing the KV-Cache, the computational overhead of repeated encoding is avoided, and no separate standalone guard model needs to be deployed.
Image Editing Safety Benchmark (IESBench) Construction Process
Existing benchmarks mainly target text-centric attacks with images playing a supporting role; IESBench is specifically built for image editing. First, base images are collected from three sources: 846 benign images generated by modern models, 193 open-source real-world images, and 15 images selected from MM-SafetyBench, totaling 1054 samples. Then, manual review filters out images that do not match realistic carriers, do not match prompts, or are duplicates. On the retained benign base images, target region bounding boxes are annotated, and semantic editing cues with directional guidance are added; finally, each sample is annotated with a unique sample ID, category label, intent label, editing attribute, operation type, and the corresponding text version.
Risk Classification System and Evaluation Protocol
IESBench constructs a three-level hierarchical classification system covering 15 risk categories: Level 1 (personal rights violations, such as privacy leakage, self-harm, non-consensual intimate images, etc.), Level 2 (group-targeted harm, such as commercial document tampering, copyright tampering, discrimination, etc.), and Level 3 (social and public risks, such as violence, misinformation, evidence tampering, etc.), covering 116 fine-grained attributes and 9 editing actions. Evaluation uses a multimodal large model as the judge (Gemini 3 Pro by default), which assesses the harm score HS (1 to 5) and editing effectiveness EV (1 for effective, 0 for ineffective) according to preset scoring criteria.
What experiments did the paper conduct?
Experiments cover 8 models and 1054 benchmark images. VJA achieves an average ASR of 85.7% on 4 commercial models, and the introspective defense reduces attack success rate while maintaining low overhead.
Experimental Setup
- Tested models: 4 commercial models were tested: Nano Banana Pro (i.e., Gemini 3 Pro Image), GPT Image 1.5, Qwen-Image-Edit (online version 20251225), Seedream 4.5 (20251128); and 4 open-source models: BAGEL, Flux2.0[dev], Qwen-Image-Edit* (local version 2512) and the defense-enhanced version Qwen-Image-Edit-Safe (the generalization analysis in the appendix also includes LongCat-Image-Edit).
- Dataset and scale: Main experiments were conducted on all 1054 images from IESBench, covering 15 risk categories, 116 editing attributes, and 9 editing actions.
- Baseline methods: Compared against the traditional Text-Centric Jailbreak Attack (TJA) baseline, as well as the original model baseline without defense deployed.
- Metric definitions: Attack success rate ASR (proportion of attacks not intercepted by safety mechanisms), harm score HS (1 to 5), editing effectiveness EV (whether a meaningful effective edit is produced), and high-risk rate HRR (proportion of samples that are effective and have HS not below threshold τ=4).
- Evaluation method: Gemini 3 Pro was used by default as the MLLM judge model, outputting HS and EV according to scoring criteria; ablation experiments compared Qwen3-VL-2B-Instruct, Qwen3-VL-8B-Instruct, Qwen3-VL-8B-Thinking, GPT 5.2, and human evaluation.
- Hardware and test repetition: Local open-source models were deployed on 8 Nvidia Tesla V100 GPUs; the defense binary classification identification experiment was repeated 5 times, and the paper does not report the number of repetitions for the remaining main experiments.
Main Results
According to Table 1, the overall evaluation results of 8 models on all 1054 images from IESBench are as follows:
Swipe horizontally to read the table
Model ASR (%) ↑ HS ↑ EV (%) ↑ HRR (%) ↑ Qwen-Image-Edit (online) 97.5 4.1 87.7 73.8 Nano Banana Pro 80.9 3.8 79.1 70.6 GPT Image 1.5 70.3 3.2 63.0 52.0 Seedream 4.5 94.1 4.4 86.3 83.8 BAGEL 100.0 4.1 82.0 70.6 Flux2.0[dev] 100.0 4.6 87.1 84.6 Qwen-Image-Edit* (local) 100.0 4.6 92.9 90.3 Qwen-Image-Edit-Safe (defended) 66.9 3.4 62.8 61.7 - Prevalence of jailbreak on commercial models: The authors report that VJA achieves an average ASR of 85.7% on 4 commercial systems; even on the relatively conservative GPT Image 1.5, it reaches 70.3% ASR and 52.0% HRR (Table 1).
- Open-source models lack protective mechanisms: The authors report that the 3 open-source models without a standalone safeguard model (BAGEL, Flux2.0[dev], Qwen-Image-Edit*) all have an ASR of 100.0%, an average HS of 4.3, and HRR of 70.6%, 84.6%, and 90.3% respectively (Table 1).
- Differences in susceptibility across categories: The authors report that evidence tampering (I13) and offensive visual manipulation (I15) are consistently vulnerable across models; there are model-specific differences, such as GPT Image 1.5 having an ASR of 95.7% on copyright tampering (I11) while Nano Banana Pro has 41.3% (Table 1).
Comparison Experiment between VJA and Traditional Text Jailbreak (TJA)
- Evaluation setup: 20% of the data was sampled in a category-balanced manner from IESBench to compare VJA and TJA on 4 commercial models (Table 2).
- Experimental results: On Nano Banana Pro and GPT Image 1.5, ASR under VJA increased by 35.6 percentage points (from 48.8% to 84.4%) and 24.9 percentage points (from 46.8% to 71.7%) respectively; on the weakly aligned models Qwen-Image-Edit and Seedream 4.5, ASR increased by 7.3 percentage points and 0.5 percentage points respectively, with HRR changes of -0.5 percentage points and -1.4 percentage points (Table 2).
- Authors' interpretation: The authors believe that understanding visual attacks is relatively difficult for some models, and insufficient visual instruction-following capability limits the effectiveness of the attack on weak models, while the safety mechanisms of strong models are more easily misled by visual cues.
Analysis of the Introspective Defense's Identification Capability and Generalization
- Evaluation setup: A mixed dataset containing 10% VJA positive samples and 10% benign visual prompt negative samples was constructed, and binary classification performance was evaluated in a zero-shot setting (Figure 7); generalization was verified on LongCat-Image-Edit and Flux2.0[dev] (Table 7).
- Experimental results: The full defense achieves 75% attack identification rate and 75.7% AUC-ROC; removing the reasoning step reduces the identification rate to 51.1% and AUC-ROC to 51.2% (Figure 7); after introducing the defense, LongCat-Image's ASR dropped from 100.0% to 71.9%, and Flux2.0[dev]'s ASR dropped from 100.0% to 69.0% (Table 7).
- Authors' interpretation: The authors believe that the core of introspection lies in multimodal reasoning in language form; because the method leverages inherent text safety alignment, it can transfer to other models that have been safety-aligned in the language space.
Judge Model Ablation and Human Consistency Evaluation
- Evaluation setup: 5% was randomly sampled from the edited images generated by all 7 victim models, and the consistency of 5 MLLM judges with human evaluation was compared (Table 3, Table 6).
- Experimental results: In human voting, GPT 5.2 received 29.3% (541 votes) and Gemini 3 Pro received 25.4% (470 votes); the Pearson correlation coefficient between Gemini 3 Pro and human evaluation was 0.79 with a Kappa coefficient of 0.67 (Table 3, Table 6); human evaluation gave an HS of 3.7±1.2, lower than most MLLMs (Table 3).
- Authors' interpretation: The authors believe that human evaluation is more conservative in judging high harm scores; model size has a significant impact on the performance of local judge models, and small models tend to overlook subtle visual edits.
Other Ablations and Analyses
- Visual prompt sensitivity (Figure 14): Changing colors and shapes increased HR and EV of individual models by up to 28% and 50%, or decreased them by 25.8% and 33.3%; handwritten fonts or non-English languages caused EV and ASR to decrease.
- Defense computational overhead (Table 5): Integrating the defense into Qwen-Image-Edit added 170 input/110 output tokens, with runtime increased by 4ms (approximately 3% additional time); LongCat-Image-Edit added 155 input/134.9 output tokens, with runtime increased by 6ms.
- Local model judge bias (Figure 16): Qwen3-VL-8B-Instruct rated significantly fewer attacks as 2 or 3 compared to Gemini 3 Pro, tending to give high scores to most samples.
What are some points that can be further explored?
The authors note that VJA is limited by the victim model's visual reasoning capability, and the defense relies on the world knowledge of a pre-aligned VLM. Experiments cover 8 models and 15 categories of editing risks.
Limitations and future directions noted by the authors
- Limited attack effectiveness on weak-perception models: The authors note in Section 6 that VJA's limitation is its weaker effectiveness on models with limited visual perception and reasoning capabilities, because such models may be unable to infer the editing intent purely from vision.
- Insufficient defense against misinformation relying on world knowledge: The authors note in Section 4.1 that, because the proposed defense relies on a pre-aligned VLM, its effectiveness is relatively insufficient against attacks involving false or misleading information that requires vast and up-to-date world knowledge.
- Need for fine-tuning open-source local judge models: The authors note in Appendix A.2 that future fine-tuning of local models to serve as effective alternatives to commercial models would facilitate local deployment.
- Constraint of insufficient visual instruction following on attack harm: The authors note in Section 4.2 that some models, due to insufficient visual instruction-following capability, may prevent the attack from producing the intended harmful effect.
Experimental coverage
- Scope of tested models: The experiments tested 4 commercial models (Nano Banana Pro, GPT Image 1.5, Qwen-Image-Edit online version, Seedream 4.5) and 4 open-source models (BAGEL, Flux2.0[dev], Qwen-Image-Edit local version and safe version), and covered LongCat-Image-Edit in defense generalization.
- Evaluation dataset coverage: The experiments were conducted on 1054 images from IESBench, covering 15 risk categories, 116 fine-grained attributes, and 9 editing actions; some analysis experiments used 20% or 10% subsets.
- Defense mechanism evaluation: Defense experiments were tested on open-source diffusion editing models that extract text embeddings based on VLM (Qwen-Image-Edit, LongCat-Image-Edit, Flux2.0[dev]), and evaluated binary classification identification metrics and latency/token overhead.
- Judge model evaluation: Gemini 3 Pro was used by default for evaluation, and comparisons and consistency with GPT 5.2, 3 Qwen3-VL variants, and human evaluation were tested on a 5% sample.
- Unreported information: The paper does not report the prompt generation iteration budget during the attack process, the number of independent repeated trials for commercial APIs, nor does it test adaptive attack strategies.
Summarize the main content of the paper
The paper studies the purely visual jailbreak threat to image editing models, proposing the attack method VJA, the benchmark IESBench, and an introspective defense; experiments measure an average ASR of 85.7% on commercial models.
- Research positioning: This work studies the jailbreak security risks posed by purely visual prompts in large image editing models, and proposes a corresponding attack evaluation benchmark and a training-free defense method.
- Core problem: As image editing shifts from natural language control to visual tokens and multimodal cues, existing text-centric safety mechanisms cannot effectively intercept malicious intent hidden in input images, causing models to perform unsafe edits.
- Main method design: Proposes VJA, a purely visual jailbreak attack that fully encodes malicious editing instructions within the image and leaves text input empty; constructs the IESBench benchmark covering 15 risk categories and 1054 images; and proposes a defense method that reuses KV-Cache for multimodal introspective reasoning.
- Key experimental results:
- On IESBench, VJA achieves an average ASR of 85.7% across 4 commercial models, with Nano Banana Pro at 80.9% and GPT Image 1.5 at 70.3% (Table 1).
- The 3 open-source models without a separate safeguard all reach 100.0% ASR under VJA, with an average harmfulness score HS of 4.3 (Table 1).
- The introspective defense reduces average ASR to 66.9% on Qwen-Image-Edit* (Table 1), with only about 3% additional runtime overhead (Table 5).
- Authors' conclusions and implications: The authors argue that visual jailbreaks expose the weakness of existing defenses that rely too heavily on the text modality; as models' visual reasoning capabilities improve, safety mechanisms are circumvented. Introspective reasoning in the language space can enhance the safety of image editing systems without requiring auxiliary guard models.