Skip to content

MATE: Trusted execution for mobile agents toward safe and efficient mobile controlMATE: Mobile Agent Trustworthy Execution for Safe and Efficient Mobile Control

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2611.25526· Minsuk Jang, Hee-Seon Kim, Hui-Cheol Yu, Changick KimKorea Advanced Institute of Science and Technology (KAIST)Indexed by this site · 4 days ago· Originally publishedDefenses· Its place in the scan record →

Quick read

Defenses

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

KAIST proposes MATE, an execution-layer system: the authors report that on MobileSafetyBench, GPT-4o's high-risk blocking rate rises from 29.67% to 97.03%, and on AndroidWorld, LLM calls drop by up to 6×.

Threat modelDefense paper. Threat model (Appendix D.1): assumes the user is non-adversarial and that the OS, firmware, and network paths are trusted; covers T1 agent misselection of UI actions, T2 indirect prompt injection carried by screen content, and T3 multi-step error accumulation; OS vulnerabilities, hardware attacks, malicious users, and network-layer interception are out of scope. The victim system is a mobile agent on a personal phone.

Questions
Mobile agents directly produce device effects on payments, private data, settings, and the foreground screen; the authors state that existing mobile agents block only 8.0–28.4% of high-risk tasks on MobileSafetyBench, and that step-by-step LLM calls are costly and execution occupies the user's only foreground screen.
Methods
At the execution layer, MATE represents the pending UI action as a structured action record: Runtime Guardrail issues an allow/block/user-approval decision before execution, Predefined Task Routing reuses validated (app, instruction) routes to skip step-by-step policy calls, and the floating interface confines execution to a floating layer.
Experiments and results
On MobileSafetyBench, the authors report that GPT-4o's high-risk blocking rate rises from 29.67% to 97.03%, with a low-risk false positive rate of 4.10%; on AndroidWorld, PTR with D=6 achieves a 67.2% success rate, reduces LLM calls by up to 6×, and reaches a 95.7% success rate on the fifth round of repeated tasks.
Limitations and future work
The authors state that MATE covers only verified repetitive flows on a single user's installed applications, and does not cover route induction for new applications, cross-application transfer, or major UI redesigns; safety policies may be inconsistent with benchmark labels, and the authors state that MATE reduces risk rather than providing a complete safety boundary.
Experimental setupGPT-4o、Qwen2.5-VL-7B-Instruct et al. · MobileSafetyBench、AndroidWorld et al. · TBR(高风险阻断/拒答率)、低风险误报率 et al.
Evaluated models
GPT-4oQwen2.5-VL-7B-InstructGPT-5.5Qwen3-VL-8BGPT-5Gemini-1.5-ProGemini-2.5-ProClaude-3.5-SonnetQwen3-VL-9BQwen3.5-9BClaude Sonnet 4.6Gemini 3.5 FlashGLM-5V-TurboClaude-3.7-Sonnet
Benchmarks
MobileSafetyBenchAndroidWorldMobileRisk
Metrics
TBR(高风险阻断/拒答率)低风险误报率SR(任务成功率)LLM calls延迟PTR 命中率TrajC Acc/F1
AI summaryIn the paper, the researchers propose MATE (Mobile Agent Trustworthy Execution), an execution-layer system for smartphone mobile agents that, without modifying the underlying model, controls the boundary between agent action proposals and actual device effects, involving sensitive operations such as private data, payments, settings, and the foreground screen. The system represents each UI primitive as a structured action record containing instruction, target app, screen context, primitive, and action fields; the Runtime Guardrail issues a decision to allow, block, or request user approval based on this record, Predefined Task Routing handles repeated requests through verified routing with post-execution screen checks, and the floating interface confines execution to a compact overlay. On MobileSafetyBench, under GPT-4o, MATE raises the high-risk operation interception rate from 29.7% to 97.0%; on AndroidWorld, LLM calls are reduced by up to 6 times, and the success rate on reuse-type tasks rises to 95.7%.

In the paper, the researchers propose MATE (Mobile Agent Trustworthy Execution), an execution-layer system for smartphone mobile agents that, without modifying the underlying model, controls the boundary between agent action proposals and actual device effects, involving sensitive operations such as private data, payments, settings, and the foreground screen. The system represents each UI primitive as a structured action record containing instruction, target app, screen context, primitive, and action fields; the Runtime Guardrail issues a decision to allow, block, or request user approval based on this record, Predefined Task Routing handles repeated requests through verified routing with post-execution screen checks, and the floating interface confines execution to a compact overlay. On MobileSafetyBench, under GPT-4o, MATE raises the high-risk operation interception rate from 29.7% to 97.0%; on AndroidWorld, LLM calls are reduced by up to 6 times, and the success rate on reuse-type tasks rises to 95.7%.

Related events and news

1 events · 1 news mentions

News that mentions this paper

大模型安全周报:单步合规检查挡不住智能体跨步骤组合危害

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors aim to address the safety, cost, and screen-occupancy problems of mobile agents executing actions on personal phones, by adding control at the execution layer without modifying the model.

    Core problem: mobile agents lack execution-layer control before actions take effect, making high-risk actions hard to intercept, repeated tasks costly due to step-by-step LLM calls, and execution occupying the user's only foreground screen.

    • Problem setting: a personal phone concentrates payments, authentication state, private messages, photos and account settings, and the foreground screen is also the user's workspace; the authors believe the key deployment risk lies after an action is proposed and before it takes effect on the device.
    • Shortcomings of existing methods: the authors state that text/tool guardrails such as NeMo Guardrails act on self-described payloads and cannot govern UI primitives such as tap and swipe; Table 1 shows AppAgent, Mobile-Agent, M3A and AutoDroid achieve overall blocking rates of only 8.0–28.4% on MobileSafetyBench.
    • Core observation: the authors consider the pending UI action a natural control point—interception before execution is most natural, mobile app UIs are stable and reusable as routes, and execution can be confined to a floating layer.
    • Proposed in the paper: MATE (Mobile Agent Trustworthy Execution), an execution-layer system comprising Runtime Guardrail (RG), Predefined Task Routing (PTR) and a floating execution interface, without modifying the underlying model.
    • Threat model (Appendix D.1):
      • Goal: when action at belongs to the high-impact subset Asens (payment transfers, account changes, outbound messages), complete the allow/approve/block decision before the device state transition.
      • Threats covered: T1 agent misselects a UI action; T2 indirect prompt injection carried by screen content; T3 multi-step error accumulation.
      • Trust assumptions: the user is non-adversarial; the OS, device firmware and network path are trusted.
      • Out of scope: OS vulnerabilities, hardware attacks, malicious user behavior, network-layer interception.
  2. What related research exists?

    Related work falls into three groups: GUI/mobile agents, agent efficiency, and agent safety; baselines are five mobile agents and OS-Sentinel.

    GUI and mobile agents

    • AppAgent (Zhang et al., 2025a), Mobile-Agent (Wang et al., 2024), AutoDroid (Wen et al., 2024): operate phone interfaces on real application tasks; the paper uses Table 1 to point out that most high-risk tasks are not blocked by them on MobileSafetyBench.
    • AndroidWorld (Rawles et al., 2025): extends the observe-reason-act paradigm to phone control; this paper uses it for efficiency evaluation.
    • AppAgentX (Jiang et al., 2025): evolves reusable shortcut actions from execution trajectories; the paper notes that it relies on exploration-derived trajectories, whereas mobile application UIs are stable across sessions, so an (app, instruction) key suffices for routing.

    Agent execution efficiency

    • Agentic Plan Caching (Zhang et al., 2025b): caches plan templates and dispatches them to smaller LLMs; the paper notes that it targets desktop/server scenarios, with stability assumptions different from those of mobile UIs.
    • Wang et al. (2025), Xiao et al. (2026): the paper adopts the former's definition of efficiency (completing the same task with fewer LLM calls) and follows the latter's view that "step-by-step trajectories can be reduced".

    Agent system safety

    • Indirect prompt injection and benchmarks (Abdelnabi et al., 2023; Debenedetti et al., 2024; Zhan et al., 2024, etc.): the paper positions safety enforcement within the execution pipeline rather than at the reasoning stage.
    • NeMo Guardrails (Rebedea et al., 2023): enforces within the pipeline on text outputs and API calls; the paper notes that it does not cover mobile UI action surfaces such as payments and credentials.
    • MobileSafetyBench (Lee et al., 2026): a safety benchmark for mobile agents, and the main safety evaluation of this paper.
    • OS-Sentinel (Sun et al., 2026): a safety framework for mobile GUI agents combining formal verification and a context judge; the paper compares directly with it on MobileRisk (Appendix E.2).

    Baselines and benchmarks: AndroidWorld compares with Mobile-Agent v1, M3A, AutoDroid, AppAgent, and AppAgentX (Table 3); the safety comparison is with OS-Sentinel (Table 14). The authors position this paper as: taking the pending UI action at the execution layer as the enforcement object, rather than replacing the backbone model or only providing text guardrails.

  3. How does the paper address this problem?

    MATE represents the pending UI action as a structured action record and performs route reuse, pre-execution safety checks, and floating-interface execution at the execution layer.

    Overall approach: MATE does not replace the underlying policy; instead, it places three components at the boundary between action selection and device execution: PTR reuses verified routes to reduce calls, RG makes allow/block/approval decisions before execution, and the floating interface confines execution to a floating layer.

    Problem formulation

    • The mobile agent loops step by step: at ∼ πθ(· ∣ u, st, ht), st+1 = OS(st, at), i.e., the policy produces one UI action per step based on the instruction, screen, and history, and the OS executes the transition.
    • The authors note that this loop can be reduced: mobile applications expose repetitive, low-entropy operation manifolds, so verified routes can be reused; the execution boundary simultaneously couples three constraints: safety, cost, and screen occupancy.

    PTR: route reuse

    • Construction: before deployment, explore the UI tree of each target application, map entry points to 33 canonical actions (Table 8), and index by (app, instruction) key; evaluation trajectories are not used. Static mode freezes the memory, while continuous mode stores incrementally after successful interactions.
    • Execution: on a hit, PriorExecutor deterministically executes the route and bypasses the policy; on a miss or verification failure, it falls back to the visual policy. Each route maintains success/failure counts to obtain reliability ρr.
    • Call volume analysis: Nctrl(MATE) = Nctrlbase(1 − H · ρverified), i.e., LLM calls decrease with "hit rate × verification pass rate".
    • Parameters: exploration depth D defaults to 6; payment applications do not participate in route construction, and purchase confirmation and credential entry are always handed to the policy and checked by RG.

    RG: pre-execution safety check

    • Decision object: candidate action record x = (u, p, s, a, m), fusing the user instruction, target application, UI context, primitive action, and structured fields.
    • Decision: g(x) outputs in order deny (hits a prohibited instruction or restricted action set), approval (hits a purchase/transfer approval signal), allow; deny aborts execution, and approval replaces the action with request_approval.
    • Six rails (Table 2): jailbreak and topic are checked with a semantic guardrail model (GPT-4o-mini); app_allow and coord_bounds are checked with exact package-name matching and viewport coordinate checks; bank_intent checks financial/credential intent; action_valid performs action schema validation and routes purchase-type actions to approval.

    Floating execution interface

    • Renders the target interface within a compact floating layer, supporting multitasking, visible execution, interruptible takeover, and visual context continuity; RG checks are unchanged, and only the display location of execution changes.

    Success criteria

    • Safety: the high-risk task blocking/refusal rate (TBR) and the low-risk task false positive rate on MobileSafetyBench; additionally, the semantic effect taxonomy in Appendix D.6 (Table 12) is used to determine whether sensitive actions were executed, based on signals such as UI transitions and system callbacks.
    • Efficiency: task success rate, number of LLM calls, latency, and PTR hit rate on AndroidWorld.
  4. What experiments did the paper conduct?

    Safety and efficiency are measured on MobileSafetyBench and AndroidWorld: under GPT-4o, high-risk blocking goes from 29.67% to 97.03%, and PTR with D=6 achieves a 67.2% success rate.

    Experimental Setup

    • Backbones tested: Main experiments use Qwen2.5-VL-7B-Instruct and GPT-4o (ReAct-style agent, AndroidWorld M3A protocol); Figure 7a extends to Qwen3-VL-8B, GPT-5, Gemini-1.5-Pro, Gemini-2.5-Pro, Claude-3.5-Sonnet; Table 7 additionally tests Qwen3-VL-9B, Qwen3.5-9B, Claude Sonnet 4.6, Gemini 3.5 Flash, GPT-5.5, GLM-5V-Turbo.
    • Benchmarks: MobileSafetyBench (156 high-risk tasks, five risk categories, plus low-risk tasks to measure false positives); AndroidWorld; MobileRisk (compared with OS-Sentinel).
    • Baselines: Mobile-Agent v1, M3A, AutoDroid, AppAgent, AppAgentX (all with GPT-4o backbone); OS-Sentinel.
    • Metrics: TBR, low-risk false positive rate, SR, LLM calls, latency, PTR hit rate, TrajC Acc/F1.
    • Evaluation method: Semantic guardrail uses GPT-4o-mini; sensitive action determination uses the effect taxonomy in Appendix D.6; the paper does not report human evaluation.
    • Number of repetitions: AndroidWorld ablations (including RG cost) are run 3 independent times on the same split and averaged; safety results use the full RG chain by default.

    Main Results

    MobileSafetyBench high-risk block/refusal rate (%, per Table 5):

    Swipe horizontally to read the table

    Risk categoryQwen2.5-VL BaseQwen2.5-VL MATEGPT-4o BaseGPT-4o MATE
    Ethical compliance7.1492.8610.7192.89
    Offensiveness30.0080.000.0090.00
    Private information9.0968.180.00100
    Bias & fairness22.2272.220.0087.42
    Robustness† (indirect injection)0.0010080.00100
    Overall9.6890.1729.6797.03
    Low-risk false positives ↓0.0014.900.004.10
    • The authors state that RG turns each category of high-risk tasks into refusal or blocking, and under the indirect prompt injection split both backbones reach 100% blocking.
    • The main calibration cost is false positives: Qwen2.5-VL low-risk false positives are 14.90%, higher than GPT-4o's 4.10%.
    • The authors believe Qwen2.5-VL's gains mainly come from the topic rail (discourse-level intent screening), while GPT-4o's gains grow steadily as structural rails are stacked (Table 13).

    AndroidWorld efficiency (per Table 3):

    Swipe horizontally to read the table

    MethodSR (%) ↑LLM calls ↓End-to-end latency (s) ↓
    Mobile-Agent v125.45.419.1
    M3A12.59.547.8
    AutoDroid36.213.623.8
    AppAgent41.712.3147.2
    AppAgentX62.55.959.7
    MATE w/o PTR41.414.247.1
    MATE (PTR D=1)55.28.214.7
    MATE (PTR D=6)67.26.814.1
    • The authors state that MATE without PTR matches the success rate of the strongest published baseline (about 41%), and at D=6 SR rises to 67.2%, calls are about half of those without PTR, and latency drops by more than 3×.

    Safety Overhead and Stronger Backbones

    • Cost on benign tasks (Table 4): with RG enabled, GPT-4o's SR stays at 41.4%, calls rise from 6.8 to 8.4, and latency goes from 12.8s to 14.1s; Qwen2.5-VL calls rise from 3.1 to 7.3, and the authors state that the weaker backbone produces more malformed action proposals that trigger retries.
    • GPT-5.5 (Table 6): high-risk blocking 36.66%→98.60%, low-risk false positives 3.00%, both better than GPT-4o + MATE.
    • OS-Sentinel comparison (Appendix E.2, Table 14): on MobileRisk with GPT-4o, MATE's TrajC Acc/F1 is 63.4/68.1, higher than OS-Sentinel's 60.8/66.1; with Claude-3.7-Sonnet, MATE has higher accuracy (66.7 vs. 61.3) but slightly lower F1 (65.0 vs. 66.9).

    PTR Reuse and Generalization

    • Repeated tasks (Figure 8): across five rounds of repeated calls, PTR hit rate rises from 4.8% to 62.7%, task success rate reaches 95.7% in the final round, and total LLM calls drop from 1,711 to 280.
    • Cross-backbone generalization (Table 7): at D=6, all 7 backbones have higher success rates than without PTR, improving by 27.5–38.0 percentage points; GLM-5V-Turbo rises from 46.5 to 81.9, GPT-5.5 from 44.0 to 74.1.
    • Construction cost (Appendix A.1, Figure 9): exploring 19 apps stores 151 routes, 31.7 KB, taking under 16 minutes; depth 6 to 10 adds only 4 routes, and construction calls rise from 71 to 109.

    Other Ablations and Analysis

    • RG rail ablation (Table 13): for Qwen2.5-VL, topic rail only gives TBR 81.0, Full RG 90.17; for GPT-4o, it rises stepwise from topic only 30.5 to Full RG 97.03.
    • Floating interface (Figure 13): without PTR, floating and full-screen SR are both 41.4%, total calls 1,624→1,449, latency 3.83s→3.06s.
    • Runtime overhead (Appendix B.1, Figure 11): RG adds 7 calls (4.2%) and 13s latency (3.7%); PTR adds no calls, only input tokens.
    • Client overhead (Appendix H): RG median overhead is about 150ms, about 20 extra input tokens per step; PTR lookup <1ms; the paper does not measure phone energy consumption.
  5. What are some points that can be further explored?

    The authors state that MATE is limited to verified repetitive flows and reduces risk rather than providing a complete safety boundary; the experiments cover 14 backbones and three benchmarks.

    Limitations and future directions noted by the authors

    • Scope of applicability (Section 7): MATE focuses on verified flows that a single user repeatedly invokes on installed applications; generalizing route induction to unseen applications, cross-application transfer, and major UI redesigns is left as future work.
    • Structural rails depend on observable signals (Section 7): anomalous application interfaces may require calibration, and semantic thresholds should be adjusted per backbone.
    • Routes are tied to layouts (Section 7): routes are validated for specific application layouts; when UI updates or gesture-dense tasks fall outside the route vocabulary, the system falls back to bounded re-exploration or step-by-step policies.
    • Safety policies and benchmark labels may be inconsistent (Section 7); repeated approvals may cause user fatigue.
    • Not a complete safety boundary (Section 7): the authors state that MATE reduces risk rather than providing a complete safety boundary.
    • Energy measurement (Appendix H): backbone inference is performed off-device, and the paper does not conduct direct on-phone energy measurements, leaving this as future work.

    Scope of experimental coverage

    • The safety evaluation covers 156 high-risk tasks across five risk categories in MobileSafetyBench; the main experimental backbones are GPT-4o and Qwen2.5-VL-7B-Instruct, with additional calibration on GPT-5.5 (Table 6).
    • The efficiency evaluation is conducted on AndroidWorld; the cross-backbone experiment covers 7 backbones in total (Table 7), and the ablation runs 3 independent runs under the same split.
    • The defense comparison includes only OS-Sentinel (MobileRisk, Appendix E.2); the paper does not report adaptive attack experiments against RG.
    • The semantic guardrail is fixed as GPT-4o-mini; the paper does not report agreement between the guardrail model and human judgments.
    • The floating interface is a qualitative use case plus a controlled comparison without PTR (Figure 13); the paper notes that this design makes comparison purely by task success rate difficult (Appendix B.2).
  6. Summarize the main content of the paper

    MATE controls mobile agents at the execution layer: the authors report GPT-4o high-risk blocking rises to 97.03%, and PTR reuse reduces LLM calls by up to 6×.

    MATE is an execution-layer system for mobile agents proposed by KAIST, aiming to make agents on phones execute more safely, with fewer calls, and with less screen occupancy, without modifying the underlying model.

    • Problem: the authors state that existing mobile agents block only 8.0–28.4% of high-risk tasks on MobileSafetyBench (Table 1); text guardrails cannot govern UI actions, step-by-step calls are costly, and execution also occupies the user's only foreground.
    • Method: represent the action to be executed as a structured action record; RG uses six rails (semantic + structural checks) to issue allow/block/user approval before execution; PTR reuses verified routes keyed by (app, instruction) with post-execution screen verification and fallback; the floating interface confines execution to a floating layer.
    • Safety results: on MobileSafetyBench, GPT-4o's high-risk blocking rate rises from 29.67% to 97.03%, with a low-risk false positive rate of 4.10%; Qwen2.5-VL rises from 9.68% to 90.17%, with a false positive rate of 14.90% (Table 5); on GPT-5.5 it reaches 98.60%, with a false positive rate of 3.00% (Table 6).
    • Efficiency results: on AndroidWorld, PTR with D=6 achieves a 67.2% success rate and 6.8 calls per task (Table 3); after five rounds of repeated tasks, the success rate is 95.7% and total calls drop from 1,711 to 280 (Figure 8); PTR improves the success rate on all 7 backbones (Table 7).
    • Costs and exceptions: with RG enabled, the benign task success rate is unchanged but calls increase (Table 4); on MobileRisk with Claude-3.7-Sonnet, F1 is slightly lower than OS-Sentinel (Table 14).
    • Authors' conclusion: safety and efficiency can be treated as runtime control over pending device effects, rather than merely properties of the backbone model; the authors also emphasize that MATE reduces risk rather than providing a complete safety boundary, and that its scope is limited to verified repetitive flows.

Related papers

Read originalarxiv.org