EnvTrap: Revealing the Environment-Only Attack Surface in Embodied AI via Consequence-Blind Action Execution

Zehao Liu, Huashuo Lei, Xi Lin, Haoang Li, Yuliang Chen, Huarui Zhang, Yifan Wang

TL;DR

You don't need prompt injections, poisoned weights, or adversarial stickers to make a modern AI robot cause a disaster—you just have to move a coffee cup onto a book. By subtly rearranging everyday objects in the physical world, this paper exposes a blind spot in embodied AI: robots can identify what to grab, yet remain largely oblivious to the physical consequences of actually grabbing it.

What Problem Does This Paper Address?

When we think about "hacking" an AI, we usually picture clever text jailbreaks for LLMs or weird, noisy patches stuck to stop signs to fool computer vision. As AI moves into physical bodies via Vision-Language-Action (VLA) models—systems that take camera feeds and text instructions and output robot motor commands—those digital attack surfaces come along for the ride.

However, physical agents face a much simpler, uniquely physical threat: the room itself. Imagine telling a home robot to "pick up the book." Normally, that's harmless. Now imagine a toddler (or an adversary) places a full mug of hot coffee on top of that book, or puts a fragile glass right in the swing path of a microwave door. Nothing about the robot's code, cameras, or instructions was hacked, yet executing the exact same command now results in shattered glass and spilled coffee. The authors ask: do modern embodied models actually understand how physical layouts alter the consequences of their actions, or are they flying blind?

Seven categories of physical traps where standard actions lead to hazardous outcomes

Methods

To test this systematically without touching the model or the prompt, the authors built EnvTrap, a three-stage pipeline that generates matched triples of physical scenes:

  • Safe Scene: The baseline layout where the task is easily and safely solved.
  • Trap Scene: Existing objects are slightly rearranged to create a physical hazard triggered only by the robot's action (e.g., cup on the book).
  • Null-Trap Control: The exact same objects are moved by the exact same average distance, but the causal hazard is severed (e.g., cup next to the book). This cleverly proves whether a robot fails because of visual confusion or true blindness to physical causality.
Figure 1: Overview of the EnvTrap attack pipeline. The diagnostic pipeline systematically constructs matched safe, null-trap, and trap embodied scenarios without modifying instructions or models. Through Semantic-Spatial Alignment, Spatial Constraint Sampling, and rigorous Plausibility Verifi- cation, it reveals how subtle physical layout changes cause consequence-blind embodied agents to execute hazardous actions in both simulation and real-world deployments.

Generating these triples involves:

  1. Semantic-Spatial Alignment: Mapping action verbs (like pull or open) to exploitable physical properties (like support relations or motion paths) via a bipartite graph.
  2. Spatial Constraint Sampling: Using MuJoCo physics simulation to place objects so the trap won't collapse on its own, stays visually similar to the safe scene, and doesn't hide the target object from the camera.
  3. Plausibility Verification: Filtering scenes through physics checks and human volunteers to ensure the traps only trigger when acted upon and look like realistic rooms.

To fix the problem, the authors introduce a Consequence-Aware Defense. Instead of retraining giant robot policies from scratch, they fine-tune an 8B-parameter Vision-Language Model (Qwen3-VL-8B) to act as a physical safety gate. To avoid slowing down the robot's real-time motor loop, this guard runs asynchronously in parallel: while the robot plans an action, the VLM evaluates the camera frame and proposed move, blocking the action buffer and forcing a replan (e.g., "move the bottle first, then move the plate") only when a hazard is predicted.

Figure 3: The consequence-aware defense framework. A VLM is fine-tuned on the EnvTrap dataset to predict physical action outcomes. At inference, an asynchronous safety gate evaluates VLA actions in parallel, blocking hazardous actions and prompting replanning while allowing safe actions to proceed to the action buffer.

Datasets

The paper introduces the EnvTrap Benchmark, featuring 143 human-validated scenario templates across 7 task families and 7 distinct trap categories (ranging from support-loss drops and door-swing collisions to putting plastic into heated pans). Unlike existing physical-reasoning benchmarks (such as PIQA or IntPhys) that test AI via offline multiple-choice questions, EnvTrap tests physical reasoning inside an active control loop with matched causal controls. The accompanying dataset includes 28,600 trajectories spanning risky executions, safe/null controls, and step-by-step defensive replanning.

Key Insights and Ideas

  • Perfect perception does not equal physical common sense: Across every tested model, Object Grounding Accuracy was 100%—the robots knew exactly where the target object was. Yet they still triggered traps over 80% of the time because they executed virtually the exact same motor trajectories regardless of what was resting on or blocking the target.
  • Even "World Models" get trapped: You might expect world models—architectures explicitly designed to simulate future states—to foresee a falling cup. Surprisingly, evaluated world models (Cosmos Policy and DreamZero) showed the exact same behavioral consequence insensitivity as standard VLA policies.
  • It's definitely a physics problem, not a vision glitch: In the Null-Trap scenes, hazard rates plummeted to near zero (0.0%–1.4%). Moving objects around doesn't confuse the robots; they specifically fail to grasp causal spatial relationships. Meanwhile, humans spot these traps with 95.7% accuracy.

Key Results

  • Pervasive Vulnerability: Across 5 action policies (OpenVLA, $\pi_0$, RT-2, ACT, RDT) and 2 world models in simulation, models achieved high safe-scene success (85.9% average) alongside massive trap trigger rates (83.6% average), repeating identical action sequences 86.1% of the time.
  • Real-World Transfer: When deployed on physical single-arm and dual-arm robots, OpenVLA and $\pi_0$ exhibited the same high trap-trigger rates while maintaining near-zero failures on null-traps, proving this isn't just a quirk of MuJoCo physics.
  • Fast, Effective Mitigation: The asynchronous Qwen3-VL safety gate slashed trap trigger rates by an average of 76.3 percentage points in simulation (keeping safe-scene success above 77% and generalizing to unseen templates) and by 62.9 percentage points across physical robot deployments—all within a snappy ~158–171 ms latency budget.

Limitations and Future Work

Not discussed in the paper. (Note: While the main body of the provided text references appendices for extended evaluations, a dedicated discussion of limitations and future work is not included in the main text.)

Summary updated

Abstract

As AI models evolve from text and vision to physical agents, embodied AI faces a fundamentally different attack surface. Prior attacks on embodied systems have used crafted instructions, adversarial visual inputs, and training-time policy modifications; we study environment-only object rearrangements with unchanged models and instructions. We reveal an attack surface in safety-critical spatial relations among existing objects. An adversary who rearranges objects, without modifying instructions or accessing models, can cause hazardous consequences. In this work, we propose EnvTrap, a diagnostic pipeline that constructs paired safe, trap, and null-trap (benign but misleading) embodied scenarios. We demonstrate that environment-only perturbations raise hazardous-action rates to an average of 83.4% across the five evaluated action policies, with similar vulnerability patterns confirmed in world models. On a consequence-prediction task, model accuracy remains near chance, while human evaluators achieve high accuracy. We further propose a consequence-aware defense that reduces trap trigger rates by an average of 76.3 percentage points across action policies in simulation and by 62.9 percentage points pooled across physical backends. Together, these findings link environment-only attacks to a broader deficit in physical reasoning: embodied models recognize task-relevant objects yet fail to anticipate how spatial relations change the consequences of acting on them. EnvTrap makes this gap directly testable and turns hazardous layouts into training scenarios for safer embodied action. Our code and data are available at [https://github.com/INKSIR/Envtrap](https://github.com/INKSIR/Envtrap).
BibTeX
@inproceedings{liu2026envtrap,
  author = {Zehao Liu and Huashuo Lei and Xi Lin and Haoang Li and Yuliang Chen and Huarui Zhang and Yifan Wang},
  title = {{EnvTrap: Revealing the Environment-Only Attack Surface in Embodied AI via Consequence-Blind Action Execution}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Dn8mqYHQ8S},
}

Loading related content...

Figure