一个被污染的页面就够了:评估LLM推荐系统中的网页内容污染
研究论文 · 2026/08/25
搜索增强的大语言模型(LLM)越来越多地通过检索实时网页内容来提供日常消费推荐,这带来了新风险:LLM 推荐器可能消费由生成引擎优化(GEO)操作者污染的网络内容,从而被误导。我们提出 FORGE(生成环境中的虚假在线推荐)基准,通过将检索到的网页中的真实产品本地重写为虚假产品,测量 LLM 推荐虚假产品的频率,覆盖 15 个类别、225 个真实产品和 5 种消费场景。在 12 个商业和开源 LLM 中,所有模型均易受攻击:单个污染页面导致最高 27% 的受骗率,而完全替换前 3 个结果则使受骗率升至 73.8%。不同类别的脆弱性不同,当模型缺乏稳定的产品先验知识时,脆弱性增加。推理并不能缓解这种脆弱性,反而常常生成虚假的社会证明来为错误推荐辩护。四种防御措施均不充分:怀疑提示可能加剧脆弱性,两个共识过滤器有压制合法产品的风险,而可信度重排序虽对所有模型有效,但仅能移除六分之一的虚假内容。我们发布了 FORGE 基准和评估代码。
该研究首次系统评估了 LLM 推荐器在网页内容污染下的脆弱性,揭示了 GEO 攻击的严重性,并测试了多种防御措施,为构建更安全的推荐系统提供了重要基准和见解。
Search-augmented LLMs increasingly mediate everyday consumer recommendations by retrieving live web content. This creates a new risk: LLM recommenders may consume web content that Generative Engine Optimization (GEO) operators have polluted to mislead them. We ask: to what extent do they become unwitting promoters of fake products? We introduce FORGE (Fake Online Recommendations in Generative Environments), which locally rewrites real products in a frozen set of retrieved web pages into fake ones and measures how often the LLM recommends the fake product, across 225 real products in 15 categories and 5 consumer scenarios. Across 12 commercial and open-weights LLMs, all models are vulnerable: a single polluted page yields fooled rates of up to 27%, while the full top-3 replacement raises this to 73.8%. Vulnerability varies across categories, increasing when models lack stable prior knowledge of the products. Reasoning does not mitigate this vulnerability; instead, it often generates spurious social proof to justify false recommendations. None of the four defenses is adequate: the skepticism prompt can exacerbate vulnerability much like reasoning, the two consensus filters risk suppressing legitimate products, and credibility re-ranking helps every model but removes only a sixth of the fakes. We release the FORGE benchmark and the evaluation code at https://github.com/leoluolol/forge-benchmark.