SafeArena: Evaluating the Safety of Autonomous Web Agents

Abstract

LLM-based agents are becoming increasingly proficient at solving web-based tasks. With this capability comes a greater risk of misuse for malicious purposes, such as posting misinformation in an online forum or selling illicit substances on a website. To evaluate these risks, we propose SafeArena, a benchmark focused on the deliberate misuse of web agents. SafeArena comprises 250 safe and 250 harmful tasks across four websites. We classify the harmful tasks into five harm categories—misinformation, illegal activity, harassment, cybercrime, and social bias, designed to assess realistic misuses of web agents. We evaluate leading LLM-based web agents, including GPT-4o, Claude-3.5 Sonnet, Qwen-2-VL 72B, and Llama-3.2 90B, on our benchmark. To systematically assess their susceptibility to harmful tasks, we introduce the Agent Risk Assessment framework that categorizes agent behavior across four risk levels. We find agents are surprisingly compliant with malicious requests, with GPT-4o and Qwen-2 completing 34.7% and 27.3% of harmful requests, respectively. Our findings highlight the urgent need for safety alignment procedures for web agents.

Cite

Text

Tur et al. "SafeArena: Evaluating the Safety of Autonomous Web Agents." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Tur et al. "SafeArena: Evaluating the Safety of Autonomous Web Agents." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/tur2025icml-safearena/)

BibTeX

@inproceedings{tur2025icml-safearena,
  title     = {{SafeArena: Evaluating the Safety of Autonomous Web Agents}},
  author    = {Tur, Ada Defne and Meade, Nicholas and Lù, Xing Han and Zambrano, Alejandra and Patel, Arkil and Durmus, Esin and Gella, Spandana and Stanczak, Karolina and Reddy, Siva},
  booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
  year      = {2025},
  pages     = {60404-60441},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/tur2025icml-safearena/}
}