VPA-Guard: Defending and Benchmarking Image-to-Video Generation Against Visual Prompt Attacks

Yining Sun, Haoyu Kang, Jiajun Wu, Heng Zhang, Danyang Zhang, Zhenjun Zhao, Haochen Han, Fangming Liu, Wai Kin Victor Chan, Alex Jinpeng WangarXiv 2026

TL;DR

This paper exposes a critical safety vulnerability in Image-to-Video (I2V) models: Visual Prompt Attacks (VPAs), where seemingly harmless visual cues like arrows or emojis are used to trick models into generating harmful videos. To address this, the authors introduce VVA-Bench, the first systematic benchmark to evaluate these vision-centric attacks, and propose VPA-Guard, an adaptive, retrieval-augmented defense framework that slashes attack success rates without disrupting legitimate user edits.

What Problem Does This Paper Address?

Recent breakthroughs in Image-to-Video (I2V) generation allow users to guide video dynamics using intuitive visual prompts—such as drawing an arrow to indicate motion or adding a sketch to guide a scene's evolution. However, the authors reveal that this profound controllability opens up a dangerous new attack vector.

Because these visual cues appear completely innocuous in a static context, standard safety filters (which typically scan for explicit text or graphic imagery) are completely blind to them. An attacker can pair a benign text prompt with a static image containing a malicious visual cue—for example, an arrow directing a car to steer into a crowd of pedestrians. The I2V model interprets these cues as executable temporal instructions, unfolding them into harmful actions in the generated video.

Figure 2. Comparison between traditional text-prompt attack and visual-prompt attack. Top: Samples of attack scheme com- parison. Bottom: Performance comparison. Visual prompt attack poses a higher threat to video models.

Existing safety benchmarks focus almost entirely on text-based or content-only image jailbreaks, leaving these implicit, instruction-following visual prompt attacks completely unmonitored.

Methods

To defend against VPAs without over-refusing benign user requests, the authors propose VPA-Guard, a retrieval-augmented and self-evolving defense framework.

Figure 3. Overview of the proposed defense pipeline. 1. We select and store 42 representative attack samples with explicit rationales to prerequisite knowledge before safe generation. 2. The input image and text are encoded together and then used to extract their attack intent and retrieve similar attack patterns. 3. The retrieved samples and their rationales will be used as few-shot prompt to ensure safer generation. 4. A post-generation self-evolving mechanism is used to make the attack database complete and the model adapt to new attack paradigm.

The pipeline operates in four main stages:

  1. Attack Paradigm Library: The system maintains a curated vector database of representative attack patterns, each paired with an explicit rationale explaining why the prompt leads to a safety violation.
  2. Multimodal Retrieval: When a user submits an image and text, VPA-Guard uses a lightweight visual encoder (DINOv2) to capture localized visual symbols (like arrows or emojis) and a Sentence Transformer for the text. It fuses these features to retrieve the top-$k$ most similar attack paradigms from the database.
  3. Few-Shot Prompting: Instead of rigidly blocking the request, the system dynamically constructs a few-shot prompt for the video generation model. This prompt exposes the model to similar past attacks and explicitly explains how they trick the system, guiding the model to recognize the latent malicious intent and generate a safe video instead.
  4. Self-Evolving Adaptation: To handle Out-of-Distribution (OOD) attacks, a post-generation Vision-Language Model (VLM) acts as a Reflection Agent. If an unsafe video slips through the defense, the agent analyzes the failure, synthesizes a new rationale, and dynamically updates the vector database.

Datasets

The authors introduce VVA-Bench, a diagnostic benchmark specifically designed to evaluate I2V safety under vision-centric prompt attacks.

Figure 1. Overview and statistics of VVA-Bench. Left panels showcase representative examples of five VP mechanisms and 2frames transitions. Right panels provide quantitative distributions of attack forms, subtypes, and seven major safety categories, highlighting the balanced and multi-dimensional nature of our dataset.

The dataset contains 452 unsafe attack samples and 45 mechanism-aligned safe controls (used to ensure the defense doesn't break benign functionality). It covers two primary attack forms:

  • 2frames: Exploiting keyframe-conditioned models by providing a "before" and "after" image pair that implies a harmful transition.
  • Visual Prompt (VP): Divided into five distinct subtypes based on the instruction carrier: Movement Control (MC), Emoji Instruction (EI), Pose Control (PC), Draft Instantiation (DI), and Camera Control (CC).

The dataset spans seven major safety categories aligned with industry standards, including Violence, Privacy Violations, Self-Harm, and Discrimination.

Key Insights and Ideas

  • Controllability is a Double-Edged Sword: The very mechanism that makes modern I2V models highly responsive to user edits (fine-grained visual instruction-following) is what makes them incredibly vulnerable to implicit jailbreaks.
  • Static Filters are Insufficient: Malicious intent in VPAs is distributed across visual cues, spatial layouts, and temporal dynamics. A static image filter cannot detect a harm that only materializes during dynamic synthesis.
  • Context-Aware Defense Over Unlearning: Standard defense techniques like unlearning or aggressive visual-cue suppression degrade the model's utility for benign tasks. Teaching the model why an interaction is malicious via few-shot context is far more effective than blindly blocking specific shapes or keywords.

Key Results

The authors evaluated four state-of-the-art I2V models: Wan 2.7, Kling 2.6, Hailuo 2.3, and Veo 3.1.

  • High Vulnerability: Without defense, commercial models are highly susceptible to VPAs. The baseline Attack Success Rate (ASR) reached a staggering 100.0% on Wan 2.7 and 74.8% on Veo 3.1.
  • Defense Effectiveness: Implementing VPA-Guard led to a massive drop in vulnerabilities, achieving an average absolute ASR reduction of 44.2% and an average harmfulness score reduction of 73.4%.
  • Minimal Over-Defense: VPA-Guard maintained a low average Over-defense Rate (OSR) of 12.8% on benign samples, proving it can distinguish between malicious exploits and legitimate user edits.

Limitations and Future Work

As a pioneering framework, VVA-Bench primarily focuses on two attack formats (VP and 2frames). The authors note that future work should explore more diverse multimodal video interfaces as they emerge.

Additionally, the evaluation pipeline relies heavily on an automated MLLM-as-a-judge framework. While the judge correlates strongly with human experts on static inputs, grading complex temporal video dynamics remains a challenging frontier, occasionally requiring human calibration for ambiguous or borderline cases.

Summary updated

BibTeX
@misc{sun2026vpa,
  author = {Yining Sun and Haoyu Kang and Jiajun Wu and Heng Zhang and Danyang Zhang and Zhenjun Zhao and Haochen Han and Fangming Liu and Wai Kin Victor Chan and Alex Jinpeng Wang},
  title = {{VPA-Guard: Defending and Benchmarking Image-to-Video Generation Against Visual Prompt Attacks}},
  year = {2026},
  eprint = {2606.25592},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.25592},
}
Figure