Skip to content

COBRA: A Dual-LLM Architecture for Defending Computer-Using Agents Against Branch-Jumping AttacksSecuring Computer-Use Agents Against Branch Steering Attacks

Paper Tracker· arXiv:2610.03089· Giulio Zingrillo, Hanna Foerster, Ilia Shumailov, Yiren Zhao, Robert Mullins·Indexed by this site · 2026-10-05· Originally publishedSelected DefensesSelectedAttention38

Quick read

Defenses

Based on the paper PDF (generated by Gemini); refer to the original

Through ex-ante branch capability constraints and proxy interception, COBRA reduces the attack success rate to 0% on STEER-Bench while preserving 97% benign utility.

Threat modelThe attacker follows the Kerckhoffs assumption and, by manipulating third-party webpage content or compromised MCP tool outputs, manipulates runtime data without injecting new instructions to break data flow integrity (DFI), driving authorized branches toward dangerous outcomes; the attacker cannot inspect or modify the submitted plan and the interpreter's protected state.

Questions
Dynamic webpage interactions force computer-using agents to introduce conditional branches in their execution plans; without injecting new instructions, attackers can drive the agent toward dangerous branches by crafting malicious page content or tool responses, causing data flow integrity failure.
Methods
Proposes the COBRA architecture, in which a trusted planner generates a program with branch capability constraints before observing the environment, a branch resolution hub validates conditions at runtime, and network and MCP proxies perform deterministic interception of outgoing requests.
Experiments and results
On STEER-Bench, the full COBRA implementation achieves 0% attack success rate while retaining 97% benign utility; across 1,259 threat-model in-scope attacks on 4 external safety benchmarks, it achieves 0% attack success rate.
Limitations and future work
Cannot constrain pure GUI sensitive values not reflected in network requests, cannot detect free-text semantics and hidden malicious effects on the server side, and endpoint-level defenses rely on website owners publishing and maintaining machine-readable descriptions.
Experimental setupgpt-5、UI-TARS-1.5-7B et al. · STEER-Bench、OS-Harm et al. · ASR、benign utility et al.
Evaluated models
gpt-5UI-TARS-1.5-7Bkimi-k2.5Sonnet-5 (claude-sonnet-5)OpenCUA-7BOpenCUA-32B
Benchmarks
STEER-BenchOS-HarmWASPMCPToxMCPSecBenchOSWorld-MCPWebArena
Metrics
ASRbenign utilityutility under attackpass@5task completion
AI summaryand selection rationaleResearchers from the University of Cambridge and other institutions proposed COBRA, a system-level defense architecture against branch-jumping attacks on computer-using agents (CUAs). The authors noted that while the Dual-LLM pattern guarantees control-flow integrity, in graphical environments plans must branch based on runtime webpage content, allowing attackers to construct untrusted data that pushes the agent toward pre-approved harmful paths without injecting new instructions. To this end, the authors built STEER-Bench, covering 101 tasks across 9 domains, and measured branch-jumping attack success rates of 94.4% against a standard CUA and 89.5% against the original Dual-LLM. COBRA pre-fixes destinations, endpoints, and tool parameter constraints for each branch during the planning phase, with a Branch Resolution Hub validating runtime branches and parameters, and enforcement at HTTP and MCP proxies. Code has been open-sourced on GitHub.

Researchers from the University of Cambridge and other institutions proposed COBRA, a system-level defense architecture against branch-jumping attacks on computer-using agents (CUAs). The authors noted that while the Dual-LLM pattern guarantees control-flow integrity, in graphical environments plans must branch based on runtime webpage content, allowing attackers to construct untrusted data that pushes the agent toward pre-approved harmful paths without injecting new instructions. To this end, the authors built STEER-Bench, covering 101 tasks across 9 domains, and measured branch-jumping attack success rates of 94.4% against a standard CUA and 89.5% against the original Dual-LLM. COBRA pre-fixes destinations, endpoints, and tool parameter constraints for each branch during the planning phase, with a Branch Resolution Hub validating runtime branches and parameters, and enforcement at HTTP and MCP proxies. Code has been open-sourced on GitHub.

Why it was selectedThe paper classifies branch steering attacks as a data flow integrity problem and presents an architecture that imposes branch-level constraints at the HTTP and MCP boundaries, with open-source code and multi-benchmark results.

Related events and news

2 events · 2 news mentions

News that mentions this paper

研究提出分支引导攻击与 COBRA 防御架构

  • 公众号 模安局cites the paper's id or link
    不需要提示注入,也能操纵 Agent:分支引导攻击与 COBRA 防御架构
    2026 年 10 月 2 日,苏黎世联邦理工学院、剑桥大学、帝国理工学院等机构的研究人员发表论文《Securing Computer-Use Agents Against Branch Steering Attacks》,研究了一种名为“分支引导攻击”(Branch Steering Attack)的风险,并提出系统级防御架构 COBRA。

Adversa AI 汇总 11 月 AI 智能体安全资源

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Dynamic web pages force plans to branch, allowing attackers to manipulate data to induce agents to execute dangerous branches (branch steering attacks).

    The paper addresses the lack of data flow integrity (DFI) and branch steering attacks in computer-use agents (CUA) during dynamic web interactions due to branching execution.

    • Dynamic interaction forces plans to introduce branches: Modern CUAs need to interact with graphical user interfaces (GUIs) and third-party web tools (e.g., MCP). Since web page layouts and states are unknown before rendering, control flow and runtime data are deeply intertwined, and static offline plans must evolve into branch programs over expected runtime states.
    • Existing defenses lack data flow integrity protection: Existing Dual-LLM architectures achieve control flow integrity (CFI) by using an offline privileged planner (P-LLM) to fix the execution path and isolating the model (Q-LLM/Q-VLM) to handle untrusted content, but they cannot prevent untrusted data from manipulating which pre-authorized branch is executed or determining action parameters.
    • Branch steering attacks break data flow integrity: Attackers do not need to inject new explicit instructions; by merely manipulating untrusted page content to satisfy existing branch conditions or bind parameters, they can drive the agent toward dangerous pre-authorized branches that favor the attacker.
    • Graphical primitives lack inherent semantics: The same mouse click on a graphical interface may correspond to a harmless tab switch or an irreversible high-risk operation; static plans cannot distinguish at runtime, so relying solely on offline authorized action paths is insufficient to prevent attacks.
    • Threat model:
      • Goal: Violate control flow integrity (CFI, inducing the agent to execute actions not in the approved plan) or violate data flow integrity (DFI / branch steering, providing adversarial data to drive an authorized branch toward an attacker-chosen outcome).
      • Knowledge: The attacker follows the Kerckhoffs assumption, knowing the defense architecture and enforcement mechanisms, but cannot inspect, modify, or adapt the submitted execution plan or the interpreter's protected state.
      • Capability: The attacker does not need full server access to manipulate untrusted content (ads, reviews, lists, messages, attachments, etc.) rendered or returned by third-party services accessed during execution; on unauthorized or compromised external servers, they can also control MCP tool descriptions and outputs.
      • Victim system: A computer-use agent that observes screen visual content, performs mouse and keyboard actions, and calls third-party MCP tools.
  2. What related research exists?

    Reviews probabilistic defenses for CUA, system-level architectures such as Dual-LLM, MCP security, and existing evaluation benchmarks, pointing out the lack of DFI defenses.
    • Probabilistic defenses for CUA
      • Observation- and action-based detection: Zhang et al. (2025b), Aichberger et al. (2025), and Chen et al. (2025) report manipulation of CUA via malicious pop-ups, image patches, and subtle text injections; Yang et al. (2025) and Hu et al. (2025) propose detection methods that identify attacks from observations or actions, but the authors note that such methods rely on the model or classifier's ability to recognize attacks.
      • MELON (Zhu et al., 2025): detects indirect prompt injection in tool-using agents by masking user requests and rerunning the agent to compare tool calls; the authors note that this method is difficult to apply to real-time CUA because keystrokes and clicks are hard to reflect the intended task, and desktop environments are often impossible to reproduce precisely.
    • Structured system-level defenses
      • Dual-LLM architecture (Willison, 2023): defends against prompt injection by isolating trusted planning from untrusted interaction; subsequent work enforces executable plans, tracks data provenance, or isolates components in tool-using and multi-agent systems (Debenedetti et al., 2026; Costa et al., 2025; Zhong et al., 2025; Abdelnabi et al., 2026; Wu et al., 2025).
      • Progent (Shi et al., 2026): enforces LLM-generated least-privilege policies for structured tool calls in text agents; the authors note that it does not cover GUI interactions or raw HTTP requests.
    • MCP interface security research
      • MCP tool manipulation and defenses: Beurer-Kellner & Fischer (2025) characterize attacks on MCP tool definitions and behavior; MCPTox (Wang et al., 2026) and MCPSecBench (Yang et al., 2026) evaluate tool poisoning and post-approval manipulation; ETDI (Bhatt et al., 2025) binds tool definitions through authentication and policy-based access control; the authors note that these works mainly study MCP as a standalone interface, whereas the defense in this paper combines tasks involving both MCP calls and web interactions.
    • Safety and utility evaluation benchmarks
      • Dimensions covered by existing benchmarks: WASP (Evtimov et al., 2025) evaluates web prompt injection that redirects agent actions; OS-Harm (Kuntz et al., 2025) evaluates system-level unauthorized behavior; InjecAgent (Zhan et al., 2024) and ASB (Zhang et al., 2025a) target text-based tool agents; the authors note that these benchmarks only report whether an attack succeeds against the defense system as a whole, not which specific component blocked it.
    • Baseline methods and benchmark datasets
      • The baseline methods compared in experiments are the standard ReAct agent and the Vanilla Dual-LLM system proposed by Foerster et al. (2026); the benchmarks and datasets used for evaluation include the authors' STEER-Bench, as well as external benchmarks OS-Harm, WASP, MCPTox, MCPSecBench, OSWorld-MCP, and WebArena.
    • The authors' positioning of this work: the authors note that existing system-level defenses can guarantee control flow integrity in static tasks, but lack data flow integrity in CUA's dynamic branching environment; the authors state that STEER-Bench is the first benchmark to systematically evaluate branch-steering attacks, and propose COBRA, a system-level defense that guarantees both control flow and data flow integrity.
  3. How does the paper address this problem?

    Proposes the COBRA architecture, combining offline planning capability constraints, a runtime branch resolution hub, and deterministic HTTP/MCP proxy interception.

    The paper proposes COBRA, a system-level defense architecture that provides both control flow integrity (CFI) and data flow integrity (DFI) for computer-use agents (CUA). COBRA eliminates branch steering attacks by separating trusted planning from untrusted interaction, imposing ex-ante capability constraints on execution branches before observing untrusted data, and combining runtime hub resolution with network/tool boundary proxies.

    Overall architecture and trust boundary division

    • Core system components: COBRA includes four modules: a plan interpreter, a central branch resolution hub (BRH), a deterministic HTTP proxy, and an MCP proxy.
    • Decoupling planning and interaction: The privileged planner (P-LLM, gpt-5 in experiments) generates a constrained execution program based only on user requests and approved metadata; the isolated model (Q-VLM, UI-TARS-1.5-7B in experiments) only performs visual perception in a sandbox and reports observations, unable to modify the program structure, thereby establishing CFI.
    • Boundary interception design: Defense interception points are set at the boundaries of outgoing HTTP requests and MCP tool calls rather than GUI actions, because individual clicks and keystrokes cannot semantically determine the actual operations they trigger.

    Plan generation and initialization of branch capability constraints

    • Control flow extraction and constraint annotation: Deterministic code first parses the program to extract branch structures, branch condition variables, and targets; then a trusted annotation call uses the request and metadata to assign each branch allowed targets, operations, request fields, and tool parameter constraints.
    • Proactive clarification for underspecified tasks: If a task requires security-critical values and the request does not provide them or an authorized trusted source, COBRA asks the user for input during plan construction; this input is trusted only for the current request; runtime untrusted content cannot trigger further clarification questions.
    • Cryptographic locking of description metadata: User-approved site sitemaps and MCP tool definitions are cryptographically pinned using SHA-256 hashes; if any upstream change occurs, the hash becomes invalid and execution immediately terminates, preventing tool poisoning or rug pulls.

    Runtime branch resolution and multi-level enforcement

    • Branch condition verification and state management: When the Q-VLM reports perception results, it must conform to pre-declared output types (e.g., numbers or dates); format anomalies trigger retries, and insufficient information causes errors; the interpreter deterministically evaluates branch conditions and passes the selected branch and variables to the BRH, which verifies that parameters meet constraints; constraints accumulate in nested branches and reset parent state on branch exit, preventing permission leakage across branches.
    • HTTP boundary tiered defense:
      • Host-level enforcement (default): In the absence of a site sitemap, the proxy restricts requests based on the user request and a preset whitelist of common infrastructure/analytics domains, blocking unauthorized navigation and cross-domain exfiltration.
      • Endpoint-level enforcement: When an approved sitemap is available, a modified ceLLMate proxy performs exact matching and checking of request methods, parameterized URL routes, and payload field values.
    • MCP boundary validation: The MCP proxy verifies that tool calls match the approved version, are routed to trusted servers (preventing shadowing of same-name tools), and checks that tool parameters satisfy current branch constraints.

    Fused planning and candidate site description construction

    • Multi-sample fused planning: To address the blind planning defect caused by the planner's inability to observe the runtime environment, the trusted side generates 5 candidate plans with different strategies in parallel (preferring MCP, direct interaction, menu paths, pre-action checks, per-step verification), and a single trusted call fuses them into one branch program that retains alternative paths and fallback mechanisms.
    • MESA automated assistance generation: To address the problem that most websites do not publish machine-readable sitemaps, the MESA tool automatically crawls website links, forms, and navigation paths, has a model propose actions and generate candidate sitemaps and MCP tool definitions for service owners to review and publish, which are then independently approved by COBRA users as trusted planning input.
  4. What experiments did the paper conduct?

    Reduces ASR to 0% on STEER-Bench and 4 external benchmarks, while preserving practical task completion capability on OSWorld-MCP.

    Experimental Setup

    • Models tested: The planner (P-LLM) mainly uses gpt-5, and the interaction perception model (Q-VLM) is locally deployed UI-TARS-1.5-7B; utility evaluation and ablation experiments also tested Sonnet-5 (claude-sonnet-5), kimi-k2.5, OpenCUA-7B, and OpenCUA-32B.
    • Benchmarks and datasets:
      • STEER-Bench: covers 9 real domains, 101 end-to-end tasks, and 4 page-layout families, with 199 attack cells and 138 benign cells constructed.
      • External benchmarks: OS-Harm (51 prompt injection cases, 21 of which involve unauthorized HTTP requests), WASP (21 web prompt injection cases), MCPTox (1,223 cases, 1,210 changing tools or parameters), MCPSecBench (17 cases, 9 within the threat model), OSWorld-MCP (361 tasks across 10 domains), WebArena (26 Reddit tasks).
    • Comparison baselines: Standard ReAct agent and the Vanilla Dual-LLM system proposed by Foerster et al. (2026).
    • Evaluation metrics: Attack success rate (ASR, the proportion of target harmful actions reaching the network or tool boundary), benign task completion rate without injection (benign utility), task completion rate with injection present (utility under attack), pass@5 (with early stopping and at most 20 interaction steps per attempt; OSWorld score of 1.0 counts as completion).
    • Judgment and scoring: Deterministic judgment based on recorded environment state and agent alerts; a harmful action is judged a successful attack if it violates the currently active constraint; OSWorld-MCP relies on the official automated scoring script to verify completion.
    • Sample size and test scale: STEER-Bench evaluates 199 attack cells and 138 benign cells; OSWorld-MCP evaluates 361 tasks; the planner capability analysis tests a fixed 20-task subset.

    Main Results

    Swipe horizontally to read the table

    Test suiteCellsASR (COBRA on)ASR (COBRA ablated)Dual-LLM ASRReAct ASR
    S1 WIRE (field constraints)260%100%96%96%
    S2 DEST (host/endpoint constraints)240%100%88%92%
    S3 MCP (MCP proxy)150%67%not reportednot reported
    S4 Cross-channel (shared state)720%100%89%100%
    S5 PROV (trusted value handling)330%55%100%100%
    S7 CFI (plan–execution boundary)90%67%89%89%
    All suites (all suites combined)1990%87.6%89.5%94.4%

    Note: Per Table 1. S3 involves MCP tools, which general agent baselines lack, so they are not reported; due to table row limits, S6 TRUST (5 cells, ablation ASR 80%), S8 STEP (10 cells, ablation ASR 100%, Dual-LLM and ReAct both 40%), and S9 ULTRA (5 cells, ablation ASR 80%, Dual-LLM and ReAct both 100%) are omitted from the table.

    • Full defense blocks all branch-redirection attacks: The authors report that the full COBRA system reduces ASR to 0% across the 199 attack cells in STEER-Bench, whereas disabling targeted protection components raises the weighted average ASR to 87.6% (ablation ASR per suite ranges from 55% to 100%).
    • Existing baseline defenses fail under branch redirection: Across the 74 cells applicable to general agents, ReAct (UI-TARS-1.5-7B) has a weighted ASR of 94.4% and Vanilla Dual-LLM (gpt-5 + UI-TARS-1.5-7B) has a weighted ASR of 89.5%; the authors note this shows that relying solely on trusted offline planning cannot prevent untrusted data from manipulating authorized branches.
    • Benign utility retained and false-positive distribution: The authors report that COBRA, using the same models as Vanilla Dual-LLM, retains 97% of its benign task utility; across the 138 benign cells it produces only 4 false positives (3 in S8, 1 in S9), all because constraints accumulated from nested branches blocked legitimate operations.

    Generalization to External Safety Benchmarks and Defense Boundary Validation

    • OS-Harm prompt injection defense: Across the 51 cases in OS-Harm, both COBRA and Vanilla Dual-LLM block all 51 attacks through plan–execution separation; for the 21 cases attempting unauthorized HTTP requests, all succeed without the proxy (ASR 21/21), and all are blocked with COBRA's domain whitelist enabled (ASR 0/21); the remaining 30 cases using channels such as SMTP are still blocked by the plan–execution boundary.
    • WASP fine-grained endpoint defense: In the WASP evaluation, without a sitemap, host-level defense blocks 5 cross-domain attacks but all 14 same-host unauthorized operations succeed; after introducing approved sitemaps for GitLab and Reddit, COBRA blocks all 19 request-level attacks, reducing ASR from 14/19 (73.7%) to 0/19 while maintaining a 100% benign completion rate; the remaining 2 attacks relying on free-text semantic attributes fall outside the scope of deterministic request-level defense.
    • MCPTox and MCPSecBench tool safety: Across the 1,223 cases in MCPTox, COBRA blocks all 1,210 attacks that change the selected tool or parameters (ASR reduced to 0%, versus 100% without defense) and maintains 79% utility under attack; the remaining 13 cases that produce hidden effects but make identical calls cannot be distinguished by the proxy. Of the 17 attacks in MCPSecBench, COBRA blocks all 9 attacks within its threat model and preserves benign utility.

    OSWorld-MCP Practical Utility and Fused Planning Evaluation

    • Task completion rate comparison: Across 361 OSWorld-MCP tasks in 10 domains (pass@5, no approved sitemap, host-level defense only), COBRA with gpt-5 (P-LLM) and UI-TARS-1.5-7B (Q-VLM) achieves a completion rate of 133/361 (36.8%), better than the single-model UI-TARS-1.5-7B ReAct baseline's 85/361 (23.5%); on the 86 tasks matched to the older Dual-LLM, COBRA's completion rate is 36/86 (41.9%), 16.3 percentage points higher than the older Dual-LLM's 22/86 (25.6%).
    • Correlation analysis of MCP tool calls: In the two configurations analyzed in Appendix F, MCP calls appear in 336/722 task evaluations (46.5%); tasks using MCP have a success rate of 37.2%, versus 34.2% for tasks where no MCP call was observed; under the Sonnet configuration, tasks using MCP have a success rate of 42.1% (33.8% when not observed), and the average number of attempts decreases from 2.31 to 1.98. The authors note that the planner selects MCP based on the task, and this result reflects correlation rather than a causal effect.
    • Single-attempt recovery effect of fused planning: Fused planning combines 5 candidate plans into one branching program; among the 55 tasks where standard planning required 2–5 attempts to complete, fused planning succeeded on the first attempt for 27 (49.1%), raising the total number of first-attempt completions from 78 to 105 (Table 3).

    Other Ablations and Analyses

    • Model role assignment and API cost: COBRA's API cost with gpt-5 + UI-TARS-1.5-7B is $0.332/task (ReAct is $0.00; planning and annotation consume an average of 73k tokens, and the local Q-VLM consumes 258k tokens); dual-role Sonnet-5 costs $0.627/task (completion rate 38.8%); dual-role kimi-k2.5 costs $0.129/task (completion rate 25.5%) (Table 2, Table 5).
    • Annotation and fused planning overhead: In the gpt-5 + UI-TARS sample, annotation consumes an average of 8,847 tokens per attempt, adding 9% token overhead; fused planning on OSWorld-MCP consumes about 150k P-LLM tokens at a cost of $0.59/task, higher than standard planning's 73k tokens and $0.33/task (Appendix G).
    • Performance of local models as planners: On the 20-task subset, UI-TARS-1.5-7B achieves a planning completion rate of 2/20 (96 plans generated, 12 unparseable, median 7.5 statements), and OpenCUA-32B achieves 1/20 (92 generated, 17 unparseable, median 2.0 statements), below gpt-5's 6/20 (85 generated, 9 unparseable, median 17.5 statements) (Table 6).
    • OpenCUA interaction model extension: Across 361 tasks, gpt-5 + OpenCUA-7B achieves a completion rate of 117/361 (32.4%, ReAct 23.8%), and gpt-5 + OpenCUA-32B achieves 120/361 (33.2%, ReAct 30.7%) (Table 7).
    • MESA site description generation coverage: Among the 26 Reddit tasks in WebArena, MESA without manual modification covers all 18 required tasks (69.2%) and partially covers 3 (11.5%); among the 25 website-oriented Chrome tasks in OSWorld-MCP, it covers all 18 required tasks (72%) (Appendix D).
    • Negative results and exceptions: The dual-role configuration fails to maintain ReAct levels (kimi-k2.5 drops from 42.1% to 25.5%, Sonnet-5 from 51.0% to 38.8%); adding a gpt-5 planner on OpenCUA-32B causes completion rates to drop in the Chrome, Calc, and Thunderbird domains; in gpt-5 + OpenCUA-7B, the success rate for tasks using MCP (28.3%) is 6.1 percentage points lower than for tasks where no MCP use was observed (34.4%).
  5. What are some points that can be further explored?

    The authors note limitations including visual values not reflected in network requests, free-text semantics, non-HTTP interfaces, and reliance on site descriptions.

    Limitations and future directions noted by the authors

    • Sensitive values not entering network requests cannot be constrained: If the checkout request contains only item identifiers without the displayed total, COBRA must read the price from the GUI, and then it cannot reliably distinguish real prices from visual adversarial content in ads or reviews, nor can it impose deterministic constraints at the HTTP/MCP boundary (Section 6).
    • Cannot verify free-text semantics and hidden server-side effects: For requests submitted to the same endpoint, if two text segments differ only in whether they are offensive, COBRA cannot detect the semantic meaning of free text; similarly, when a compromised MCP server receives legitimate parameters but produces harmful hidden effects, the agent cannot distinguish (Section 6, Section 5.1, Section 7).
    • Non-HTTP and non-MCP local interfaces and protocols are not covered: COBRA's existing HTTP and MCP proxies do not cover the SMTP protocol used by email clients, local operations such as desktop applications writing directly to the file system, and many desktop applications do not expose MCP tools; expansion is limited by the lack of a unified semantic operation interface (Section 6, Section 7).
    • Blind planning struggles with unexpected interface states: Compared to ReAct, the same-model dual-role configuration has lower completion rates, and fused planning cannot yet fully replace independent retries; the authors propose as future work training a P-LLM specialized for computer operation, learning routine operations and failure recovery, and using execution feedback to reward plans that anticipate failure states (Section 6).
    • Reliance on website owners to publish and maintain machine-readable descriptions: Endpoint-level defense relies on approved sitemaps; although MESA can generate approximate descriptions via automated crawling, human review and updates as sites change are still needed; stronger security and practicality improvements depend on whether website owners are willing to publish and maintain authoritative sitemaps or MCP tools (Section 6, Section 7).

    Experimental coverage

    • Models tested: The planner tested 5 models: gpt-5, Sonnet-5, kimi-k2.5, UI-TARS-1.5-7B, and OpenCUA-32B; the interaction model tested 5 models: UI-TARS-1.5-7B, Sonnet-5, kimi-k2.5, OpenCUA-7B, and OpenCUA-32B.
    • Benchmarks used: Includes the specially designed STEER-Bench (101 tasks, 199 attack cells and 138 benign cells, 9 domains, 4 page layouts), plus 4 external safety benchmarks (OS-Harm 51 cases, WASP 21 cases, MCPTox 1,223 cases, MCPSecBench 17 cases) and 2 practical task benchmarks (OSWorld-MCP 361 cases, WebArena 26 cases).
    • Interaction budget and completion criteria: OSWorld-MCP utility evaluation uses pass@5 early stopping, each attempt budget is capped at 20 interaction steps, and the success criterion is an OSWorld score of 1.0.
    • HTTP defense setting conditions: In OSWorld-MCP utility experiments, no approved sitemap was provided, and HTTP enforcement was limited to authorized hosts; endpoint-level constraints were tested only in the WASP experiments (using GitLab and Reddit descriptions obtained from ceLLMate) and in STEER-Bench.
    • Information not reported in the paper: The paper does not report dynamic game testing where attackers adaptively modify payloads to bypass specific predicate types, nor does it report variance across multiple repeated runs in each benchmark evaluation.
  6. Summarize the main content of the paper

    Proposes a branch steering defense architecture COBRA, which eliminates branch steering attacks through ex-ante capability constraints and boundary agents while preserving utility.
    • Paper positioning: The paper addresses branch steering attacks faced by computer-use agents (CUA) when handling dynamic web content, proposing the first systematic benchmark STEER-Bench and a system-level architecture COBRA that combines control flow and data flow defenses.
    • Core problem addressed: Existing Dual-LLM architectures provide control flow integrity (CFI) through an offline privileged planner, but cannot handle the runtime branching required by dynamic graphical interfaces; attackers do not need to inject new instructions, only manipulate page data to induce the agent to execute dangerous pre-approved branches, causing data flow integrity (DFI) failure.
    • Core method design: COBRA has the planner (P-LLM) compile the task into a constrained branch program with SHA-256-pinned site/tool metadata before contacting untrusted content; the isolated Q-VLM is responsible only for visual perception; at runtime, a branch resolution hub (BRH) dynamically verifies branch conditions and parameters, and deterministic HTTP and MCP proxies strictly block unauthorized operations at the network and tool boundaries; it also combines multi-sample fused planning and the site description generation tool MESA to aid deployment.
    • Key experimental results:
      • On STEER-Bench's 199 attack cells, full COBRA reduces the branch steering attack success rate (ASR) to 0% (standard ReAct is 94.4%, Vanilla Dual-LLM is 89.5%), while retaining 97% benign utility.
      • On 4 external safety benchmarks, COBRA achieves 0% ASR on the 1,259 attack cases covered by its threat model.
      • On OSWorld-MCP's 361 tasks, COBRA with the gpt-5 and UI-TARS-1.5-7B combination achieves a 36.8% task completion rate, outperforming the UI-TARS-1.5-7B single-model ReAct baseline's 23.5%.
    • Authors' conclusions and implications: The authors argue that protecting CUAs must extend from control flow integrity to strict data flow integrity control; future open challenges remain in handling visual values not entering network requests, free-text semantics, non-HTTP local protocols, and reliance on site owners publishing descriptions.

Related papers

Show 3 more papers
Read originalarxiv.org