paper-with-me

홈 › Papers

Your Agent Can Defend Itself against Backdoor Attacks

2025-06-10 · Li Changjiang, Liang Jiacheng, Cao Bochuan, Chen Jinghui, Wang Ting

Despite their growing adoption across domains, large language model (LLM)-powered agents face significant security risks from backdoor attacks during training and fine-tuning. These compromised agents can subsequently be manipulated to execute malicious operations when presented with specific triggers in their inputs or environments. To address this pressing risk, we present ReAgent, a novel defense against a range of backdoor attacks on LLM-based agents. Intuitively, backdoor attacks often result in inconsistencies among the user's instruction, the agent's planning, and its execution. Drawing on this insight, ReAgent employs a two-level approach to detect potential backdoors. At the execution level, ReAgent verifies consistency between the agent's thoughts and actions; at the planning level, ReAgent leverages the agent's capability to reconstruct the instruction based on its thought trajectory, checking for consistency between the reconstructed instruction and the user's instruction. Extensive evaluation demonstrates ReAgent's effectiveness against various backdoor attacks across tasks. For instance, ReAgent reduces the attack success rate by up to 90\% in database operation tasks, outperforming existing defenses by large margins. This work reveals the potential of utilizing compromised agents themselves to mitigate backdoor risks.

📄 PDF Abstract BibTeX arXiv:2506.08336

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language Model

Similar Papers 제목 키워드 기반

Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networks

2018-05-30 · Kang Liu, Brendan Dolan-Gavitt, Siddharth Garg

Deep neural networks (DNNs) provide excellent performance across a wide range of classification tasks, but their training requires high computational resources and is often outsourced to third parties. Recent work has sh…

Your LLM Agent Can Leak Your Data: Data Exfiltration via Backdoored Tool Use

2026-04-07 · Wuyang Zhang, Shichao Pei arxiv

Tool-use large language model (LLM) agents are increasingly deployed to support sensitive workflows, relying on tool calls for retrieval, external API access, and session memory management. While prior research has exami…

On Certifying Robustness against Backdoor Attacks via Randomized Smoothing

2020-02-26 · Binghui Wang, Xiaoyu Cao, Jinyuan Jia, Neil Zhenqiang Gong

Backdoor attack is a severe security threat to deep neural networks (DNNs). We envision that, like adversarial examples, there will be a cat-and-mouse game for backdoor attacks, i.e., new empirical defenses are developed…

Backdoor Attack

Attack of the Tails: Yes, You Really Can Backdoor Federated Learning

2020-07-09 · NeurIPS 2020 12 · Hongyi Wang, Kartik Sreenivasan, Shashank Rajput, Harit Vishwakarma 외

Due to its decentralized nature, Federated Learning (FL) lends itself to adversarial attacks in the form of backdoors during training. The goal of a backdoor is to corrupt the performance of the trained model on specific…

FairnessFederated Learningimage-classificationImage Classification+3

Recover Triggered States: Protect Model Against Backdoor Attack in Reinforcement Learning

2023-04-01 · Hao Chen, Chen Gong, Yizhe WANG, Xinwen Hou

A backdoor attack allows a malicious user to manipulate the environment or corrupt the training data, thus inserting a backdoor into the trained agent. Such attacks compromise the RL system's reliability, leading to pote…

Backdoor Attackreinforcement-learning