Skip to content

Harness matters: measuring and dissecting the safety resilience of Web AgentsHarness Matters: Measuring and Dissecting Security Resilience in Web Agents

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2611.11971· Xinyi Wu, Jiagui Chen, JiaYi Dong, Geng Hong, Xudong Pan, Jiarun Dai, Mingxuan Liu, Min YangFudan University; Shanghai Innovation Institute; Zhongguancun Laboratory; Shanghai Pudong Research Institute of CryptologyIndexed by this site · 13 days ago· Originally publishedEvaluation

Translation in progress — untranslated text is omitted.

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose the WebTrap Farm evaluation framework, which systematically measures the safety of Web Agent execution harnesses, finding that existing harnesses remain fragile under typical attacks and that safety performance is jointly determined by the harness and the backend model. The framework abstracts the harness into a four-stage pipeline—goal interpretation, web perception, reasoning and planning, and action execution—covers three attack types: malicious user prompts, malicious prompt injection and deceptive web design, and uses paired usability calibration tasks to distinguish genuine defensive behavior from insufficient capability. Evaluation shows that some unsafe behaviors also occur without explicit attack content, constituting safety flaws of the harness itself; the study further locates the source of defensive behavior at each pipeline stage, identifies safer design mechanisms, and argues for shifting from model-centric defenses to safety design at the harness level.

Questions
The safety of web agents depends not only on the backend model but also on the design of the execution harness, yet existing evaluations often conflate harness safety with model robustness and task capability, lacking quantitative measurement across harnesses.
Methods
The authors abstract the web agent into four stages: goal interpretation, webpage perception, reasoning and planning, and action execution, and build WebTrapFarm: 505 attack tasks paired with usability calibration tasks, using webpage-side JavaScript monitoring to determine outcomes, and using GLMM to decompose harness and model effects and Conditional DSR to locate the stage at which defense occurs.
Experiments and results
The overall ASR of the six open-source harnesses is 32.55%, and that of the two commercial systems is 15.14% and 16.85%; naive attacks (with no explicit attack content) also succeed; GLMM shows that harness, backend model, and their interaction all significantly affect safety outcomes (p < 10^-45); stage analysis locates mechanisms such as fine-grained intent interpretation, risk-aware reasoning, perception filtering, and goal anchoring.
Limitations and future work
The authors note that the evaluation covers only three types of attacks, that experiments are conducted in a controlled web environment, and that execution has randomness; the ablation uses only 100 sampled tasks per type with a fixed GPT-4o backend; conclusions about some components are based on observational differences rather than controlled ablation (Appendix E).

Related events and news

0 events · 1 news mentions

News that mentions this paper

Read originalarxiv.org