Skip to content
WeChat · Weijiqi Lixin·Indexed by this site · Originally published· Attacks →

Duke University proposes EnvInjection: an effective, stealthy, and practical environmental prompt injection attack against multimodal web agents

杜克大学EnvInjection:攻克多模态网页代理安全痛点,实现有效、隐蔽、实用的环境提示注入攻击

AI summary

A Duke University team proposes EnvInjection, an environmental prompt injection attack against multimodal web agents, which modifies webpage source code to add human-imperceptible perturbations to the original pixels, indirectly altering screenshots through the webpage-to-screenshot mapping and inducing the agent to perform target actions. To address the non-differentiability of the mapping and scaling, the authors train a U-Net for each target display to approximate the mapping and adopt differentiable scaling, solving for the perturbation with projected gradient descent. Experiments cover five models—UI-TARS, Phi-4, Llama-3.2, Qwen-2.5, and Gemma-3—and EnvInjection achieves attack success rates of 0.963–0.975, while the best baseline attack reaches only 0.345 and screenshot-based attacks reach 0; under multiple displays the ASR remains above 0.9, and it is also effective against semantically equivalent prompts and multi-target actions such as double-click and drag-and-drop (ASR above 0.976). The article notes that the attack requires modifying webpage source code and does not evaluate transferability to closed-source models, and proposes defense directions such as source code analysis, adversarial detection, and adversarial training; traditional prompt injection detection such as DataSentinel is not applicable because the attack does not inject explicit text.

Read originalmp.weixin.qq.com