JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models

Patrick Chao, Edoardo Debenedetti, Alexander Robey, Maksym Andriushchenko, Francesco Croce +7 more
2/3/2026

No official code found. Best implementation: JailbreakBench/jailbreakbench (622 stars, MIT, last commit 2025-04-04). 1 more below.

Abstract

Jailbreak attacks cause large language models (LLMs) to generate harmful, unethical, or otherwise objectionable content. Evaluating these attacks presents a number of challenges, which the current collection of benchmarks and evaluation techniques do not adequately address. First, there is no clear standard of practice regarding jailbreaking evaluation. Second, existing works compute costs and success rates in incomparable ways. And third, numerous works are not reproducible, as they withhold adversarial prompts, involve closed-source code, or rely on evolving proprietary APIs. To address these challenges, we introduce JailbreakBench, an open-sourced benchmark with the following components: (1) an evolving repository of state-of-the-art adversarial prompts, which we refer to as jailbreak artifacts; (2) a jailbreaking dataset comprising 100 behaviors -- both original and sourced from prior work (Zou et al., 2023; Mazeika et al., 2023, 2024) -- which align with OpenAI's usage policies; (3) a standardized evaluation framework at https://github.com/JailbreakBench/jailbreakbench that includes a clearly defined threat model, system prompts, chat templates, and scoring functions; and (4) a leaderboard at https://jailbreakbench.github.io/ that tracks the performance of attacks and defenses for various LLMs. We have carefully considered the potential ethical implications of releasing this benchmark, and believe that it will be a net positive for the community.

View on arXivView PDF

Code Implementations(2)

MIT

Jailbreak artifacts for JailbreakBench

9711Feb 20, 20241 years agoMIT
MIT

JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]

62273PythonNov 13, 20231 years agoMIT

Cite this paper

@article{chao2026jailbreakbench,
  title  = {JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models},
  author = {Patrick Chao and Edoardo Debenedetti and Alexander Robey and Maksym Andriushchenko and Francesco Croce and Vikash Sehwag and Edgar Dobriban and Nicolas Flammarion and George Pappas and Florian Tramèr and Hamed Hassani and Eric Wong},
  year   = {2026},
  eprint = {2404.01318},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2404.01318},
  url    = {https://arxiv.org/abs/2404.01318},
  journal = {NEURIPS 2024 2024}
}

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

Discussion