Response Attack: Exploiting Contextual Priming to Jailbreak Large Language Models
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Contextual priming, where earlier stimuli covertly bias later judgments, offers an unexplored attack surface for large language models (LLMs). We uncover a contextual priming vulnerability in which the previous response in the dialogue can steer its subsequent behavior toward policy-violating content. While existing jailbreak attacks largely rely on single-turn or multi-turn prompt manipulations, or inject static in-context examples, these methods suffer from limited effectiveness, inefficiency, or semantic drift. We introduce Response Attack (RA), a novel framework that strategically leverages intermediate, mildly harmful responses as contextual primers within a dialogue. By reformulating harmful queries and injecting these intermediate responses before issuing a targeted trigger prompt, RA exploits a previously overlooked vulnerability in LLMs. Extensive experiments across eight state-of-the-art LLMs show that RA consistently achieves significantly higher attack success rates than nine leading jailbreak baselines. Our results demonstrate that the success of RA is directly attributable to the strategic use of intermediate responses, which induce models to generate more explicit and relevant harmful content while maintaining stealth, efficiency, and fidelity to the original query. The code and data are available at https://github.com/Dtc7w3PQ/Response-Attack.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 36 of its 73 references that are in the map. First posted on arXiv 7 Jul 2025.
Builds on
36 of 73 references.
Closest ancestors · 15
Same direction, newest first
- 2025X-Teaming: Multi-Turn Jailbreaks and Defenses with Adaptive Multi-Agents15 Apr
- 2024DiffusionAttacker: Diffusion-Driven Prompt Manipulation for LLM Jailbreak23 Dec
- 2024Great, Now Write an Article About That: The Crescendo Multi-Turn LLM Jailbreak Attack2 Apr
- 2024Speak Out of Turn: Safety Vulnerability of Large Language Models in Multi-turn Dialogue27 Feb
- 2024ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate Suffix Embeddings25 Feb
- 2024Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks30 Jan
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
- 2023Bypassing the Safety Training of Open-Source LLMs with Priming Attacks19 Dec
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easily14 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
3 more
Other references · 21
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 518
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 322
- 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 236
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 228
- 2023An LLM can Fool Itself: A Prompt-Based Adversarial Attackcited by 116
9 more
- 2025H-CoT: Hijacking the Chain-of-Thought Safety Reasoning Mechanism to Jailbreak Large Reasoning Models, Including OpenAI o1/o3, DeepSeek-R1, and Gemini 2.0 Flash Thinkingcited by 99
- 2019NATTACK: Learning the Distributions of Adversarial Examples for an Improved Black-Box Attack on Deep Neural Networkscited by 94
- 2024PsySafe: A Comprehensive Framework for Psychological-based Attack, Defense, and Evaluation of Multi-agent System Safetycited by 80
- 2024Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLMcited by 77
- 2024CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completioncited by 76
- 2025T2ISafety: Benchmark for Assessing Fairness, Toxicity, and Privacy in Image Generationcited by 48
- 2024Context versus Prior Knowledge in Language Modelscited by 26
- 2025Visual Contextual Attack: Jailbreaking MLLMs with Image-Driven Context Injectioncited by 25
- 2024From GPT-4 to Gemini and Beyond: Assessing the Landscape of MLLMs on Generalizability, Trustworthiness and Causality through Four Modalitiescited by 19
Built on by
Citing papers per year: 2025: 4; 2026: 6.
10 papers.
- 2025Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignmentcited by 24
- 2025Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerabilitycited by 10
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 5
- 2025Contextual Image Attack: How Visual Context Exposes Multimodal Safety Vulnerabilitiescited by 3
- 2026Jailbreak Foundry: From Papers to Runnable Attacks for Reproducible Benchmarkingcited by 2
- 2026ContextualJailbreak: Evolutionary Red-Teaming via Simulated Conversational Primingcited by 2
- 2026SafeRedirect: Defeating Internal Safety Collapse via Task-Completion Redirection in Frontier LLMscited by 1
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolutioncited by 0
- 2026Reasoning as an Attack Surface: Adaptive Evolutionary CoT Jailbreaks for LLMscited by 0
- 2026When Tools Get in the Way: The Effect of Unnecessary Tool Availability on LLM Answeringcited by 0
- 2026When Tools Get in the Way: The Effect of Unnecessary Tool Availability on LLM Answering12 Sep 2026
- 2026Reasoning as an Attack Surface: Adaptive Evolutionary CoT Jailbreaks for LLMs23 May 2026
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolution13 May 2026
- 2026ContextualJailbreak: Evolutionary Red-Teaming via Simulated Conversational Priming4 May 2026
- 2026SafeRedirect: Defeating Internal Safety Collapse via Task-Completion Redirection in Frontier LLMs22 Apr 2026
- 2026Jailbreak Foundry: From Papers to Runnable Attacks for Reproducible Benchmarking27 Feb 2026
- 2025Contextual Image Attack: How Visual Context Exposes Multimodal Safety Vulnerabilities2 Dec 2025
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability1 Oct 2025
- 2025Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment24 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2024Leveraging the Context through Multi-Round Interactions for Jailbreaking Attacks
- 2025Behind the Mask: Benchmarking Camouflaged Jailbreaks in Large Language Models
- 2026Adversarial Reframing: A Framework for Targeted Generation in Language Models
- 2025Dialogue Injection Attack: Jailbreaking LLMs through Context Manipulation
- 2024SequentialBreak: Large Language Models Can be Fooled by Embedding Jailbreak Prompts into Sequential Prompt Chains
- 2025AttentionDefense: Leveraging System Prompt Attention for Explainable Defense Against Novel Jailbreaks
- 2024DROJ: A Prompt-Driven Attack against Large Language Models
- 2025Say It Differently: Linguistic Styles as Jailbreak Vectors