Harness matters: measuring and dissecting the safety resilience of Web AgentsHarness Matters: Measuring and Dissecting Security Resilience in Web Agents
Translation in progress — untranslated text is omitted.
The 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.
- 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.
- 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.
- 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.
- 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
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:别只关注通过率,聚焦边界控制和安全覆盖面
Harness Matters: Measuring and Dissecting Security Resilience in Web Agents(https://arxiv.org/abs/2611.11971)