paper-with-me

Papers

Response Attack: Exploiting Contextual Priming to Jailbreak Large Language Models

2025-07-07 · Ziqi Miao, Lijun Li, Yuan Xiong, Zhenhua Liu, Pengyu Zhu, Jing Shao 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.

📄 PDF Abstract BibTeX arXiv:2507.05248

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ContextualJailbreak: Evolutionary Red-Teaming via Simulated Conversational Priming

2026-05-04 · Mario Rodríguez Béjar, Francisco J. Cortés-Delgado, S. Braghin, Jose L. Hernández-Ramos arxiv

Large language models (LLMs) remain vulnerable to jailbreak attacks that bypass safety alignment and elicit harmful responses. A growing body of work shows that contextual priming, where earlier turns covertly bias later…

Toward Safer Diffusion Language Models: Discovery and Mitigation of Priming Vulnerability

2025-10-01 · Shojiro Yamabe, Jun Sakuma arxiv

Diffusion language models (DLMs) generate tokens in parallel through iterative denoising, which can reduce latency and enable bidirectional conditioning. However, the safety risks posed by jailbreak attacks that exploit …

BlackDAN: A Black-Box Multi-Objective Approach for Effective and Contextual Jailbreaking of Large Language Models

2024-10-13 · Xinyuan Wang, Victor Shea-Jay Huang, Renmiao Chen, Hao Wang 외

While large language models (LLMs) exhibit remarkable capabilities across various tasks, they encounter potential security risks such as jailbreak attacks, which exploit vulnerabilities to bypass security measures and ge…

Evolutionary Algorithms

FreakOut-LLM: The Effect of Emotional Stimuli on Safety Alignment

2026-04-05 · Daniel Kuznetsov, Ofir Cohen, Karin Shistik, Rami Puzis 외 arxiv

Safety-aligned LLMs go through refusal training to reject harmful requests, but whether these mechanisms remain effective under emotionally charged stimuli is unexplored. We introduce FreakOut-LLM, a framework investigat…

Visual Contextual Attack: Jailbreaking MLLMs with Image-Driven Context Injection

2025-07-03 · Ziqi Miao, Yi Ding, Lijun Li, Jing Shao

With the emergence of strong visual-language capabilities, multimodal large language models (MLLMs) have demonstrated tremendous potential for real-world applications. However, the security vulnerabilities exhibited by t…