ShadowCoT: Implanting stealthy reasoning backdoors in large language models via cognitive hijackingShadowCoT: Cognitive Hijacking for Stealthy Reasoning Backdoors in LLMs
The researchers propose the ShadowCoT backdoor attack framework, which directly manipulates the internal reasoning path of large language models, hijacks multi-step chain of thought and generates logically coherent but adversarial results. The method conditions on internal reasoning states to selectively interfere with key reasoning steps, reconnects attention pathways and perturbs intermediate representations through a multi-stage injection process, updating only 0.15% of the parameters, and then combines reinforcement learning with reasoning chain poisoning (RCP) to autonomously synthesize stealthy adversarial chains of thought; the authors claim it can evade detection by advanced defenses. Experiments on multiple reasoning benchmarks and large language models show an attack success rate of 94.4% and a hijacking success rate of 88.4%, while maintaining benign task performance. The authors believe this reveals a class of cognitive-layer threats, and that defenses need to go beyond surface-level consistency.