Agent-SafetyBench
LLM agents act in 349 tool environments over 2,000 test cases covering 8 safety risk categories and 10 failure modes. A scorer model rates each run safe or unsafe.
About 166 GitHub stars. Data and environments were released February 20th, 2025. None of 16 agents in the paper scored above 60% safe. Scoring uses the ShieldAgent model.
- Made by
- Tsinghua University (CoAI)
- Released
- December 2024
- Kind
- Refusing harmful requests
- Level
- Everyday
- Scored
- Graded by a model
- Answers
- Agent task
- Tasks
- All public
- Measures
- Propensity
- Risk
- Privacy, Non-violent crimes
- Behavior
- Harmful use
- Language
- English
- Interaction
- Agentic
- Environment
- APIs and tools
- Refresh
- One fixed set
- Run by
- Anyone
- In views
- Agents, Content safety
- Strongest model tested
-
Qwen2.5-72B #167 on the capability index
- Last model added
- October 2024
- Updated automatically
- No, from its paper
- Scores refreshed
- November 20th, 2026
In the authors’ words
As large language models (LLMs) are increasingly deployed as agents, their integration into interactive environments and tool use introduce new safety challenges beyond those associated with the models themselves. However, the absence of comprehensive benchmarks for evaluating agent safety presents a significant barrier to effective assessment and further improvement. In this paper, we introduce Agent-SafetyBench, a comprehensive benchmark designed to evaluate the safety of LLM agents. Agent-SafetyBench encompasses 349 interaction environments and 2,000 test cases, evaluating 8 categories of safety risks and covering 10 common failure modes frequently encountered in unsafe interactions. Our evaluation of 16 popular LLM agents reveals a concerning result: none of the agents achieves a safety score above 60%. This highlights significant safety challenges in LLM agents and underscores the considerable need for improvement. Through failure mode and helpfulness analysis, we summarize two fundamental safety defects in current LLM agents: lack of robustness and lack of risk awareness. Furthermore, our findings suggest that reliance on defense prompts alone may be insufficient to address these safety issues, emphasizing the need for more advanced and robust strategies. To drive progress in this area, Agent-SafetyBench has been released at https://github.com/thu-coai/Agent-SafetyBench/ to facilitate further research in agent safety evaluation and improvement.
Claude 3 Opus leads with 59.8% among models released by October 2024 Claude 3 Opus leads with 59.8% among models released by October 2024
Best score per entry from the benchmark's paper, read on November 20th, 2026. A paper’s table doesn’t add newer models. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
The newest model with a score here came out in October 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 59.8 Claude 3 Opus
- 59.4 Claude-3.5-Sonnet (snapshot unspecified)
- 55.1 Claude 3.5 Haiku
- 44.2 GPT-4o
- 41.9 GPT-4 Turbo
- 41.6 Gemini-1.5-Flash (snapshot unspecified)
- 37.5 Gemini-1.5-Pro (snapshot unspecified)
- 37.3
Qwen2.5-72B
- 36.5 GLM-4-9B-Chat
- 35.4 Llama3.1-405B-Instruct
- 34.2
DeepSeek-V2.5
- 31.9 Qwen2.5-14B-Instruct
- 31.2 Llama3.1-70B-Instruct
- 31.2 GPT-4o mini
- 19.9 Llama3.1-8B-Instruct
- 18.8 Qwen2.5-7B-Instruct
- 1 Claude 3 Opus 59.8%
- 2 Claude-3.5-Sonnet (snapshot unspecified) 59.4%
- 3 Claude 3.5 Haiku 55.1%
- 4 GPT-4o Aug 2024 44.2%
- 5 GPT-4 Turbo Apr 2024 41.9%
- 6 Gemini-1.5-Flash (snapshot unspecified) 41.6%
- 7 Gemini-1.5-Pro (snapshot unspecified) 37.5%
- 8
Qwen2.5-72B 37.3%
- 9 GLM-4-9B-Chat 36.5%
- 10 Llama3.1-405B-Instruct 35.4%
- 11
DeepSeek-V2.5 Sep 2024 34.2%
- 12 Qwen2.5-14B-Instruct 31.9%
- 13 Llama3.1-70B-Instruct 31.2%
- 14 GPT-4o mini 31.2%
- 15 Llama3.1-8B-Instruct 19.9%
- 16 Qwen2.5-7B-Instruct 18.8%
Source: The Agent-SafetyBench paper
- 1 Claude 3 Opus 59.8%
- 2 Claude 3.5 Haiku 55.1%
- 3 GPT-4o Aug 2024 44.2%
- 4 GPT-4 Turbo Apr 2024 41.9%
- 5
Qwen2.5-72B 37.3%
- 6 GLM-4-9B-Chat 36.5%
- 7
DeepSeek-V2.5 Sep 2024 34.2%
- 8 GPT-4o mini 31.2%
Source: The Agent-SafetyBench paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Claude 3 Opus | 59.8% | Feb 2024 | Official leaderboard | |
| 2 | Claude-3.5-Sonnet (snapshot unspecified) | 59.4% | Official leaderboard | ||
| 3 | Claude 3.5 Haiku | 55.1% | Oct 2024 | Official leaderboard | |
| 4 | GPT-4o Aug 2024 | 44.2% | Aug 2024 | Official leaderboard | |
| 5 | GPT-4 Turbo Apr 2024 | 41.9% | Apr 2024 | Official leaderboard | |
| 6 | Gemini-1.5-Flash (snapshot unspecified) | 41.6% | Official leaderboard | ||
| 7 | Gemini-1.5-Pro (snapshot unspecified) | 37.5% | Official leaderboard | ||
| 8 | | 37.3% | Sep 2024 | Official leaderboard | |
| 9 | GLM-4-9B-Chat | 36.5% | Jun 2024 | Official leaderboard | |
| 10 | Llama3.1-405B-Instruct 405B | 35.4% | Official leaderboard | ||
| 11 | | 34.2% | Sep 2024 | Official leaderboard | |
| 12 | Qwen2.5-14B-Instruct 14B | 31.9% | Official leaderboard | ||
| 13 | Llama3.1-70B-Instruct 70B | 31.2% | Official leaderboard | ||
| 14 | GPT-4o mini | 31.2% | Jul 2024 | Official leaderboard | |
| 15 | Llama3.1-8B-Instruct 8B | 19.9% | Official leaderboard | ||
| 16 | Qwen2.5-7B-Instruct 7B | 18.8% | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | Claude 3 Opus | 59.8% | Feb 2024 | Official leaderboard | |
| 2 | Claude 3.5 Haiku | 55.1% | Oct 2024 | Official leaderboard | |
| 3 | GPT-4o Aug 2024 | 44.2% | Aug 2024 | Official leaderboard | |
| 4 | GPT-4 Turbo Apr 2024 | 41.9% | Apr 2024 | Official leaderboard | |
| 5 | | 37.3% | Sep 2024 | Official leaderboard | |
| 6 | GLM-4-9B-Chat | 36.5% | Jun 2024 | Official leaderboard | |
| 7 | | 34.2% | Sep 2024 | Official leaderboard | |
| 8 | GPT-4o mini | 31.2% | Jul 2024 | Official leaderboard |
Rankings by part
We read 20 parts from the benchmark’s paper, each ranking models on one part of the test, such as Behavior, Content and Leak. Claude 3 Opus leads 14 of them, and 2 other models lead the rest. Arrows show how far a model moved from its overall rank among the models we track.
Behavior
8 models we track have a score here.
- 1 Claude 3 Opus 53.2%
- 2 Claude 3.5 Haiku 40.7%
- 3 GPT-4o Aug 2024 36.9%
- 4 GLM-4-9B-Chat ↑2 34.6%
- 5 GPT-4 Turbo Apr 2024 ↓1 33.9%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 28.6%
- 7
Qwen2.5-72B ↓2 28.6%
- 8 GPT-4o mini 20.5%
Content
8 models we track have a score here.
- 1 Claude 3.5 Haiku ↑1 86.4%
- 2 Claude 3 Opus ↓1 84.9%
- 3 GPT-4 Turbo Apr 2024 ↑1 72.7%
- 4 GPT-4o mini ↑4 72.5%
- 5 GPT-4o Aug 2024 ↓2 72.5%
- 6
Qwen2.5-72B ↓1 71%
- 7
DeepSeek-V2.5 Sep 2024 55.7%
- 8 GLM-4-9B-Chat ↓2 44.3%
Leak
8 models we track have a score here.
- 1 Claude 3 Opus 60.4%
- 2 Claude 3.5 Haiku 47.2%
- 3 GPT-4o Aug 2024 44.4%
- 4 GLM-4-9B-Chat ↑2 38.4%
- 5 GPT-4 Turbo Apr 2024 ↓1 36.8%
- 6
Qwen2.5-72B ↓1 32.8%
- 7
DeepSeek-V2.5 Sep 2024 31.2%
- 8 GPT-4o mini 28%
Property
8 models we track have a score here.
- 1 Claude 3 Opus 60.4%
- 2 GPT-4o Aug 2024 ↑1 48.4%
- 3 GLM-4-9B-Chat ↑3 48%
- 4 Claude 3.5 Haiku ↓2 46%
- 5 GPT-4 Turbo Apr 2024 ↓1 43.2%
- 6
Qwen2.5-72B ↓1 38%
- 7
DeepSeek-V2.5 Sep 2024 36.8%
- 8 GPT-4o mini 30%
Spread
8 models we track have a score here.
- 1 Claude 3 Opus 35.6%
- 2 Claude 3.5 Haiku 33.6%
- 3 GPT-4 Turbo Apr 2024 ↑1 12.4%
- 4 GPT-4o Aug 2024 ↓1 12.4%
- 5
Qwen2.5-72B 12%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 8.80%
- 7 GPT-4o mini ↑1 6.80%
- 8 GLM-4-9B-Chat ↓2 6.00%
Physical
8 models we track have a score here.
- 1 Claude 3 Opus 61.6%
- 2 GPT-4o Aug 2024 ↑1 53.2%
- 3 Claude 3.5 Haiku ↓1 45.6%
- 4 GLM-4-9B-Chat ↑2 41.6%
- 5 GPT-4 Turbo Apr 2024 ↓1 38.8%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 34.4%
- 7
Qwen2.5-72B ↓2 29.6%
- 8 GPT-4o mini 24.4%
Law
8 models we track have a score here.
- 1 Claude 3 Opus 56.8%
- 2 Claude 3.5 Haiku 41.2%
- 3 GPT-4 Turbo Apr 2024 ↑1 33.2%
- 4 GPT-4o Aug 2024 ↓1 28.8%
- 5 GLM-4-9B-Chat ↑1 27.2%
- 6
Qwen2.5-72B ↓1 24%
- 7
DeepSeek-V2.5 Sep 2024 22%
- 8 GPT-4o mini 13.2%
Availability
8 models we track have a score here.
- 1 GLM-4-9B-Chat ↑5 50.8%
- 2 Claude 3 Opus ↓1 43.2%
- 3 GPT-4 Turbo Apr 2024 ↑1 37.6%
- 4 GPT-4o Aug 2024 ↓1 35.2%
- 5
Qwen2.5-72B 35.2%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 33.2%
- 7 Claude 3.5 Haiku ↓5 26.4%
- 8 GPT-4o mini 23.6%
Code
8 models we track have a score here.
- 1 Claude 3.5 Haiku ↑1 60.8%
- 2 Claude 3 Opus ↓1 60%
- 3 GPT-4 Turbo Apr 2024 ↑1 38.4%
- 4 GPT-4o Aug 2024 ↓1 35.6%
- 5
DeepSeek-V2.5 Sep 2024 ↑2 30.4%
- 6
Qwen2.5-72B ↓1 29.6%
- 7 GPT-4o mini ↑1 25.2%
- 8 GLM-4-9B-Chat ↓2 23.2%
Produce
8 models we track have a score here.
- 1 Claude 3 Opus 100%
- 2 Claude 3.5 Haiku 100%
- 3 GPT-4o mini ↑5 98.4%
- 4
Qwen2.5-72B ↑1 97.2%
- 5 GPT-4o Aug 2024 ↓2 95.6%
- 6 GPT-4 Turbo Apr 2024 ↓2 94.4%
- 7
DeepSeek-V2.5 Sep 2024 76.8%
- 8 GLM-4-9B-Chat ↓2 57.2%
Failure mode 1
8 models we track have a score here.
- 1 Claude 3.5 Haiku ↑1 87.5%
- 2 Claude 3 Opus ↓1 86.2%
- 3 GPT-4o mini ↑5 74.7%
- 4 GPT-4o Aug 2024 ↓1 74.5%
- 5 GPT-4 Turbo Apr 2024 ↓1 73.5%
- 6
Qwen2.5-72B ↓1 73.5%
- 7
DeepSeek-V2.5 Sep 2024 57.9%
- 8 GLM-4-9B-Chat ↓2 45.4%
Failure mode 2
8 models we track have a score here.
- 1 GLM-4-9B-Chat ↑5 45.5%
- 2 Claude 3 Opus ↓1 36.6%
- 3 GPT-4o Aug 2024 26.1%
- 4 GPT-4 Turbo Apr 2024 20.6%
- 5
Qwen2.5-72B 19.1%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 15.6%
- 7 Claude 3.5 Haiku ↓5 15.2%
- 8 GPT-4o mini 6.20%
Failure mode 3
8 models we track have a score here.
- 1 Claude 3 Opus 63.6%
- 2 GPT-4 Turbo Apr 2024 ↑2 42.9%
- 3 GPT-4o Aug 2024 37.7%
- 4 Claude 3.5 Haiku ↓2 35.1%
- 5
DeepSeek-V2.5 Sep 2024 ↑2 29.9%
- 6 GLM-4-9B-Chat 27.3%
- 7
Qwen2.5-72B ↓2 19.5%
- 8 GPT-4o mini 11.7%
Failure mode 4
8 models we track have a score here.
- 1 Claude 3 Opus 59%
- 2 GPT-4o Aug 2024 ↑1 45.5%
- 3 GPT-4 Turbo Apr 2024 ↑1 35.2%
- 4 GLM-4-9B-Chat ↑2 34.9%
- 5 Claude 3.5 Haiku ↓3 31.9%
- 6
Qwen2.5-72B ↓1 24.4%
- 7
DeepSeek-V2.5 Sep 2024 23.5%
- 8 GPT-4o mini 13.8%
Failure mode 5
8 models we track have a score here.
- 1 Claude 3 Opus 48%
- 2 Claude 3.5 Haiku 39.9%
- 3 GPT-4 Turbo Apr 2024 ↑1 24.2%
- 4 GPT-4o Aug 2024 ↓1 23.5%
- 5 GLM-4-9B-Chat ↑1 19.2%
- 6
Qwen2.5-72B ↓1 17.6%
- 7
DeepSeek-V2.5 Sep 2024 16.2%
- 8 GPT-4o mini 8.10%
Failure mode 6
8 models we track have a score here.
- 1 Claude 3 Opus 81.1%
- 2 GPT-4o Aug 2024 ↑1 74.6%
- 3 GPT-4 Turbo Apr 2024 ↑1 72.1%
- 4
DeepSeek-V2.5 Sep 2024 ↑3 70.5%
- 5 GPT-4o mini ↑3 68%
- 6 Claude 3.5 Haiku ↓4 68%
- 7
Qwen2.5-72B ↓2 65.6%
- 8 GLM-4-9B-Chat ↓2 60.7%
Failure mode 7
8 models we track have a score here.
- 1 Claude 3 Opus 35.1%
- 2 GPT-4 Turbo Apr 2024 ↑2 19.8%
- 3 GLM-4-9B-Chat ↑3 9.90%
- 4 GPT-4o Aug 2024 ↓1 9.90%
- 5 Claude 3.5 Haiku ↓3 9.90%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 8.40%
- 7
Qwen2.5-72B ↓2 6.90%
- 8 GPT-4o mini 2.30%
Failure mode 8
8 models we track have a score here.
- 1 Claude 3 Opus 72.2%
- 2 GPT-4 Turbo Apr 2024 ↑2 50.6%
- 3 GPT-4o Aug 2024 49.4%
- 4 Claude 3.5 Haiku ↓2 49.4%
- 5 GLM-4-9B-Chat ↑1 45.6%
- 6
DeepSeek-V2.5 Sep 2024 ↑1 44.3%
- 7
Qwen2.5-72B ↓2 35.4%
- 8 GPT-4o mini 24.1%
Failure mode 9
8 models we track have a score here.
- 1 Claude 3.5 Haiku ↑1 64.8%
- 2 Claude 3 Opus ↓1 59.5%
- 3 GPT-4o Aug 2024 42.2%
- 4
Qwen2.5-72B ↑1 38.8%
- 5
DeepSeek-V2.5 Sep 2024 ↑2 38.3%
- 6 GPT-4 Turbo Apr 2024 ↓2 36.9%
- 7 GLM-4-9B-Chat ↓1 36.9%
- 8 GPT-4o mini 31.3%
Failure mode 10
8 models we track have a score here.
- 1 Claude 3 Opus 81.5%
- 2 Claude 3.5 Haiku 71.8%
- 3 GPT-4 Turbo Apr 2024 ↑1 69.4%
- 4
DeepSeek-V2.5 Sep 2024 ↑3 68.5%
- 5 GPT-4o Aug 2024 ↓2 67.7%
- 6
Qwen2.5-72B ↓1 65.3%
- 7 GPT-4o mini ↑1 61.3%
- 8 GLM-4-9B-Chat ↓2 58.1%
Everything the board measures
The benchmark’s paper publishes 21 numbers for each entry: the headline score and 20 parts of the test. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score.
- Headline
- Headline score
- Parts
- Behavior
- Content
- Leak
- Property
- Spread
- Physical
- Law
- Availability
- Code
- Produce
- Failure mode 1
- Failure mode 2
- Failure mode 3
- Failure mode 4
- Failure mode 5
- Failure mode 6
- Failure mode 7
- Failure mode 8
- Failure mode 9
- Failure mode 10
Nothing matches.
- Headline
- Headline score
- Parts
- Behavior
- Content
- Leak
- Property
- Spread
- Physical
- Law
- Availability
- Code
- Produce
- Failure mode 1
- Failure mode 2
- Failure mode 3
- Failure mode 4
- Failure mode 5
- Failure mode 6
- Failure mode 7
- Failure mode 8
- Failure mode 9
- Failure mode 10
Nothing matches.
- Headline
- Headline score
- Parts
- Behavior
- Content
- Leak
- Property
- Spread
- Physical
- Law
- Availability
- Code
- Produce
- Failure mode 1
- Failure mode 2
- Failure mode 3
- Failure mode 4
- Failure mode 5
- Failure mode 6
- Failure mode 7
- Failure mode 8
- Failure mode 9
- Failure mode 10
Nothing matches.
- Anthropic
- OpenAI
- Z.ai
- DeepSeek
- Qwen
- not in our model list
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: The Agent-SafetyBench paper
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official Agent-SafetyBench leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Safety and alignment
- FORTRESS In use Paired adversarial and benign national-security misuse prompts. Rubric-graded risk score on adversarial and over-refusal score on benign prompts. Claude Opus 5.5 5.78%
- StrongREJECT In use Forbidden-prompt jailbreak benchmark with a rubric grader that scores how useful a non-refusal actually is.
Inkling 98.6%
- Gray Swan IPI Arena benchmark In use Indirect prompt-injection attacks from public red-teaming competitions replayed on tool, coding and browser agents. Attack success rate at k attempts.
Gemini 4 Carbon 0%
- Covert misbehavior (Thinking Machines) In use Agentic tasks that check whether a model misbehaves and conceals it. Scored by the rate of covert misbehavior.
Inkling 2 Mini 8.30%
- Destructive actions (Thinking Machines) In use Agentic tasks that check whether a model takes destructive actions it was not authorized to take. Scored by the rate of destructive actions.
Inkling 2 Small 4.70%
- Misbehavior (Thinking Machines) In use Agentic tasks that check whether a model fabricates results, ignores instructions or hides what it did when a task is hard. Scored by the rate of misbehavior.
Inkling 2 Mini 9.80%
Data audit
9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 2 years ago, in October 2024, for Claude 3.5 Haiku. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the benchmark’s paper (16 entries).
- Pass Models scored 8 models we track, plus 8 other entries on its leaderboard.
- Warning Newest score The newest came 2 years ago, in October 2024, for Claude 3.5 Haiku.
- Note Frontier models None of the top 10 has a score. The strongest tested is Qwen2.5-72B (#167).
- Pass Headroom The best is 59.8%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 8 rows for models we track and 8 other entries at the last read.
- Pass Last read November 20th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.