Benchgen

HarmBench (Prompt) — Results

RankModelScore
1shieldstral-1-099.4
2qwen3guard-8b99.3
3llamaguard-4-12b97.9
4nemotron-3-5-content-safety-4b96.1
5gpt-oss-safeguard-20b94.5
6shieldgemma-9b50.2
H

HarmBench (Prompt)

1 phaseActive

Center for AI Safety's standardized red-teaming benchmark, prompt-classification task. 400 harmful behaviors. Mazeika et al., 2024.

Overview

HarmBench (Prompt)

Category Metric Saturation

Paper GitHub

Quick answer: HarmBench (Prompt) measures whether a safety classifier correctly identifies adversarial and standard harmful behaviors as unsafe, drawing on the Center for AI Safety's standardized red-teaming evaluation framework covering 400 distinct harmful behaviors. Top guard models now exceed 99% F1, making this one of the more saturated benchmarks in the guardrail space.

At a Glance

What it tests: Whether a classifier flags prompts requesting harmful behaviors — spanning cybercrime, chemical/biological weapons, misinformation, harassment, and illegal activities — as unsafe. Why it matters: HarmBench was built specifically to standardize red-teaming evaluation, which prior to its release was fragmented across incompatible ad-hoc benchmarks; it's since become a common reference point for both attack (red-teaming) and defense (classifier) evaluation. Known limitations: High saturation — most modern guard models score 94–99%+ F1, leaving limited discriminative power among top performers.

What HarmBench (Prompt) Measures

HarmBench defines 400 standardized harmful behaviors (with additional contextual and multimodal behavior sets in the full framework) spanning categories like cybercrime, chemical/biological weapons, misinformation, and illegal activities. The prompt-classification task used for guard-model evaluation asks whether a classifier correctly identifies a request instantiating one of these behaviors — including adversarially-phrased (jailbreak) versions — as harmful.

Benchmark Specifications

FieldValue
Task categorySafety / red-teaming
MetricF1 score (%)
Behaviors400 standardized harmful behaviors
Created byMantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, David Forsyth, Dan Hendrycks (Center for AI Safety)
PaperHarmBench (arXiv 2402.04249)
GitHubcenterforaisafety/HarmBench
LicenseMIT (framework); behaviors dataset under research-use terms

How HarmBench (Prompt) Is Scored

Each of the 400 behavior-derived prompts (including adversarial variants used in guard-model evaluation suites) is labeled harmful; a classifier's predictions are compared against ground truth and scored as F1.

State-of-the-Art Results

Scores from the Shieldstral model card (Mistral AI, August 2026). F1 (%).

Scores sourced from Mistral AI's published model card, shown for context. Not Benchgen measurements.

HarmBench (Prompt) on Benchgen

No Benchgen results yet — be the first to run HarmBench (Prompt).

HarmBench (Prompt) vs Other Benchmarks

BenchmarkWhat it testsTest sizeSaturation
HarmBench (Prompt)Standardized red-team prompt classification400High
WildGuardTest (Prompt)Mixed synthetic + in-the-wild prompt harm1,725Medium
Aegis v2 (Prompt)Fine-grained taxonomy prompt classification1,964Medium

Run HarmBench (Prompt) on Your Model

Benchgen tracks version-controlled, regression-tested guard-model performance — submit your classifier's HarmBench scores to compare against Shieldstral and other guard models.

Frequently Asked Questions

What is HarmBench? HarmBench is a standardized red-teaming evaluation framework from the Center for AI Safety, defining 400 harmful behaviors used to test both attack methods and safety classifiers.
Why is this benchmark considered "high saturation"? Most current guard models score 90%+ F1, and the top models exceed 99%, leaving little room to differentiate leading classifiers on this specific test.
Who created HarmBench? Researchers at the Center for AI Safety, UIUC, and UC Berkeley (Mazeika et al., ICML 2024).

Last updated 2026-08-12.