WebCloak: Characterizing and Mitigating Threats From LLM-Driven Web Agents as Intelligent Scrapers
Xinfeng Li, Tianze Qiu, Yingbin Jin, Lixu Wang, Hanqing Guo, Xiaojun Jia, Xiaofeng Wang, Wei Dong
摘要
The rise of web agents powered by large language models (LLMs) is reshaping the landscape of human-computer interaction, enabling users to automate complex web tasks with natural language commands. However, this progress introduces significant, yet largely unexplored security concerns: adversaries can employ such web agents to conduct largescale web scraping, particularly of visual content. This paper presents the first systematic characterization of the danger represented by such LLM-driven web agents as intelligent scrapers. We develop LLMCrawlBench, a large test set of 237 extracted real-world webpages (10,895 images) from 50 popular high-traffic websites in 5 critical categories, designed specifically for adversarial image extraction evaluation. Our metrics across over 32 scraper implementations, including LLMto-Script (L2S), LLM-Native crawlers (LNC), and LLM-based web agents (LWA), demonstrate that while some tools exhibit working issues, advanced LLM-powered frameworks lower the bar for effective scraping.
Such new agent-as-attacker threats motivate us to introduce WebCloak, an effective, lightweight defense that specifically targets the main weakness of LLM crawler agents' fundamental "Parse-then-Interpret" mechanism. Our key idea is dual-layered: (1) Dynamic Structural Obfuscation, which not only randomizes structural cues but also restores visual content client-side using non-traditional methods less amenable to direct LLM exploitation, and (2) Optimized Semantic Labyrinth to mislead the central LLM interpretation of the agent through added harmless-yetmisleading contextual clues, all while not sacrificing visual quality for legitimate users. Our evaluations demonstrate that WebCloak significantly reduces scraping recall rates from 88.7% to 0% against leading LLM-driven scraping agents, offering a robust and practical countermeasure.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- WebArena: A Realistic Web Environment for Building Autonomous Agents 引用了 A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis
- GPT-4V(ision) is a Generalist Web Agent, if Grounded 引用了 A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis
- WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models 引用了 WebArena: A Realistic Web Environment for Building Autonomous Agents
- WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models 引用了 A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesis
- WebVoyager: Building an End-to-End Web Agent with Large Multimodal Models 引用了 GPT-4V(ision) is a Generalist Web Agent, if Grounded
引用它的顶会 Paper1
它引用的 Paper13
- WebArena: A Realistic Web Environment for Building Autonomous AgentsShuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou 等ICLR 2024 · 1,197 次引用
- Tree of Attacks: Jailbreaking Black-Box LLMs AutomaticallyAnay Mehrotra, Manolis Zampetakis, Paul Kassianik, Blaine Nelson 等NeurIPS 2024 · 835 次引用
- GPT-4V(ision) is a Generalist Web Agent, if GroundedBoyuan Zheng, Boyu Gou, Jihyung Kil, Huan Sun 等ICML 2024 · 496 次引用
- A Real-World WebAgent with Planning, Long Context Understanding, and Program SynthesisIzzeddin Gur, Hiroki Furuta, Austin V. Huang, Mustafa Safdari 等ICLR 2024 · 359 次引用
- WebVoyager: Building an End-to-End Web Agent with Large Multimodal ModelsHongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu 等ACL 2024 · 30 次引用
相关 Paper
- MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLsDezhang Kong, Zhuxi Wu, Shiqi Liu, Zhicheng Tan 等ACL Findings 2026
- SecureWebArena: A Holistic Security Evaluation Benchmark for LVLM-based Web AgentsZonghao Ying, Yangguang Shao, Jianle Gan, Gan Xu 等ACL Findings 2026 · 1 次引用
- AutoScraper: A Progressive Understanding Web Agent for Web Scraper GenerationWenhao Huang, Zhouhong Gu, Chenghao Peng, Jiaqing Liang 等EMNLP 2024 · 6 次引用
- AgentBreaker: Evaluating Context-Aware Indirect Prompt Injection Risks in Modern Web AgentsYongbi Son, Changoo Lee, Dongwon Shin, Byoungyoung Lee 等ISSTA 2026
- Imperceptible Content Poisoning in LLM-Powered ApplicationsQuan Zhang, Chijin Zhou, Gwihwan Go, Binqi Zeng 等ASE 2024 · 3 次引用
