| Rank | Model | Score |
|---|---|---|
| 1 | shieldstral-1-0 | 99.4 |
| 2 | qwen3guard-8b | 99.3 |
| 3 | llamaguard-4-12b | 97.9 |
| 4 | nemotron-3-5-content-safety-4b | 96.1 |
| 5 | gpt-oss-safeguard-20b | 94.5 |
| 6 | shieldgemma-9b | 50.2 |
1 phaseActive
Center for AI Safety's standardized red-teaming benchmark, prompt-classification task. 400 harmful behaviors. Mazeika et al., 2024.
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.
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.
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.
| Field | Value |
|---|---|
| Task category | Safety / red-teaming |
| Metric | F1 score (%) |
| Behaviors | 400 standardized harmful behaviors |
| Created by | Mantas 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) |
| Paper | HarmBench (arXiv 2402.04249) |
| GitHub | centerforaisafety/HarmBench |
| License | MIT (framework); behaviors dataset under research-use terms |
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.
Scores from the Shieldstral model card (Mistral AI, August 2026). F1 (%).
| Rank | Model | Score | Source | Date |
|---|---|---|---|---|
| 1 | Shieldstral 1.0 | 99.4% | Mistral AI model card | 2026-08 |
| 2 | Qwen3Guard-8B | 99.3% | Mistral AI model card | 2026-08 |
| 3 | LlamaGuard-4-12B | 97.9% | Mistral AI model card | 2026-08 |
| 4 | Nemotron-3.5-Content-Safety-4B | 96.1% | Mistral AI model card | 2026-08 |
| 5 | GPT-OSS-Safeguard-20B | 94.5% | Mistral AI model card | 2026-08 |
| 6 | ShieldGemma-9B | 50.2% | Mistral AI model card | 2026-08 |
Scores sourced from Mistral AI's published model card, shown for context. Not Benchgen measurements.
No Benchgen results yet — be the first to run HarmBench (Prompt).
| Benchmark | What it tests | Test size | Saturation |
|---|---|---|---|
| HarmBench (Prompt) | Standardized red-team prompt classification | 400 | High |
| WildGuardTest (Prompt) | Mixed synthetic + in-the-wild prompt harm | 1,725 | Medium |
| Aegis v2 (Prompt) | Fine-grained taxonomy prompt classification | 1,964 | Medium |
Benchgen tracks version-controlled, regression-tested guard-model performance — submit your classifier's HarmBench scores to compare against Shieldstral and other guard models.
Last updated 2026-08-12.