JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMs

Junjie Chu, Yugeng Liu, Ziqing Yang, Xinyue Shen, Michael Backes +1 more
2/8/2024
cs.CRcs.AIcs.CL

No official code found. Best implementation: TrustAIRLab/JailbreakRadar (87 stars, last commit 2025-06-08).

Abstract

Jailbreak attacks aim to bypass the LLMs' safeguards. While researchers have proposed different jailbreak attacks in depth, they have done so in isolation -- either with unaligned settings or comparing a limited range of methods. To fill this gap, we present a large-scale evaluation of various jailbreak attacks. We collect 17 representative jailbreak attacks, summarize their features, and establish a novel jailbreak attack taxonomy. Then we conduct comprehensive measurement and ablation studies across nine aligned LLMs on 160 forbidden questions from 16 violation categories. Also, we test jailbreak attacks under eight advanced defenses. Based on our taxonomy and experiments, we identify some important patterns, such as heuristic-based attacks could achieve high attack success rates but are easy to mitigate by defenses, causing low practicality. Our study offers valuable insights for future research on jailbreak attacks and defenses. We hope our work could help the community avoid incremental work and serve as an effective benchmark tool for practitioners.

View on arXivView PDF

Code Implementations(1)

878Shell, PythonAug 15, 20241 years ago

Similar Papers

Cite this paper

@article{chu2024jailbreakradar,
  title  = {JailbreakRadar: Comprehensive Assessment of Jailbreak Attacks Against LLMs},
  author = {Junjie Chu and Yugeng Liu and Ziqing Yang and Xinyue Shen and Michael Backes and Yang Zhang},
  year   = {2024},
  eprint = {2402.05668},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.05668v3}
}

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/2402.05668.svg)](https://codeofpaper.com/paper/2402.05668)

Discussion