Papers › Preference Redirection via Attention Concentration: An Attack on Computer Use Agents

Preference Redirection via Attention Concentration: An Attack on Computer Use Agents

9 Apr 2026arXiv:2604.08005added by Syntology

Dominik Seip, Matthias Hein

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Advancements in multimodal foundation models have enabled the development of Computer Use Agents (CUAs) capable of autonomously interacting with GUI environments. As CUAs are not restricted to certain tools, they allow to automate more complex agentic tasks but at the same time open up new security vulnerabilities. While prior work has concentrated on the language modality, the vulnerability of the vision modality has received less attention. In this paper, we introduce PRAC, a novel attack that, unlike prior work targeting the VLM output directly, manipulates the model's internal preferences by redirecting its attention toward a stealthy adversarial patch. We show that PRAC is able to manipulate the selection process of a CUA on an online shopping platform towards a chosen target product. While we require white-box access to the model for the creation of the attack, we show that our attack generalizes to fine-tuned versions of the same model, presenting a critical threat as multiple companies build specific CUAs based on open weights models.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2604.08005")

Code

Syntology Ran 0 of 18 code samples harvested from 1 repository linked to this paper; 18 have no recorded run.

By repository: found in paper text by Syntology: 18 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Dominik5431/PRAC found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 0 ran; 0 honoured the contract we drafted; 18 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

18unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Dominik5431/PRAC. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

apply_mask_to_padding_states Dominik5431/PRAC/prac/attack/modeling_qwen3_5.py found in paper text by Syntology unverified licence not identified · pointer only · 97496330a30f8c79 · report
build_conversation_prompt Dominik5431/PRAC/prac/models/internvl_differentiable_processor.py found in paper text by Syntology unverified licence not identified · pointer only · f9a0c5fae6908b08 · report
compute_attention_distributions Dominik5431/PRAC/prac/evaluate_attention.py found in paper text by Syntology unverified licence not identified · pointer only · 24570f95db64ff2a · report
compute_attention_score Dominik5431/PRAC/prac/evaluate_attention.py found in paper text by Syntology unverified licence not identified · pointer only · f09c9a6ad6b42c01 · report
gaussian_defense Dominik5431/PRAC/prac/evaluate_defenses.py found in paper text by Syntology unverified licence not identified · pointer only · 25e97d41b0bd28a8 · report
get_image_size Dominik5431/PRAC/prac/models/glm_differentiable_processor.py found in paper text by Syntology unverified licence not identified · pointer only · ed6f9f96e3bd7c19 · report
get_internvl_conv_template Dominik5431/PRAC/prac/models/internvl_differentiable_processor.py found in paper text by Syntology unverified licence not identified · pointer only · 8f56b3172e16fbda · report
get_prompt_embedding Dominik5431/PRAC/prac/evaluate_transfer_prompt.py found in paper text by Syntology unverified licence not identified · pointer only · ea4b01bb60b39a62 · report
image_to_base64 Dominik5431/PRAC/prac/evaluate.py found in paper text by Syntology unverified licence not identified · pointer only · 07351df0c4ca0a61 · report
is_gemini_model Dominik5431/PRAC/prac/models/inference_wrapper.py found in paper text by Syntology unverified licence not identified · pointer only · 4284e36daa3a10f1 · report
is_openai_model Dominik5431/PRAC/prac/models/inference_wrapper.py found in paper text by Syntology unverified licence not identified · pointer only · 24900138e367d941 · report
l2norm Dominik5431/PRAC/prac/attack/modeling_qwen3_5.py found in paper text by Syntology unverified licence not identified · pointer only · ad02a4d73e288c06 · report
make_batched_images Dominik5431/PRAC/prac/models/internvl_differentiable_processor.py found in paper text by Syntology unverified licence not identified · pointer only · f2313e5b3e28311a · report
rescale Dominik5431/PRAC/prac/models/glm_differentiable_processor.py found in paper text by Syntology unverified licence not identified · pointer only · a9cd97bd7891399b · report
resize Dominik5431/PRAC/prac/models/glm_differentiable_processor.py found in paper text by Syntology unverified licence not identified · pointer only · 1c335eea3b5ed973 · report
sample_prompts_at_distance Dominik5431/PRAC/prac/evaluate_transfer_prompt.py found in paper text by Syntology unverified licence not identified · pointer only · 908373b4f3e8c6d5 · report
strip_thinking Dominik5431/PRAC/prac/models/inference_wrapper.py found in paper text by Syntology unverified licence not identified · pointer only · 92a19e868b324387 · report
torch_causal_conv1d_update Dominik5431/PRAC/prac/attack/modeling_qwen3_5.py found in paper text by Syntology unverified licence not identified · pointer only · f7518069bfc15c10 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.08005, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections