Chain-of-Lure: A Universal Jailbreak Attack Framework using Unconstrained Synthetic Narratives

Wenhan Chang, Tianqing Zhu, Yu Zhao, Shuangyong Song, Ping Xiong +1 more
5/23/2025
6 citations
cs.CRcs.CL

Official code: ChangWenhan/chain-of-lure-official (2 stars, Python, last commit 2026-07-18).

Abstract

In the era of rapid generative AI development, interactions with large language models (LLMs) pose increasing risks of misuse. Prior research has primarily focused on attacks using template-based prompts and optimization-oriented methods, while overlooking the fact that LLMs possess strong unconstrained deceptive capabilities to attack other LLMs.

Show full abstract

This paper introduces a novel jailbreaking method inspired by the Chain-of-Thought mechanism. The attacker employs mission transfer to conceal harmful user intent within dialogue and generates a progressive chain of lure questions without relying on predefined templates, enabling successful jailbreaks. To further improve the attack's strength, we incorporate a helper LLM model that performs randomized narrative optimization over multi-turn interactions, enhancing the attack performance while preserving alignment with the original intent. We also propose a toxicity-based framework using third-party LLMs to evaluate harmful content and its alignment with malicious intent. Extensive experiments demonstrate that our method consistently achieves high attack success rates and elevated toxicity scores across diverse types of LLMs under black-box API settings. These findings reveal the intrinsic potential of LLMs to perform unrestricted attacks in the absence of robust alignment constraints. Our approach offers data-driven insights to inform the design of future alignment mechanisms. Finally, we propose two concrete defense strategies to support the development of safer generative models. Our code is available at https://github.com/ChangWenhan/chain-of-lure-official

View on arXivView PDF

Code Implementations(1)

20Python, JinjaAug 14, 20254 months ago

Similar Papers

Cite this paper

@article{chang2025chainoflure,
  title  = {Chain-of-Lure: A Universal Jailbreak Attack Framework using Unconstrained Synthetic Narratives},
  author = {Wenhan Chang and Tianqing Zhu and Yu Zhao and Shuangyong Song and Ping Xiong and Wanlei Zhou},
  year   = {2025},
  eprint = {2505.17519},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.17519v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.17519.svg)](https://codeofpaper.com/paper/2505.17519)

Discussion