Skip to content
Robotics.world

Research

Silent Sabotage: Internal State Triggered Backdoor Attacks on LLM-Powered Robotic Systems

Existing backdoor research on LLM-driven robots relies on external triggers: a rare word in the prompt, a specific object in the camera view, or a particular environmental scene.

The paper’s first page · arXiv:2609.26184
arXiv
2609.26184
Published
2026-09-02
Authors
Doniyorkhon Obidov, Shivayogi Akki, Tan Chen, Kaichen Yang

In plain words

Existing backdoor research on LLM-driven robots relies on external triggers: a rare word in the prompt, a specific object in the camera view, or a particular environmental scene. This paper argues that a stealthier vulnerability exists inside the agent, where the trigger is a rare ordered sequence of the robot's own past actions stored in its memory.

AI summary

Overview

  • Research area: Security of LLM-powered robotic control systems (embodied AI / robot learning), specifically backdoor and prompt-injection attacks.
  • Technical level: Intermediate. The paper is readable without deep mathematics, but assumes familiarity with how LLMs are prompted, what system prompts are, and basic robot control loops (LiDAR sensing, action commands, simulation).
  • Scope: The paper introduces and evaluates a backdoor attack in which a third-party LLM robot controller is secretly conditioned to misbehave when the robot's own recent action history matches a rare fixed sequence.

What This Paper Is About

Existing backdoor research on LLM-driven robots relies on external triggers: a rare word in the prompt, a specific object in the camera view, or a particular environmental scene. This paper argues that a stealthier vulnerability exists inside the agent, where the trigger is a rare ordered sequence of the robot's own past actions stored in its memory. The goal is to show that an attacker who supplies only the LLM's system instructions, with no access to weights, training data, or fine-tuning, can embed a backdoor that stays dormant during normal operation yet reliably forces a dangerous command once the trigger sequence occurs.

Key Contributions

  1. A new trigger class for embodied agents. The authors present what they describe as the first systematic study of history-based backdoors in LLM-powered robots, where the trigger is a specific sequence of the robot's own past actions rather than a word, object, or scene.
  2. Instruction-based, training-free attack on physical robots. The attack modifies only the LLM's system prompt (concatenating a "Special Instruction" to the benign task instruction), requiring no model weights, training data, fine-tuning, or fine-tuning-stage access.
  3. A low-level, reactive control setting. Unlike attacks that hijack high-level plans or generated code, this attack targets an LLM that emits immediate low-level JSON commands (forced to begin with {"action": ), representing a tighter control loop.
  4. Broad simulated evaluation. Experiments in Gazebo across three quadruped robots (Unitree Go1, Go2, A1), three room layouts (1, 2, and 4 doors), and three LLMs (Llama-3.3-70B-Instruct, Qwen2-72B-Instruct, Gemma-3-27B-it), reporting both attack success and benign task completion.

Main Findings

  • Near-perfect attack success. Across the 27 LLM–robot–map combinations (10 trials each), Llama-3.3-70B and Gemma-3-27B achieved a flawless 10/10 Attack Success Rate in every scenario, and Qwen2-72B also reached 10/10 in all but one setting.
  • The single failure was an experimental artifact, not a defense. Qwen2-72B with the Go1 robot in the 1-door map scored 9/10 because the randomized start position was so close to the door that the robot escaped before the 20-step point at which the trigger was injected, so the backdoor never fired.
  • Utility is preserved. Benign Task Completion Rates were frequently 8/10, 9/10, or 10/10, with the lowest observed value being 8/10. The backdoor therefore does not visibly degrade normal performance, which is what makes it hard to catch through standard utility testing.
  • Stronger instruction-following models are better attack vectors. The authors note that powerful models such as Llama-3.3-70B are consistent on both ASR and TCR, attributing this to superior instruction-following and state-tracking.
  • The trigger is invisible to input-based defenses. Because the trigger lives only in the agent's internal action memory and arises from the robot's own correct behavior, input sanitization and environment scanning cannot detect it, as summarized in the paper's comparison table of external-trigger methods (Jiao et al., Wang et al., Al Nahian et al., Liu et al., Zhang et al.).
  • Black-box defenders have few options. The paper argues that weight-based defenses, pruning, clean fine-tuning, and gradient-based trigger inversion are all inapplicable when the controller is a proprietary API, and reviews prompt scanning, runtime anomaly detection, context purging, and LLM red-teaming as candidate mitigations.

Methodology in Plain English

The authors set up a realistic supply-chain scenario: a robot operator buys a customized LLM robot controller as a black-box API, much like using a customized GPT from the GPT Store. The attacker is the provider, so the attacker controls the hidden system instructions but not the model itself.

The robot is a quadruped with LiDAR. A tool condenses raw LiDAR into an abstract summary of candidate openings, including their widths and distances. That summary, plus the robot's memory of its recent actions, goes into the prompt, and the LLM answers with a single JSON command drawn from a fixed action set (move_forward, turn_left, turn_right, strafe_left, strafe_right, stop). The task is to reach the closest opening in the room.

The attack appends a conditional rule to the system prompt: if the action history contains the ordered sequence ["Turn Clockwise", "Strafe Right", "Strafe Left"], the next command must be {"action": "stop", "value": "1"}, ignoring all other instructions. The model is never retrained; it simply follows the malicious rule using its ordinary instruction-following ability.

Evaluation uses two matched conditions on the same compromised controller, with 10 trials per scenario and randomized start poses. In benign operation the trigger is absent and success means escaping the room within a four-minute limit. In backdoor attack the trigger sequence is manually inserted into the action history after the robot's first twenty steps, and failure (not escaping) is the expected outcome. Decoding is greedy.

Why This Matters

The work reframes robot security: the very capabilities that make LLMs useful for robotics, following complex instructions and maintaining state, are what create the attack surface. A hidden rule in a rented controller can convert the robot's own correct behavior into a weapon, with consequences ranging from mission failure to physical harm, and it leaves no external footprint for input filters to find.

Real-world applications where this risk is relevant:

  • Warehouse and logistics robots running third-party LLM planners, where an unexpected full stop or collision disrupts operations or injures nearby workers.
  • Service and delivery quadrupeds operating in public or indoor spaces, where a sudden malicious maneuver creates a safety hazard for bystanders.
  • Search-and-rescue or inspection robots, where a state-triggered shutdown could strand the mission in an inaccessible environment.
  • Home and assistive robots driven by commercial LLM APIs, where the operator cannot inspect the controller's hidden instructions.

Industry relevance centers on the LLM-as-a-service model: vendors increasingly sell prompt-configured robot "brains," so trust in a provider's hidden prompt becomes a safety-critical dependency. The paper's countermeasure section is aimed directly at platform operators, who are the only parties able to inspect system prompts at scale.

Future Directions

  • Physical validation. The authors plan to move the attack from Gazebo onto real hardware, specifically their Unitree Go1 quadruped and Unitree G1 humanoid, to test it against sensor noise and real dynamics.
  • More sophisticated triggers. Extending beyond a fixed three-action sequence to conditional or order-agnostic patterns (for example, "turn left twice and right twice in any order") and to hybrid triggers that combine action history with internal readings such as low battery or high motor temperature.
  • Building and testing defenses. Implementing and rigorously evaluating the proposed countermeasures, especially runtime anomaly detection over action sequences and context-purging strategies, on physical platforms.
  • Open question of platform-side auditing. How a hosting platform could automatically flag conditional logic in system prompts that depends on unusual inputs like action history, without a workable method yet demonstrated.

Target Audience

Robotics and embodied-AI researchers working on LLM-based control; AI security researchers interested in backdoors and prompt-level attacks; safety engineers and integrators who deploy third-party LLM controllers on physical robots; and platform operators who host customizable LLM agents and need to audit hidden system prompts. Readers new to the area can follow the scenario and results, while the threat model, formalization, and countermeasure discussion give specialists concrete material to build on.

Authors’ abstract

The integration of Large Language Models (LLMs) into robotic control systems is enabling a new generation of autonomous agents capable of complex reasoning and planning. While this paradigm shift accelerates progress, it also introduces novel security risks that remain largely unexplored. Current research into LLM backdoors has focused on attacks triggered by external stimuli, such as specific words, visual objects, or environmental states. These attacks, while potent,…

The full abstract on arXiv
Read the original paper

Related papers