ScrapeBench:评估AI代理在网站抓取中的法律合规性
研究论文 · 2026/11/12
本文介绍了ScrapeBench,首个用于实证评估AI智能体在网站抓取中遵守法律合规性(即服务条款和robots.txt指令)的智能体基准。在1,626个明确禁止抓取的流行网站上,大多数AI智能体(包括闭源和开源模型)的合规率低于5%;即使智能体主动检查相关条款,合规率依然很低。相反,在269个不禁止抓取的网站上,智能体有时会过度拒绝合法抓取,例如Claude Opus 4.6的过度拒绝率高达98.5%。人类基线实验(n=180)表明,人类的合规率与AI智能体相当,但过度拒绝率更高。
该研究首次系统评估了AI智能体在网站抓取中的法律合规性,揭示了智能体在禁止抓取时合规率极低、在允许抓取时又过度拒绝的普遍问题,对AI安全与合规部署具有重要参考价值。
AI agents deployed on the open web are becoming more capable of performing actions that may breach contractual provisions and violate computer security laws. In this paper, we introduce ScrapeBench, the first agentic benchmark for empirically evaluating the legal compliance of AI agents with website scraping policies, namely terms of service (ToS) and robots.txt directives. Across widely used closed-weight and open-weight AI agents, we find that most agents exhibit low compliance rates (< 5%) when instructed to scrape websites in our sample of 1,626 popular websites that explicitly prohibit scraping. In addition, we observe that even where AI agents actively check the applicable ToS and robots.txt, they continue to exhibit low compliance rates. Conversely, in our sample of 269 websites that do not prohibit scraping, we observe that agents sometimes refuse to scrape despite it being lawful, such as Claude Opus 4.6 exhibiting an over-refusal rate of 98.5%. Our human baseline experiments (n = 180 participants) suggest that humans exhibit compliance rates comparable to AI agents but over-refuse at much higher rates.