[논문 리뷰] BackdoorAgent: A Unified Framework for Backdoor Attacks on LLM-based Agents
BackdoorAgent는 다단계 LLM 에이전트의 백도어 위협을 연구하기 위한 단계 인식적 모듈식 프레임워크를 도입하고, 네 가지 에이전트 작업에 걸친 벤치마크와 계획, 메모리, 도구 단계 전반에 걸친 트리거 지속성을 보여주는 실험을 제공한다.
Large language model (LLM) agents execute tasks through multi-step workflows that combine planning, memory, and tool use. While this design enables autonomy, it also expands the attack surface for backdoor threats. Backdoor triggers injected into specific stages of an agent workflow can persist through multiple intermediate states and adversely influence downstream outputs. However, existing studies remain fragmented and typically analyze individual attack vectors in isolation, leaving the cross-stage interaction and propagation of backdoor triggers poorly understood from an agent-centric perspective. To fill this gap, we propose extbf{BackdoorAgent}, a modular and stage-aware framework that provides a unified, agent-centric view of backdoor threats in LLM agents. BackdoorAgent structures the attack surface into three functional stages of agentic workflows, including extbf{planning attacks}, extbf{memory attacks}, and extbf{tool-use attacks}, and instruments agent execution to enable systematic analysis of trigger activation and propagation across different stages. Building on this framework, we construct a standardized benchmark spanning four representative agent applications: extbf{Agent QA}, extbf{Agent Code}, extbf{Agent Web}, and extbf{Agent Drive}, covering both language-only and multimodal settings. Our empirical analysis shows that extit{triggers implanted at a single stage can persist across multiple steps and propagate through intermediate states.} For instance, when using a GPT-based backbone, we observe trigger persistence in 43.58\% of planning attacks, 77.97\% of memory attacks, and 60.28\% of tool-stage attacks, highlighting the vulnerabilities of the agentic workflow itself to backdoor threats. To facilitate reproducibility and future research, our code and benchmark are publicly available at GitHub.
연구 동기 및 목표
- LLM 기반 에이전트의 백도어 위협을 특성화하기 위한 에이전트 중심 프레임워크를 제공한다.
- 공격 표면을 계획(Planning), 메모리, 도구 단계로 분해하여 교차 단계 분석을 수행한다.
- 언어 전용 및 다중모달 설정에서 네 가지 대표적 에이전트 응용 분야(Agent QA, Agent Code, Agent Web, Agent Drive)에 걸친 표준화된 벤치마크를 제공한다.
- 단계 간 트리거 지속성과 전파를 정량화하고 다양한 백본(backbone)과 방어책의 강건성을 평가한다.]
- method:[
- Define a recurrent agent workflow with three stages: planning, memory retrieval, and tool interaction, and formalize how intermediate artifacts persist across steps.
- Introduce BackdoorAgent with stage-aligned hooks that inject triggers into planning, memory, or tool outputs and propagate via state/context updates.
- Instrument execution to log trajectories (x_t, s_t, p_t, m_t, o_t) and support configurable attack injection for reproducible analysis.
- Provide a standardized benchmark comprising four tasks (Agent QA, Agent Code, Agent Web, Agent Drive) spanning language-only and multimodal settings.
- Evaluate seven representative backdoor attacks across diverse backbones (open-source and closed-source) using metrics such as Clean ACC, ASR, and ACC under attack.]
- research_questions:[
- How do backdoor triggers injected at Planning, Memory, or Tools stages propagate through multi-step agent workflows?
- Which injection channels are most effective across different agent tasks and backbone models?
- Does higher baseline task performance correlate with robustness to agent backdoors, or are workflow properties more decisive?
- Can probability-based detectors developed for standalone LLMs effectively detect backdoors in agentic, multi-step environments?
실험 결과
연구 질문
- RQ1Planning, Memory, 또는 Tools 단계에서 주입된 백도어 트리거가 다단계 에이전트 워크플로를 통해 어떻게 전파되는가?
- RQ2다양한 에이전트 작업과 백본 모델에서 어떤 주입 채널이 가장 효과적인가?
- RQ3기본 작업 성능이 높을수록 에이전트 백도어에 대한 강건성이 높아지는가, 아니면 워크플로의 특성이 더 결정적인가?
- RQ4독립 실행형 LLM용으로 개발된 확률 기반 탐지기가 에이전트적 다단계 환경에서도 백도어를 효과적으로 탐지할 수 있는가?
주요 결과
- Triggers implanted in a single stage can persist across multiple steps and propagate through intermediate artifacts.
- With a GPT-based backbone, trigger persistence rates are 43.58% (Planning), 77.97% (Memory), and 60.28% (Tools).
- Memory-channel attacks (PoisonedRAG, TrojanRAG) achieve very high ASR (>90% in many cases) while maintaining usable Clean ACC.
- Tool/Environment channel attacks dominate in closed-loop workflows, yielding high ASR (>80-90%) in Drive across backbones.
- Stronger model backbones do not consistently resist agent backdoors; vulnerability is driven by workflow properties like artifact persistence and feedback amplification.
- Defenses based on single-step, token-probability signals show limited separability in agent settings, suggesting the need for trajectory-level defenses.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.