SceneJail: Jailbreaking multimodal large models using video scene contextSceneJail: Exploiting Video Scenario Context to Jailbreak Multimodal LLMs
SceneJail jailbreaks Video-MLLMs by constructing video scenarios and searching for prompts, achieving an average ASR of 91.47% on HADES.
Black-box attack setting: the attacker can only submit videos and accompanying text prompts to the target Video-MLLM and observe the final text response, with no access to parameters, gradients, hidden states, internal safety scores, or training data; the malicious query content is not modified, and the video context and text prompts are manipulated within a limited query budget.
- Existing video jailbreak methods mainly treat video as a text carrier, ignoring the influence of the surrounding video scenario on the model's judgment. The same malicious query under different video scenarios can trigger different safety responses, causing the model to mistake the violating query for part of the scenario's task.
- SceneJail keeps the original query content unchanged, dynamically matches and generates video contexts and carriers through adaptive context construction, and then uses a context-aware prompt search mechanism to alternately reuse historical prompts and generate new prompts based on black-box feedback.
- Evaluated on 8 video MLLMs across HADES and SafeBench, SceneJail-F achieves average ASRs of 91.47% and 78.90%. The split-display SceneJail-S maintains an average ASR of 72.25% under image filtering defense.
- The authors note that search and generation introduce additional overhead, and the experiments use a controlled video construction pipeline that does not cover real natural videos or longer temporal contexts. The experimental evaluation covers 8 models, 2 benchmarks, and 3 defenses.
- Evaluated models
- Qwen2.5-VL-7B-InstructQwen2.5-VL-32B-InstructQwen3-VL-8B-InstructQwen3-VL-32B-InstructInternVL3.5-8B-InstructInternVL3.5-38B-InstructGemini3.5-FlashGPT-4.1
- Benchmarks
- HADESSafeBench
- Metrics
- ASRAQ
The researchers propose SceneJail, an adaptive black-box jailbreak framework that treats the surrounding scene in a video—rather than the presentation of the harmful query—as the attack surface: the same harmful query placed in different video scenes elicits different safety responses. The framework consists of two parts: adaptive scene construction searches for scenes compatible with the harmful query's context, and scene-aware prompt search then searches for text guidance for that scene based on black-box response feedback. On the HADES and SafeBench datasets and eight Video-MLLMs (including two closed-source models, GPT-4.1 and Gemini 3.5 Flash), SceneJail-F, which continuously presents the query in full, achieves the highest average attack success rate of 91.5%, 29.1 percentage points higher than the strongest baseline; SceneJail-S, which spreads the query across consecutive frames, still maintains 72.3% under strict image filtering.
Why it was selectedThe paper treats the video scene itself as an attack surface and reports success rates across eight Video-MLLMs and performance under three defenses, which can serve as a reference for multimodal safety evaluation.
Related events and news
1 events · 0 news mentions
- This event's paper
SceneJail利用视频场景上下文越狱多模态LLM
Paper analysis
What problem does this paper attempt to solve?
Video multimodal models integrate violating queries shown in the frames into their understanding of the video context, allowing attackers to achieve black-box jailbreaks by manipulating the surrounding context and prompts.
This paper attempts to address the jailbreak security vulnerability of video multimodal large language models (Video-MLLMs) when facing manipulation of video scenario context.
- Scenario and importance: The authors note that Video-MLLMs can reason over content containing dynamic visual and temporal cues, but introducing the visual modality also brings multimodal jailbreak risks; attackers can bypass safety protections through the visual channel and induce the model to output violating content.
- Shortcomings of existing methods: The authors state that existing video jailbreak methods mainly inherit image multimodal attack paradigms, focusing on the visual presentation of the malicious query itself (such as typographic text or cross-frame distribution), treating video merely as a carrier of text, and not exploring the role of surrounding video scenario as an independent attack surface.
- Core observation: The authors find that the same malicious query placed in different video scenarios triggers different safety responses; Video-MLLMs tend to interpret a visible query in the frame as part of the task implied by the video, rather than evaluating its compliance in isolation.
- Threat model:
- Attack objective: bypass the target Video-MLLM's safety alignment mechanisms without modifying the original malicious query's text content, inducing it to generate violating harmful responses.
- Knowledge scope: black-box setting; the attacker cannot access the model's parameters, gradients, hidden states, internal safety scores, or training data.
- Attack capability: the attacker controls the video and accompanying text prompt inputs, uses external generation models to construct video scenarios and search prompts, subject to a limited query budget.
- Victim system: deployed commercial closed-source or open-source Video-MLLM systems.
- Paper's approach: The authors propose a black-box jailbreak framework, SceneJail, which collaboratively exploits video scenario context through two components—adaptive scenario construction and scenario-aware prompt search—to achieve jailbreaks.
What related research exists?
The paper reviews three lines of work—multimodal models, multimodal jailbreaks, and video jailbreaks—and notes that existing research focuses on query encoding while overlooking the attack role of the surrounding video scenario.
The paper discusses three lines of related work—multimodal model development, multimodal jailbreaks, and video jailbreaks—and compares against existing attack baselines.
- Multimodal large language models (MLLMs): Early works such as LLaVA (2023), Qwen-VL (2023), and InternVL (2024) mainly performed visual question answering and instruction tuning on static images; recent models such as Video-LLaMA (2024), Video-LLaVA (2024), LLaVA-OneVision (2024), Qwen2.5-VL (2025), Qwen3-VL (2025), and InternVL3.5 (2025) further extend understanding and reasoning over dynamic temporal information.
- Multimodal jailbreak attacks: Existing methods fall into two categories: perturbation-based attacks and semantic/structure-based attacks. Adversarial perturbation methods such as VisualADV (2024), BAP (2025), and JIP (2024) rely on gradient optimization or cross-modal combination, which the authors say are difficult to transfer to closed-source systems; semantic structure methods such as HADES (2024) construct visual context to conceal or amplify malicious intent, while FigStep (2025) converts violating instructions into typographic visual text.
- Video-based multimodal jailbreaks: Recent research has begun to extend to the video modality. VideoJail (2025) combines video input with cross-modal information, while SPTV (2026) and MCV (2026) explore security vulnerabilities from temporal presentation and multi-video segment combination, respectively.
- Baseline methods and benchmarks: The baselines selected for the paper's experiments cover the typographic image attack FigStep-I, its video-input extension FigStep-V, and video-specific attacks VideoJail, SPTV, and MCV (using 4 segments); the evaluation benchmarks are HADES with 5 categories and SafeBench with 10 categories.
- Positioning relative to this paper: The authors note that existing work mainly manipulates the visual encoding form of the malicious query itself or the temporal arrangement across frames and segments; SceneJail keeps the text content of the malicious query unchanged and instead manipulates the surrounding video scenario that contains the query, revealing video scenario context as an independent attack surface.
How does the paper address this problem?
SceneJail dynamically generates adapted videos through adaptive context construction and uses context-specific memory search to guide prompts, forming a nested black-box jailbreak loop.
The authors propose a black-box jailbreak framework, SceneJail, which, while keeping the original harmful query's text content unchanged, uses two collaborative components—adaptive scenario construction and scenario-aware prompt search—to find effective attack combinations in a nested black-box loop.
Core Objective and Architecture
SceneJail aims to find an effective scenario prompt T and accompanying text prompt P for a harmful query q. S(q, f(Vρ(T, q), P)) = 1 This formula defines the attack success condition, where f is the target model, V^\rho(T, q) is the attack video synthesized under display mode \rho (including full display and split display), and S(q, y) is a binary attack success criterion.
Adaptive Scenario Construction
Adaptive Scenario Construction is responsible for finding or constructing video backgrounds compatible with the malicious query's scenario:
- Scenario pool maintenance and scoring: Maintains a candidate pool containing N scenario prompts. An external large language model scores candidate scenarios with Match(T_i, q) (ranging from 0 to 100), evaluating only scenario plausibility without judging query compliance. A candidate scenario is considered qualified when it meets threshold \tau.
- Two-level priority ranking: Qualified scenarios are ranked by combining match scores with historical statistics:
Priority(Ti, q) = ( Match(Ti, q), (1 + log(1 + mi))/(1 + Ci) ) This formula defines the lexicographic priority of a scenario, where m_i is the number of historical successes and C_i is the number of times the search budget was exhausted without success; the match score is primary, and the historical utility term is used only to break ties when match scores are equal.
- Dynamic pool expansion: If no qualified and untried scenario exists, query-guided generation is used to create new scenario prompts and add them to the pool; the generation rules strictly require that the harmful query content must not be restated or directly encoded.
- Video generation and carrier tracking: A text-to-video generation model synthesizes the base video, and CLIP4Clip computes text-video alignment (threshold \eta); YOLO-World then locates and tracks the text carrier region across frames.
- Query rendering and presentation: The original query is rendered onto the carrier through deterministic post-processing. The full-display variant continuously shows the complete query throughout; the split-display variant splits it into H consecutive segments at word boundaries, presented sequentially across different temporal intervals.
Scenario-aware Prompt Search
Scenario-aware Prompt Search searches for an accompanying text prompt P for the selected video, with the constraint that the prompt only guides the model to read the video text and must not restate or explain the query:
- Scenario-specific memory pool: Maintains an independent prompt memory pool P_i for each scenario, recording successful prompts and their cumulative success counts s_{ij}.
- Exploration and reuse balance: Dynamically adjusts the generation probability 1/(r_i+1) and reuse probability r_i/(r_i+1) based on the number of available reusable prompts r_i; if the first M-1 attempts fail and no generation has occurred, the last attempt forces generation.
- Weighted sampling and updating: When reusing, sampling follows the logarithmic weight 1+log(1+s_{ij}); if the attack succeeds, the new prompt is stored in the memory pool or its success count is incremented; on failure, direct reuse of the current query is excluded.
Nested Black-box Search Process
The system makes at most K scenario attempts per query, with at most M prompt attempts per scenario; it terminates immediately upon a successful response and updates memory, and if all M attempts fail, it increments that scenario's failure count and switches to the next scenario.
What experiments did the paper conduct?
Across two benchmarks and 8 models, SceneJail's ASR exceeds existing baselines, and the split-display variant demonstrates resilience against single-frame image filtering.
Experimental Setup
- Target models: 8 Video-MLLMs in total, including 6 open-source models Qwen2.5-VL-7B-Instruct, Qwen2.5-VL-32B-Instruct, Qwen3-VL-8B-Instruct, Qwen3-VL-32B-Instruct, InternVL3.5-8B-Instruct, InternVL3.5-38B-Instruct, and 2 closed-source commercial models Gemini3.5-Flash and GPT-4.1; the generation temperature of all target models is set to 0.
- Datasets and benchmarks: The HADES benchmark contains 5 safety categories—violence, animal harm, financial harm, self-harm, and privacy—with 750 queries in total (150 per category); SafeBench contains 10 safety categories with 500 queries in total.
- Baseline methods: The typographic image attack FigStep-I, its video extension FigStep-V, and video-specific attacks VideoJail, SPTV, and MCV (using 4 clips).
- Metrics and judgment: The primary evaluation metric is attack success rate (ASR); the default automatic evaluator is Llama Guard 3-8B, which takes the original query and model response as input to determine whether the response is violating.
- Implementation parameters and overhead: The default external LLM is Qwen3-14B, and the T2V generation backbone is Wan2.2-T2V-A14B (generating 5-second 1 fps videos at 832x480 resolution, with CLIP4Clip threshold \eta=0.3); default parameters are N=5, K=5, M=5, H=5, \tau=70. Experiments run on a single NVIDIA RTX PRO 6000 GPU with 96 GB of memory.
Main Results
The table below shows the ASR comparison of each attack method on the main target models on the HADES benchmark:
Swipe horizontally to read the table
Target model VideoJail SPTV MCV SceneJail-F SceneJail-S Qwen2.5-VL-7B 82.13% 57.33% 46.00% 93.73% 90.93% Qwen2.5-VL-32B 42.80% 61.20% 78.53% 94.53% 90.67% Qwen3-VL-32B 40.27% 70.53% 59.47% 94.53% 92.93% InternVL3.5-38B 75.87% 81.07% 80.53% 93.73% 89.87% Gemini3.5-Flash 24.40% 35.33% 34.40% 82.00% 82.67% GPT-4.1 23.73% 38.93% 43.07% 85.73% 86.93% Avg. 53.33% 62.38% 59.43% 91.47% 89.42% Note: Based on Table 1 (HADES benchmark). The table contains 6 columns and 8 rows (including the header); Qwen3-VL-8B and InternVL3.5-8B are omitted due to table size constraints, and Gemini3.5-Flash, which has the lowest SceneJail-F result, is included. In this experiment, the target models and external auxiliary models are independent; there is no case where the target model is also the agent model.
- The authors state that SceneJail-F and SceneJail-S outperform all baselines on all evaluated models, with unweighted average ASR improvements of 29.09 and 27.04 percentage points over the strongest baseline SPTV, respectively; on SafeBench, SceneJail-F reaches 78.90%, a 34.95 percentage point improvement over the strongest baseline MCV.
- The authors note that the relative strengths of the baseline methods vary considerably across target models and lack a consistent best performer, whereas SceneJail maintains high ASR across different architecture families and model scales.
- The authors analyze that full-video presentation outperforms frame-based presentation by only 2.05 percentage points in average ASR on HADES, indicating that the performance loss from frame-based arrangement is small.
Defense Resistance Evaluation
- Test setup: On HADES, against 6 open-source models, tested image filtering (per-frame inspection), multimodal safety guard (Llama-Guard-3-11B-Vision joint frame-prompt checking), and safety prompt (prepended refusal guidance) (Table 6).
- Experimental results: Under image filtering, all baselines drop to an average ASR below 0.1%, SceneJail-F drops to 0.04%, while SceneJail-S maintains an average ASR of 72.25% (Table 6); under the multimodal safety guard, SceneJail-F and SceneJail-S reach 91.45% and 90.75%, respectively; under the safety prompt, they drop to 44.78% and 45.31%, still higher than the strongest baseline SPTV at 14.11%.
- Author interpretation: The authors point out that single-frame image filtering fails against frame-based presentation because no individual frame contains the complete harmful content; the safety prompt constitutes the strongest suppression among the three defenses but does not fully defend against the attack.
Evaluation Protocol Consistency Verification
- Test setup: 100 queries stratified by category were sampled from HADES and used to generate outputs on 3 models, independently judged by Llama Guard 3, GPT-4o-mini Judge, and 30 human annotators (Table 4).
- Experimental results: SceneJail-F achieves ASRs of 94.33%, 89.00%, and 91.00% under the three evaluations, respectively; SceneJail-S achieves 91.33%, 91.00%, and 91.33%, respectively (Table 4).
- Author interpretation: The authors consider these results to show that the evaluation conclusions do not depend on a specific automatic scorer, and that automatic evaluators and human evaluation conclusions are highly consistent.
Generation Model Replacement Robustness
- Test setup: On HADES, with other conditions unchanged, the T2V backbone is replaced with CogVideoX1.5-5B and HunyuanVideo-1.5, and the external LLM is replaced with Vicuna-13B-v1.5 and Gemma-3-12B, respectively (Figure 8).
- Experimental results: With different T2V backbones, the ASRs of the three tested models are all above 90.67% (Figure 8a); with different external LLMs, the ASRs of the three models are all above 91.60% (Figure 8b).
- Author interpretation: The authors state that SceneJail's attack performance is insensitive to the choice of generation backbone and auxiliary language model.
Other Ablations and Analyses
- Context construction ablation (Figure 6a): average ASRs across three models for white background, random context, and adaptive context are 39.51%, 69.25%, and 94.26%, respectively.
- Prompt search ablation (Figure 6b): average ASRs across three models for minimal prompt, fixed-context prompt, and adaptive prompt are 66.40%, 72.00%, and 94.26%, respectively.
- Effect of context search budget K (Figure 7a): as K increases from 1 to 5, the ASRs of the three models rise from 85.87%, 78.27%, and 70.53% to 94.53%, 94.53%, and 93.73%, respectively.
- Effect of prompt search budget M (Figure 7b): as M increases from 1 to 5, the ASRs of the three models rise from 73.73%, 73.60%, and 68.93% to 94.53%, 94.53%, and 93.73%, respectively.
- Actual query cost (Table 3): on successful HADES samples, the average query counts AQ of SceneJail-F and SceneJail-S are 2.51 and 2.09, respectively.
- Query order sensitivity (Table 5): across 5 different query orderings, the average ASRs of the three models are 94.24%, 94.27%, and 93.65%, with a maximum difference of no more than 0.67 percentage points among the five groups.
What are some points that can be further explored?
The authors explicitly point out two limitations: the overhead of generative search and the synthetic video environment. Future work could explore lightweight models and natural long-video scenarios.
Limitations and Future Directions Noted by the Authors
- Search and generation overhead (from Section 7 Limitations): SceneJail relies on adaptive scenario and prompt search, introducing additional search and generation overhead; the authors note that future work could improve efficiency through lightweight generation models, more effective scenario reuse, and search strategies with higher query efficiency.
- Controllability of the video construction pipeline (from Section 7 Limitations): The evaluation uses a controlled video construction pipeline (first generating the scenario video, then synthesizing the malicious query text), which may not cover the full diversity of naturally occurring or long-video inputs; the authors note that future work could extend evaluation to natural videos, longer temporal contexts, and more diverse scenario-query combinations.
Experimental Coverage
- A total of 8 target models were tested, including 6 open-source Video-MLLMs (Qwen2.5-VL-7B/32B, Qwen3-VL-8B/32B, InternVL3.5-8B/38B) and 2 commercial models (Gemini3.5-Flash, GPT-4.1) (Section 5.1).
- Evaluation benchmarks are HADES (750 queries across 5 categories) and SafeBench (500 queries across 10 categories) (Section 5.1).
- Defense evaluation covers 3 strategies—image filtering, multimodal safety guardrails, and safety prompts—tested only on the 6 open-source models (Section 6).
- Experiments use fixed video specifications (5-second duration, 1 fps sampling, 832x480 resolution), with synthesized text rendered at a fixed font size and word-boundary line breaks (Section 5.1, Appendix A).
- The paper does not report the effect of fusing the malicious query's audio track modality in the video, nor the sampling fluctuation of the target model at nonzero temperature.
Summarize the main content of the paper
The paper reveals video situational context as an underexplored jailbreak attack surface, achieving a relatively high jailbreak success rate through adaptive construction and search, highlighting the need for native video defenses.
- Research positioning: The paper addresses the safety alignment vulnerability of Video-MLLMs and is the first to systematically study the feasibility of video situational context as a jailbreak attack surface.
- Core problem: Existing video jailbreaks mainly use video as a carrier of text, ignoring the influence of surrounding video context on model judgment; experiments find that the same harmful query triggers different safety responses under different video contexts.
- Method design: Proposes the adaptive black-box jailbreak framework SceneJail, which, without modifying the original malicious query, dynamically matches and generates adapted video contexts through adaptive context construction, and optimizes text guidance under black-box feedback through a context-aware prompt search mechanism.
- Core experimental results: On the HADES benchmark, SceneJail-F and SceneJail-S achieve average ASRs of 91.47% and 89.42% across 8 target models, exceeding the strongest baseline SPTV (62.38%); on SafeBench, average ASRs reach 78.90% and 76.63%, exceeding the strongest baseline MCV (43.95%); under image filtering defense, the frame-based variant SceneJail-S still maintains an average ASR of 72.25%.
- Author conclusions and implications: The authors point out that safety evaluation of video models must jointly consider visual context, text content, and temporal presentation; existing defenses targeting single-frame images cannot effectively resist contextualized and temporally distributed multimodal attacks, and native safety mechanisms tailored to video characteristics are urgently needed.