MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs
Dezhang Kong, Zhuxi Wu, Shiqi Liu, Zhicheng Tan, Kuichen Lu, Minghao Li, Qichen Liu, Shengyu Chu, Zhenhua Xu, Xuan Liu, Meng Han

TL;DR
MalURLBench is a new benchmark designed to evaluate large language models' vulnerabilities to malicious URLs, revealing current models' weaknesses and proposing a defense mechanism to improve web agent security.
Contribution
This work introduces MalURLBench, the first comprehensive benchmark for assessing LLM vulnerabilities to malicious URLs, and proposes URLGuard as a lightweight defense.
Findings
Existing LLMs struggle with disguised malicious URLs.
MalURLBench contains 61,845 attack instances across real-world scenarios.
URLGuard improves detection robustness.
Abstract
LLM-based web agents have become increasingly popular for their utility in daily life and work. However, they exhibit critical vulnerabilities when processing malicious URLs: accepting a disguised malicious URL enables subsequent access to unsafe webpages, which can cause severe damage to service providers and users. Despite this risk, no benchmark currently targets this emerging threat. To address this gap, we propose MalURLBench, the first benchmark for evaluating LLMs' vulnerabilities to malicious URLs. MalURLBench contains 61,845 attack instances spanning 10 real-world scenarios and 7 categories of real malicious websites. Experiments with 12 popular LLMs reveal that existing models struggle to detect elaborately disguised malicious URLs. We further identify and analyze key factors that impact attack success rates and propose URLGuard, a lightweight defense module. We believe this…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Spam and Phishing Detection · Web Data Mining and Analysis
