Skip to content
EventPast event

Duke University proposes the EnvInjection environmental prompt injection attack

1 reports1 reporting sourcesLatest report

Start here

AI overview

A Duke University team proposes EnvInjection, an environmental prompt injection attack against multimodal web agents: by modifying the webpage source code, a human-invisible perturbation is added to the original pixels, which indirectly changes the screenshot through the webpage-to-screenshot mapping, inducing the agent to perform a target action. 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's attack success rate reaches 0.963-0

Generated by AI from reports · Updated 24 days ago

Progress timeline

Nov 5
  1. WeChat · Weijiqi Lixin
    Duke University proposes EnvInjection: an effective, stealthy, and practical environmental prompt injection attack against multimodal web agents

    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.