When Search Goes Wrong: Red-Teaming Web-Augmented Large Language Models
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
Large Language Models (LLMs) have been augmented with web search to overcome the limitations of the static knowledge boundary by accessing up-to-date information from the open Internet. While this integration enhances model capability, it also introduces a distinct safety threat surface: the retrieval and citation process has the potential risk of exposing users to harmful or low-credibility web content. Existing red-teaming methods are largely designed for standalone LLMs as they primarily focus on unsafe generation, ignoring risks emerging from the complex search workflow. To address this gap, we propose CREST-Search, a pioneering red-teaming framework for LLMs with web search. The cornerstone of CREST-Search is three novel attack strategies that generate seemingly benign search queries yet induce unsafe citations. It also employs an iterative in-context refinement mechanism to strengthen adversarial effectiveness under black-box constraints. In addition, we construct a search-specific harmful dataset, WebSearch-Harm, which enables fine-tuning a specialized red-teaming model to improve query quality. Our experiments demonstrate that CREST-Search can effectively bypass safety filters and systematically expose vulnerabilities in web search-based LLM systems, underscoring the necessity of the development of robust search models.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 28 of its 42 references that are in the map. First posted on arXiv 9 Oct 2025.
Builds on
28 of 42 references.
Closest ancestors · 7
Same direction, newest first
- 2024A Safe Harbor for AI Evaluation and Red Teaming7 Mar
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal6 Feb
- 2024Red-Teaming for Generative AI: Silver Bullet or Security Theater?29 Jan
- 2023MART: Improving LLM Safety with Multi-round Automatic Red-Teaming13 Nov
- 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignment18 Aug
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned23 Aug
- 2022Red Teaming Language Models with Language Models7 Feb
Other references · 21
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
- 2023Certifying LLM Safety against Adversarial Promptingcited by 248
- 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 222
9 more
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 215
- 2022On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoningcited by 191
- 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
- 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 127
- 2024ART: Automatic Red-teaming for Text-to-Image Models to Protect Benign Userscited by 32
- 2024Llama Guard 3-1B-INT4: Compact and Efficient Safeguard for Human-AI Conversationscited by 24
- 2025RAG LLMs are Not Safer: A Safety Analysis of Retrieval-Augmented Generation for Large Language Modelscited by 23
- 2025Unsafe LLM-Based Search: Quantitative Analysis and Mitigation of Safety Risks in AI Web Searchcited by 15
- 2023Boosting Big Brother: Attacking Search Engines with Encodingscited by 8
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Breadcrumbing Search Agentscited by 0
- 2026Breadcrumbing Search Agents5 Aug 2026