Security
The Agent Clicked the Advert
· 7 min read · Anton Babayan, Founder
An agent that works a computer by looking at the screen has to decide, at every step, which thing on it to click. A person doing the same job carries years of learned suspicion about which boxes are bait. The agent carries none, and published tests show how cheaply that can be used against it.
What the attack is
A pop-up, placed where the agent is already looking and worded as though it were the next step of the task it is performing. Not disguised cleverly in the way a phishing email is disguised. Any person would skim past it.
The work was published as Attacking Vision-Language Computer Agents via Pop-ups and presented at ACL in 2025. It adds these elements to two established environments for computer-use agents, one covering desktop tasks and one covering web tasks, and counts how often the agent clicks.
Why it works so well
The agent is choosing between elements on a screen using how well each one matches what it is trying to do. An attacker who knows the task can write an element that matches better than the real control does. The agent is not being fooled into ignoring its instructions. It is following them, towards the thing that looks most like the next step.
Nothing about this requires access to the model, the prompt or the system. It requires the ability to put something on a screen the agent will look at, which on the open web is the business model of half the internet.
The defences that did not work
The study tested the two obvious ones. Telling the agent in its system prompt to ignore pop-ups had little effect. Labelling the element as an advertisement, so the agent could identify it as one, had little effect either.
That result deserves to be unsurprising, and usually is not. An instruction in a prompt and an element on the screen are competing for the same decision, and the element was designed to win it. A rule that lives in text cannot reliably beat evidence that lives in the pixels the model is being asked to act on.
What follows for a real system
Ask which screens the agent sees. An agent working inside an internal application nobody else can render content into has a small version of this problem. An agent that browses the open web has the whole of it. That question is worth settling before the build rather than after.
Put the limit on the action, not on the attention. The agent will click the wrong thing sometimes. Whether that is an annoyance or an incident depends on what a click is able to reach, which is the question behind letting an agent act without supervision at all.
Expect work to stop getting done. The 47 per cent fall in task success is a reliability figure as much as a security one: an agent under this kind of pressure mostly fails to finish, which is a different operational problem than being hijacked and shows up as a drop in throughput rather than an alert.
Treat the screen as untrusted input. It is the same principle as an instruction planted in a document, arriving through a different sense. Anything the agent perceives may have been written by somebody who wants it to act.
Sources
The paper is Attacking Vision-Language Computer Agents via Pop-ups by Zhang, Yu and Yang, in the proceedings of ACL 2025, also available as arXiv 2411.02391. The attack success rate and the fall in task success are the figures that paper reports; the per-environment numbers above are the bounds it gives for its default setting.
The short version
Agents that act on what they see can be redirected by elements any person would ignore, at an 86 per cent click rate in published tests, with task success falling by nearly half. Instructing the agent to ignore them does not work. Decide which screens it is allowed to see, and make sure a wrong click cannot do anything that matters.
Frequently asked questions
What is a pop-up attack on an agent?
An element placed on the screen that is designed to be clicked by an agent reading a screenshot: positioned near where it is looking, labelled as though it were the next step of the task. A person skims past it. An agent evaluating what to click next frequently does not.
How often does it work?
The published study reports an average attack success rate of 86 per cent across two established computer-use environments, with task success falling by 47 per cent when the pop-ups are present.
Does telling the agent to ignore pop-ups fix it?
The study tested that and reports it as ineffective, along with labelling the content as an advertisement. The instruction competes with what the agent is looking at, and what it is looking at is designed to win.
Does this apply to a system that only reads internal screens?
The exposure is much lower, since somebody has to be able to put the element on the screen. It is worth asking which screens an agent sees, and whether any of them render content from outside the organisation, because that is where the attack enters.