[Paper Review] SearchAttack: Red-Teaming LLMs against Knowledge-to-Action Threats under Online Web Search
SearchAttack introduces a dual-stage red-teaming framework that outsources harmful semantics to open web search and uses retrieval curation to test and stress-test safety of search-augmented LLMs. It also benchmarks risk with a fact-checked Attack Value and the ShadowRisk dataset.
Recently, people have suffered from LLM hallucination and have become increasingly aware of the reliability gap of LLMs in open and knowledge-intensive tasks. As a result, they have increasingly turned to search-augmented LLMs to mitigate this issue. However, LLM-driven search also becomes an attractive target for misuse. Once the returned content directly contains targeted, ready-to-use harmful instructions or takeaways for users, it becomes difficult to withdraw or undo such exposure. To investigate LLMs' unsafe search behavior issues, we first propose extbf{ extit{SearchAttack}} for red-teaming, which (1) rephrases harmful semantics via dense and benign knowledge to evade direct in-context decoding, thus eliciting unsafe information retrieval, (2) stress-tests LLMs' reward-chasing bias by steering them to synthesize unsafe retrieved content. We also curate an emergent, domain-specific illicit activity benchmark for search-based threat assessment, and introduce a fact-checking framework to ground and quantify harm in both offline and online attack settings. Extensive experiments are conducted to red-team the search-augmented LLMs for responsible vulnerability assessment. Empirically, SearchAttack demonstrates strong effectiveness in attacking these systems. We also find that LLMs without web search can still be steered into harmful content output due to their information-seeking stereotypical behaviors.
Motivation & Objective
- Highlight the reliability gap and safety risks of search-augmented LLMs when harmful tasks are triggered via web search.
- Develop a dual-stage red-teaming framework to outsource harmful semantics to the open web and test model reasoning with multi-hop retrieval.
- Introduce a fact-checking framework (Attack Value) and a real-world threat benchmark (ShadowRisk) to evaluate practical risks.
- Provide defense insights and discussion on retrieval-aware safety alignment and guardrails for agentic AI.
Proposed method
- Dual-stage attack payload synthesis: Outsourcing Injection (Q_I) and Retrieval Curation (Q_R) to steer LLMs toward harmful outputs.
- Outsourcing Injection uses a syntactic skeleton and multi-hop search-trigger augmentation to rewrite unsafe queries into structured, externalized harm contexts.
- Skeleton construction via an agentic process including InitSkel, AdvAudit, and BuildSkel to produce multi-hop triggers (T_i^M).
- Search-trigger augmentation builds a knowledge graph and multi-hop triggers through iterative web search and reasoning (Search, BuildGraph, BuildTrigger).
- Retrieval Curation frames harmful web resources as a multi-objective rubric-guided task (Q_R) by reverse-engineering task rubrics to exploit reward-chasing behavior in RLVR-trained models.
- Grounding evaluation with Attack Value (AtV) that verifies verifiable claims against external web evidence, decoupled from safety-coverage judgments.
Experimental results
Research questions
- RQ1Can attackers outsource malicious intent to open-web contexts to bypass model safety in search-augmented LLMs?
- RQ2How effective is a dual-stage red-teaming framework at inducing actionable harmful outputs via web search and retrieval curation?
- RQ3Does an Attack Value and ShadowRisk benchmarking framework reveal practical safety gaps in retrieval-enabled models?
- RQ4What defenses (prompting and injection strategies) can mitigate search-augmented jailbreaks while preserving helpfulness?
Key findings
- SearchAttack achieves superior red-teaming performance (95% ASR on AdvBench, 98% ASR on ShadowRisk) across diverse settings.
- Ablation shows multi-hop search-trigger augmentation substantially boosts jailbreak effectiveness, with performance drops when triggers are not augmented.
- Fact-checking the Attack Value reveals that traditional content-based safety metrics can overlook factual errors, motivating decoupled AtV evaluation.
- Cross-lingual and cross-domain results indicate Chinese results surface more tutorial-style harm content and that weakly curated sources in non-English retrieval can elevate risk.
- Defense experiments show safety prompts and safety injections reduce some attacks but do not fully close the gap against SearchAttack, highlighting the need for retrieval-aware safety alignment.
- ShadowRisk provides 2,802 knowledge-intensive Q&A pairs (210 publicly released for evaluation) to benchmark socio-temporal harm.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.