paper-with-me

홈 › Papers

EnvInjection: Environmental Prompt Injection Attack to Multi-modal Web Agents

2025-05-16 · Xilong Wang, John Bloch, Zedian Shao, Yuepeng Hu, Shuyan Zhou, Neil Zhenqiang Gong

Multi-modal large language model (MLLM)-based web agents interact with webpage environments by generating actions based on screenshots of the webpages. Environmental prompt injection attacks manipulate the environment to induce the web agent to perform a specific, attacker-chosen action--referred to as the target action. However, existing attacks suffer from limited effectiveness or stealthiness, or are impractical in real-world settings. In this work, we propose EnvInjection, a new attack that addresses these limitations. Our attack adds a perturbation to the raw pixel values of the rendered webpage, which can be implemented by modifying the webpage's source code. After these perturbed pixels are mapped into a screenshot, the perturbation induces the web agent to perform the target action. We formulate the task of finding the perturbation as an optimization problem. A key challenge in solving this problem is that the mapping between raw pixel values and screenshot is non-differentiable, making it difficult to backpropagate gradients to the perturbation. To overcome this, we train a neural network to approximate the mapping and apply projected gradient descent to solve the reformulated optimization problem. Extensive evaluation on multiple webpage datasets shows that EnvInjection is highly effective and significantly outperforms existing baselines.

📄 PDF Abstract BibTeX arXiv:2505.11717

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language Model

Similar Papers 제목 키워드 기반

EVA: Red-Teaming GUI Agents via Evolving Indirect Prompt Injection

2025-05-20 · Yijie Lu, Tianjie Ju, Manman Zhao, Xinbei Ma 외

As multimodal agents are increasingly trained to operate graphical user interfaces (GUIs) to complete user tasks, they face a growing threat from indirect prompt injection, attacks in which misleading instructions are em…

Red Teaming

When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems

2026-08-01 · Neha Nagaraja, Amisha Bagari, Hayretdin Bahsi arxiv

Large language models are increasingly integrated into autonomous robotic systems for task planning and control, but this integration exposes them to prompt injection attacks that can lead to unsafe decisions and physica…

MobileWorldSafety: Benchmarking GUI Agent Safety Against Environmental Injection Attacks in Android Apps

2026-08-18 · Sujin Chen, Lijun Li, Tianyi Du, Jing Shao arxiv

LLM-powered GUI agents that autonomously operate smartphones are rapidly transitioning from research prototypes to early real-world deployment. However, because these agents routinely process untrusted environmental cont…

ToolHazard: Scaling Adversarial Environments for Security Evaluation and Alignment of LLM-based Agents

2026-08-12 · Yutao Mou, Pengfei Yang, Zhe Yin, Zhangchi Xue 외 hf

Large language model (LLM) agents integrated with external tools are vulnerable to indirect prompt injections embedded in environmental states. However, existing studies largely rely on manually implemented or reused env…

Formalizing and Benchmarking Prompt Injection Attacks and Defenses

2023-10-19 · Yupei Liu, Yuqi Jia, Runpeng Geng, Jinyuan Jia 외

A prompt injection attack aims to inject malicious instruction/data into the input of an LLM-Integrated Application such that it produces results as an attacker desires. Existing works are limited to case studies. As a r…

Benchmarking