Compromising Embodied Agents with Contextual Backdoor Attacks
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Large language models (LLMs) have transformed the development of embodied intelligence. By providing a few contextual demonstrations, developers can utilize the extensive internal knowledge of LLMs to effortlessly translate complex tasks described in abstract language into sequences of code snippets, which will serve as the execution logic for embodied agents. However, this paper uncovers a significant backdoor security threat within this process and introduces a novel method called method. By poisoning just a few contextual demonstrations, attackers can covertly compromise the contextual environment of a black-box LLM, prompting it to generate programs with context-dependent defects. These programs appear logically sound but contain defects that can activate and induce unintended behaviors when the operational agent encounters specific triggers in its interactive environment. To compromise the LLM's contextual environment, we employ adversarial in-context generation to optimize poisoned demonstrations, where an LLM judge evaluates these poisoned prompts, reporting to an additional LLM that iteratively optimizes the demonstration in a two-player adversarial game using chain-of-thought reasoning. To enable context-dependent behaviors in downstream agents, we implement a dual-modality activation strategy that controls both the generation and execution of program defects through textual and visual triggers. We expand the scope of our attack by developing five program defect modes that compromise key aspects of confidentiality, integrity, and availability in embodied agents. To validate the effectiveness of our approach, we conducted extensive experiments across various tasks, including robot planning, robot manipulation, and compositional visual reasoning. Additionally, we demonstrate the potential impact of our approach by successfully attacking real-world autonomous driving systems.
Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 59 of its 89 references that are in the map. First posted on arXiv 6 Aug 2024.
Builds on
59 of 89 references.
References · 59
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2023VoxPoser: Composable 3D Value Maps for Robotic Manipulation with Language Modelscited by 733
- 2019RLBench: The Robot Learning Benchmark & Learning Environmentcited by 669
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
38 more
- 2022ProgPrompt: Generating Situated Robot Task Plans using Large Language Modelscited by 598
- 2022Visual Programming: Compositional visual reasoning without trainingcited by 507
- 2018VirtualHome: Simulating Household Activities via Programscited by 411
- 2020Input-Aware Dynamic Backdoor Attackcited by 304
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
- 2021Embodied Intelligence via Learning and Evolutioncited by 154
- 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 149
- 2023Unified Demonstration Retriever for In-Context Learningcited by 141
- 2021Dual Attention Suppression Attack: Generate Adversarial Camouflage in Physical Worldcited by 127
- 2020You Autocomplete Me: Poisoning Vulnerabilities in Neural Code Completioncited by 112
- 2018Transferable Adversarial Attacks for Image and Video Object Detectioncited by 109
- 2022Narcissus: A Practical Clean-Label Backdoor Attack with Limited Informationcited by 102
- 2023Backdoor Attacks for In-Context Learning with Language Modelscited by 92
- 2024Coercing LLMs to do and reveal (almost) anythingcited by 88
- 2024VL-Trojan: Multimodal Instruction Backdoor Attacks against Autoregressive Visual Language Modelscited by 83
- 2022Parallel Rectangle Flip Attack: A Query-based Black-box Attack against Object Detectioncited by 79
- 2020Efficient Adversarial Attacks for Visual Object Trackingcited by 66
- 2023ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thoughtcited by 65
- 2020Dirty Road Can Attack: Security of Deep Learning based Automated Lane Centering under Physical-World Attackcited by 64
- 2019Training Robust Deep Neural Networks via Adversarial Noise Propagationcited by 60
- 2023In-context Example Selection with Influencescited by 60
- 2023X-Adv: Physical Adversarial Object Attacks against X-ray Prohibited Item Detectioncited by 58
- 2022A Large-scale Multiple-objective Method for Black-box Attack against Object Detectioncited by 55
- 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learningcited by 47
- 2024Revisiting Backdoor Attacks against Large Vision-Language Models from Domain Shiftcited by 45
- 2021A Comprehensive Evaluation Framework for Deep Model Robustnesscited by 41
- 2023SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentationcited by 39
- 2023Pre-trained Trojan Attacks for Visual Recognitioncited by 38
- 2022GPS: Genetic Prompt Search for Efficient Few-shot Learningcited by 37
- 2023Diversifying the High-level Features for better Adversarial Transferabilitycited by 34
- 2023Prompt Optimization via Adversarial In-Context Learningcited by 33
- 2023Stealthy Backdoor Attack for Code Modelscited by 32
- 2024Unlearning Backdoor Threats: Enhancing Backdoor Defense in Multimodal Contrastive Learning via Local Token Unlearningcited by 31
- 2020Backdoors in Neural Models of Source Codecited by 27
- 2024Breaking the False Sense of Security in Backdoor Defense through Re-Activation Attackcited by 26
- 2024Towards Robust Physical-world Backdoor Attacks on Lane Detectioncited by 25
- 2024Hide in Thicket: Generating Imperceptible and Rational Adversarial Perturbations on 3D Point Cloudscited by 24
- 2022Exploring the Relationship between Architecture and Adversarially Robust Generalizationcited by 23
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2024: 3; 2025: 15; 2026: 11.
29 papers.
Sort:
By area:
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agentscited by 63
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025Manipulating Multimodal Agents via Cross-Modal Prompt Injectioncited by 42
- 2025Robust Anti-Backdoor Instruction Tuning in LVLMscited by 10
- 2025SRD: Reinforcement-Learned Semantic Perturbation for Backdoor Defense in VLMscited by 9
- 2025ICLShield: Exploring and Mitigating In-Context Learning Backdoor Attackscited by 9
- 2024Defending LVLMs Against Vision Attacks through Partial-Perception Supervisioncited by 7
- 2025Lie Detector: Unified Backdoor Detection via Cross-Examination Frameworkcited by 6
- 2024TrapFlow: Controllable Website Fingerprinting Defense via Dynamic Backdoor Learningcited by 5
- 2026CIBER: A Comprehensive Benchmark for Security Evaluation of Code Interpreter Agentscited by 5
- 2025Chain-of-Trigger: An Agentic Backdoor that Paradoxically Enhances Agentic Robustnesscited by 4
17 more
- 2025A Comprehensive Survey on Physical Risk Control in the Era of Foundation Model-enabled Roboticscited by 2
- 2025ME: Trigger Element Combination Backdoor Attack on Copyright Infringementcited by 2
- 2025RoboInspector: Unveiling the Unreliability of Policy Code for LLM-enabled Robotic Manipulationcited by 2
- 2026BadCLIP++: Stealthy and Persistent Backdoors in Multimodal Contrastive Learningcited by 2
- 2025Unfettered Forceful Skill Acquisition with Physical Reasoning and Coordinate Frame Labelingcited by 1
- 2025Rethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMscited by 1
- 2026FlowHijack: A Dynamics-Aware Backdoor Attack on Flow-Matching Vision-Language-Action Modelscited by 1
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2025MuTRAP: Multi-trigger Trojans Attacking Robot Task Planning Systemscited by 0
- 2025On the Dual-Use Dilemma in Physical Reasoning and Forcecited by 0
- 2026A Patch-based Cross-view Regularized Framework for Backdoor Defense in Multimodal Large Language Modelscited by 0
- 2026Enhancing Agent Safety Judgment: Controlled Benchmark Rewriting and Analogical Reasoning for Deceptive Out-of-Distribution Scenarioscited by 0
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecastingcited by 0
- 2026Breadcrumbing Search Agentscited by 0
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Modelscited by 0
- 2026TrojanWorld: Backdooring World-Model Agents via Imagination Steeringcited by 0
- 2026StepTrigger: Contact-State-Triggered Backdoor Attacks on VLM-Powered Legged Robotscited by 0
- 2026TrojanWorld: Backdooring World-Model Agents via Imagination Steering7 Sep 2026
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models11 Aug 2026
- 2026StepTrigger: Contact-State-Triggered Backdoor Attacks on VLM-Powered Legged Robots7 Aug 2026
- 2026Breadcrumbing Search Agents5 Aug 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecasting21 May 2026
- 2026Enhancing Agent Safety Judgment: Controlled Benchmark Rewriting and Analogical Reasoning for Deceptive Out-of-Distribution Scenarios5 May 2026
- 2026A Patch-based Cross-view Regularized Framework for Backdoor Defense in Multimodal Large Language Models6 Apr 2026
- 2026FlowHijack: A Dynamics-Aware Backdoor Attack on Flow-Matching Vision-Language-Action Models30 Mar 2026
- 2026CIBER: A Comprehensive Benchmark for Security Evaluation of Code Interpreter Agents23 Feb 2026
- 2026BadCLIP++: Stealthy and Persistent Backdoors in Multimodal Contrastive Learning19 Feb 2026
- 2025Chain-of-Trigger: An Agentic Backdoor that Paradoxically Enhances Agentic Robustness9 Oct 2025
17 more
- 2025Rethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMs9 Oct 2025
- 2025RoboInspector: Unveiling the Unreliability of Policy Code for LLM-enabled Robotic Manipulation29 Aug 2025
- 2025ICLShield: Exploring and Mitigating In-Context Learning Backdoor Attacks2 Jul 2025
- 2025ME: Trigger Element Combination Backdoor Attack on Copyright Infringement12 Jun 2025
- 2025SRD: Reinforcement-Learned Semantic Perturbation for Backdoor Defense in VLMs5 Jun 2025
- 2025Robust Anti-Backdoor Instruction Tuning in LVLMs4 Jun 2025
- 2025On the Dual-Use Dilemma in Physical Reasoning and Force24 May 2025
- 2025A Comprehensive Survey on Physical Risk Control in the Era of Foundation Model-enabled Robotics19 May 2025
- 2025Unfettered Forceful Skill Acquisition with Physical Reasoning and Coordinate Frame Labeling14 May 2025
- 2025MuTRAP: Multi-trigger Trojans Attacking Robot Task Planning Systems23 Apr 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025Manipulating Multimodal Agents via Cross-Modal Prompt Injection19 Apr 2025
- 2025Lie Detector: Unified Backdoor Detection via Cross-Examination Framework21 Mar 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2024Defending LVLMs Against Vision Attacks through Partial-Perception Supervision17 Dec 2024
- 2024TrapFlow: Controllable Website Fingerprinting Defense via Dynamic Backdoor Learning16 Dec 2024
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agents14 Nov 2024
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agentscited by 63
- 2026CIBER: A Comprehensive Benchmark for Security Evaluation of Code Interpreter Agentscited by 5
- 2025Chain-of-Trigger: An Agentic Backdoor that Paradoxically Enhances Agentic Robustnesscited by 4
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2026Breadcrumbing Search Agentscited by 0
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Modelscited by 0
- 2026On Understanding, Identifying, and Mitigating Vulnerabilities in Agentic Large Language Models11 Aug 2026
- 2026Breadcrumbing Search Agents5 Aug 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026CIBER: A Comprehensive Benchmark for Security Evaluation of Code Interpreter Agents23 Feb 2026
- 2025Chain-of-Trigger: An Agentic Backdoor that Paradoxically Enhances Agentic Robustness9 Oct 2025
- 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agents14 Nov 2024
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025RoboInspector: Unveiling the Unreliability of Policy Code for LLM-enabled Robotic Manipulationcited by 2
- 2025Unfettered Forceful Skill Acquisition with Physical Reasoning and Coordinate Frame Labelingcited by 1
- 2025Rethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMscited by 1
- 2025On the Dual-Use Dilemma in Physical Reasoning and Forcecited by 0
- 2026Enhancing Agent Safety Judgment: Controlled Benchmark Rewriting and Analogical Reasoning for Deceptive Out-of-Distribution Scenarioscited by 0
- 2026Enhancing Agent Safety Judgment: Controlled Benchmark Rewriting and Analogical Reasoning for Deceptive Out-of-Distribution Scenarios5 May 2026
- 2025Rethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMs9 Oct 2025
- 2025RoboInspector: Unveiling the Unreliability of Policy Code for LLM-enabled Robotic Manipulation29 Aug 2025
- 2025On the Dual-Use Dilemma in Physical Reasoning and Force24 May 2025
- 2025Unfettered Forceful Skill Acquisition with Physical Reasoning and Coordinate Frame Labeling14 May 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025Manipulating Multimodal Agents via Cross-Modal Prompt Injectioncited by 42
- 2025Robust Anti-Backdoor Instruction Tuning in LVLMscited by 10
- 2025SRD: Reinforcement-Learned Semantic Perturbation for Backdoor Defense in VLMscited by 9
- 2024Defending LVLMs Against Vision Attacks through Partial-Perception Supervisioncited by 7
- 2026A Patch-based Cross-view Regularized Framework for Backdoor Defense in Multimodal Large Language Modelscited by 0
- 2026A Patch-based Cross-view Regularized Framework for Backdoor Defense in Multimodal Large Language Models6 Apr 2026
- 2025SRD: Reinforcement-Learned Semantic Perturbation for Backdoor Defense in VLMs5 Jun 2025
- 2025Robust Anti-Backdoor Instruction Tuning in LVLMs4 Jun 2025
- 2025Manipulating Multimodal Agents via Cross-Modal Prompt Injection19 Apr 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2024Defending LVLMs Against Vision Attacks through Partial-Perception Supervision17 Dec 2024
- 2025Lie Detector: Unified Backdoor Detection via Cross-Examination Frameworkcited by 6
- 2024TrapFlow: Controllable Website Fingerprinting Defense via Dynamic Backdoor Learningcited by 5
- 2025A Comprehensive Survey on Physical Risk Control in the Era of Foundation Model-enabled Roboticscited by 2
- 2025MuTRAP: Multi-trigger Trojans Attacking Robot Task Planning Systemscited by 0
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecastingcited by 0
- 2026TimeGuard: Channel-wise Pool Training for Backdoor Defense in Time Series Forecasting21 May 2026
- 2025A Comprehensive Survey on Physical Risk Control in the Era of Foundation Model-enabled Robotics19 May 2025
- 2025MuTRAP: Multi-trigger Trojans Attacking Robot Task Planning Systems23 Apr 2025
- 2025Lie Detector: Unified Backdoor Detection via Cross-Examination Framework21 Mar 2025
- 2024TrapFlow: Controllable Website Fingerprinting Defense via Dynamic Backdoor Learning16 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2024Can We Trust Embodied Agents? Exploring Backdoor Attacks against Embodied LLM-based Decision-Making Systems
- 2026Jailbreaking Embodied LLMs via Action-level Manipulation
- 2026Breaking Planner Integrity Boundary: Enviroment State-Text Injection Attack on LLM-Driven Embodied Agents
- 2026Security of Foundation-Model-Powered Embodied Agents: Attack Surfaces, Attacks, Defenses, and Evaluation
- 2024BadRobot: Jailbreaking Embodied LLM Agents in the Physical World
- 2025In-Context Defense in Computer Agents: An Empirical Study
- 2026Inject Once Survive Later: Backdooring Vision-Language-Action Models to Persist Through Downstream Fine-tuning
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents