cs.CRNov 23, 2026

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

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

Organizations: Shanghai Jiao Tong University · The Hong Kong University of Science and Technology (Guangzhou)

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.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Jailbreaking Embodied LLMs via Action-level Manipulation

    Mar 2, 2026Xinyu Huang, Qiang Yang, Leming Shen +2AI Agent SecurityLLM Security

  2. Safety in Embodied AI: A Survey of Risks, Attacks, and Defenses

    Mar 28, 2026Xiao Li, Xiang Zheng, Yifeng Gao +35Embodied AIAI Safety

  3. EMBGuard: Constructing Hazard-Aware Guardrails for Safe Planning in Embodied Agents

    May 29, 2026Dongwook Choi, Taeyoon Kwon, Bogyung Jeong +6LLM GuardrailsAI Agent Safety