Benchmarks · Safety, security & robustness

HarmBench

How reliably a model refuses to help with a harmful request when an attacker is actively trying to jailbreak it, rather than when simply asked.

UIUC, Center for AI Safety & collaboratorsReleased 6 February 2024Live

HarmBench asks a different question from most safety evaluations: not whether a model refuses an obviously harmful request asked plainly, but whether it holds up once an attacker is actively trying to break it. Researchers from the University of Illinois Urbana-Champaign, the Center for AI Safety and several other institutions built a set of 510 harmful behaviours — cybercrime, chemical and biological weapons, misinformation, copyright infringement and more — and paired it with 18 automated jailbreak methods, from prompt optimisation to fine-tuning attacks. A model is scored on its attack success rate (ASR): the share of attempts, across methods, that produce a genuinely harmful response rather than a refusal.

The 2024 paper’s headline finding was that no single defence held up against every attack, and that robustness did not track model size — some small, deliberately hardened models resisted jailbreaks better than much larger ones with only ordinary safety tuning. The paper also introduced its own adversarial-training method, which cut one attack’s success rate on a 7-billion-parameter model from 31.8% to 5.9%, offered as a demonstration that HarmBench could drive defence development as well as measure it.

HarmBench does not run a live public leaderboard; instead, its open-sourced behaviours and attack suite have become a standard tool that outside researchers apply to individual models. That is how it produced one of its most-cited results: in early 2025, researchers at Cisco and the University of Pennsylvania used it to find that DeepSeek R1 refused none of 50 harmful prompts, a 100% attack success rate against a model then attracting heavy scrutiny, compared with 26% for OpenAI’s o1-preview, the most resistant model in their six-model comparison.

The set

510 harmful behaviours (400 text-only, 110 multimodal) across seven categories — including cybercrime, chemical/biological weapons, misinformation and copyright — run against a model under 18 different automated red-teaming attack methods; a fine-tuned classifier scores each response as a refusal or a compliance, giving an attack success rate (ASR) per model.

Example

A short description of a harmful behaviour — drawn from one of the seven categories such as cybercrime or chemical/biological weapons — is put to the model under each of 18 automated jailbreak methods in turn; a fine-tuned classifier judges every response as a refusal or as a genuine compliance with the harmful request.arxiv.org

Where it stands

No official public leaderboard is actively maintained; researchers and labs now use the open-sourced framework and behaviour set to run their own red-teaming comparisons, as Cisco did against DeepSeek R1 in 2025.

How the top score changed hands

  1. February 2024Zephyr-7B + R2D2 (adversarially trained)5.9% ASR under GCG (vs 31.8% for Llama-2-7B-Chat)The paper's own adversarial-training method, introduced alongside the benchmark, showed the largest robustness gain among models it tested.
  2. January 2025DeepSeek R1 vs. five peers (Cisco/UPenn study)100% ASR for R1; 26% for OpenAI o1-preview (lowest of six)Independent researchers ran 50 HarmBench prompts against six models; R1 refused none of them.

In the timeline · 2 entries

More safety, security & robustness benchmarks