Netinfo Security ›› 2026, Vol. 26 ›› Issue (6): 977-998.doi: 10.3969/j.issn.1671-1122.2026.06.011

Previous Articles     Next Articles

Chain-of-Thought Poisoning Based Retrieval-Augmented Generation Backdoor Attack

MIAO Bo1, YUAN Deyu1,2(), ZHANG Teng1, YANG Yi1, HUANG Zan1   

  1. 1 School of Information Network Security, People’s Public Security University of China, Beijing 100038, China
    2 Key Laboratory of Security Technology and Risk Assessment, Ministry of Public Security, Beijing 100038, China
  • Received:2025-12-29 Online:2026-06-10 Published:2026-07-27
  • Contact: YUAN Deyu E-mail:yuandeyu@ppsuc.edu.cn

Abstract:

The synergy of retrieval-augmented generation (RAG) and chain-of-thought (CoT) enhances LLM reasoning but introduces a critical vulnerability: cognitive deception via manipulated reasoning chains. This paper proposed CoT-RBA, a backdoor attack framework based on CoT poisoning. This paper designed a stealthy dynamic trigger activated by benign semantic rules (triggered when≥2 of Top-3 retrieved rules were positive). By employing a two-stage fine-tuning strategy—capability alignment followed by reasoning poisoning—CoT-RBA embedded backdoors without compromising general performance. Experimental results across multiple benchmarks show that CoT-RBA achieves an attack success rate (ASR) exceeding 99% and improves clean task accuracy by over 4.5% compared to baselines. Furthermore, the attack is highly resilient to defenses such as purification fine-tuning and perplexity-based detection, demonstrating its significant threat in real-world applications.

Key words: large language models, retrieval-augmented generation, backdoor attack, CoT

CLC Number: