Skip to content

Tap "Allow" to Complete the Task, and Over-Authorize Unintentionally: The Unexpected Cost of Task-Completion-Driven Popup Decisions in Mobile GUI Agents"Allow" to Achieve, Over-Privileged Inadvertently: The Unintended Cost of Task-Completion-Driven Pop-up Decisions in Mobile GUI Agents

arXiv· arXiv:2608.04755· Dongsheng Chen, Yuxuan Li, Guanhua Chen, Jiaxin Zhang, Xiangyu Zhao, Lei Ma, Xin Yao, Xuetao WeiSouthern University of Science and Technology; City University of Hong Kong; The University of Tokyo; Lingnan UniversityIndexed by this site · 23 days ago· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

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

The authors build a four-level permission-popup injection framework to evaluate 4 MLLM-driven mobile GUI agents, finding that authorization decisions are influenced by requester identity and task context, and that prompt mitigation is unstable.

Questions
Mobile GUI agents frequently encounter system permission popups while executing tasks, but existing benchmarks measure only task success rate, and no one examines whether an agent can grant only the permissions required by the task; a single agent with inaccurate judgment may silently accumulate excessive permissions over a long session.
Methods
The authors propose the concept of Permission Literacy and a four-level permission taxonomy (L1 legitimate to L4 excessive risk), inject Android-style permission popups at the third step of real AndroidLab tasks, measure the Allow/Deny decisions of 4 MLLMs under bimodal input, and conduct controlled interventions on requester identity and task context as well as prompt mitigation experiments.
Experiments and results
Under the Calendar task, merely changing the requester from Calendar to PiMusic reduces authorization from 26/32 to 0/32; holding the dialog fixed and changing only the task context also substantially changes authorization. Prompt interventions can reduce L2–L4 authorization but often harm L1 legitimate authorization, and the effect is unstable across models.
Limitations and future work
The authors acknowledge that the evaluation uses only one agent framework, five Android apps, and synthetically injected popups; that the controlled interventions cover a limited set of tasks and permission types; that expert labels cannot substitute for diverse user preferences; and that the mitigation and held-out evaluations are targeted rather than exhaustive.
Experimental setupDoubao (doubao-seed-2-0-lite-260215)、Gemini (Gemini-3-flash-thinking) et al. · AndroidLab · Grant Rate、Fleiss' κ
Threat model
The risk is non-adversarial accidental over-granting: no malicious app or compromised operating system is assumed; routine apps request permissions unrelated to the task, the agent approves them in order to complete the task, causing silent privacy erosion.
Evaluated models
Doubao (doubao-seed-2-0-lite-260215)Gemini (Gemini-3-flash-thinking)GPT (GPT-5)Qwen (qwen3-vl-235b-a22b-thinking)
Benchmarks
AndroidLab
Metrics
Grant RateFleiss' κ
AI summaryThe researchers systematically evaluated the ability of mobile GUI Agents to grant only the necessary permissions when executing tasks, and named it Permission Literacy. The team built a four-level permission framework based on task relevance and privacy risk; the scenarios were validated by three independent experts in the GUI Agent security field, and Android-style permission popups were injected into real GUI tasks, evaluating four frontier multimodal large language models with synchronized annotated screenshots and UI tree hierarchies. The results show that, under the same Calendar task, merely changing the requester from Calendar to PiMusic reduced authorization from 26/32 to 0/32, exhibiting a strong but task-conditioned App-Trust Bias; fixing the popup while changing the task context also substantially changed authorization decisions, i.e., a systematic Task-Prior Override. Prompt interventions can reduce unnecessary authorization, but their effects are inconsistent across models and may come at the cost of suppressing legitimate authorization.

The researchers systematically evaluated the ability of mobile GUI Agents to grant only the necessary permissions when executing tasks, and named it Permission Literacy. The team built a four-level permission framework based on task relevance and privacy risk; the scenarios were validated by three independent experts in the GUI Agent security field, and Android-style permission popups were injected into real GUI tasks, evaluating four frontier multimodal large language models with synchronized annotated screenshots and UI tree hierarchies. The results show that, under the same Calendar task, merely changing the requester from Calendar to PiMusic reduced authorization from 26/32 to 0/32, exhibiting a strong but task-conditioned App-Trust Bias; fixing the popup while changing the task context also substantially changed authorization decisions, i.e., a systematic Task-Prior Override. Prompt interventions can reduce unnecessary authorization, but their effects are inconsistent across models and may come at the cost of suppressing legitimate authorization.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Examines whether mobile GUI agents, when facing routine permission popups, can grant only the permissions required by the task (Permission Literacy).

    Core question: when a mobile GUI agent encounters a system permission dialog mid-task, can it judge whether the permission is necessary for the current task and grant only the necessary permissions—the authors state that no prior work has examined this ability.

    • Problem scenario: mobile GUI agents inevitably encounter system permission dialogs asking for microphone, contacts, location, and file access during long sessions; the authors state that a poorly calibrated agent may silently accumulate excessive authorization across autonomous sessions spanning dozens of apps.
    • Gaps in existing work: the authors state that existing benchmarks optimize only task success rate and treat permission dialogs as obstacles to be cleared as quickly as possible; security research focuses on adversarial threats and deceptive interfaces, and has not observed agent behavior when facing standard, non-deceptive dialogs in benign environments.
    • Core concept: the authors propose Permission Literacy—the ability to judge whether a permission request is necessary for the current task and to deny or defer requests beyond the authorized scope; even if a permission offers marginal convenience, the agent should not approve it on its own.
    • Paper's approach: build an evaluation framework based on AndroidLab, including a four-level permission classification (L1–L4), label validation by three independent experts, dialog injection in real tasks, and controlled interventions on requester identity and task context.
    • Threat model:
      • Source of risk: non-adversarial accidental over-authorization, arising from app feature creep and the agent's task-completion tendency.
      • Not assumed: malicious apps or a compromised operating system; dialogs are routine system dialogs in a benign environment.
      • Victim system: autonomous GUI agents operating Android devices on behalf of users; once granted, permissions remain in effect until revoked.
      • Consequences: the agent runs continuously in the background and may systematically approve unnecessary permissions across multiple tasks within a single session, with the user unable to perceive the cumulative privacy erosion.
  2. What related research exists?

    Related work falls into three groups—GUI agent evaluation, LLM/agent safety, and usable security and the principle of least privilege—and the authors state that all lack direct observation of decisions on benign permission popups.

    GUI Agent Evaluation

    • Web-side benchmarks such as WebArena, VisualWebArena, and Mind2Web, and mobile-side benchmarks such as AndroidWorld, AndroidLab, AppAgent, and Mobile-Agent-v2—the authors state that the dominant metric in this field is task success rate, that permission popups are treated as temporary obstacles to be cleared as quickly as possible, and that no benchmark evaluates agents' authorization judgments.

    LLM and Agent Safety

    • Indirect prompt injection (Greshake et al., 2023), jailbreak (Zou et al., 2023), destructive command execution, poisoned tool environments (AgentPoison), deceptive interfaces and dark patterns—the authors state that these works focus on adversarial threats.
    • Ji et al. (2026) propose a mandatory access control framework based on least privilege to defend against adversarial privilege escalation; Shi et al. (2025) formalize trust-authorization mismatch; Wu et al. (2025) study human permission decisions toward AI agents and build an automatic authorization prediction model—the authors state that none of these works answer what the agent itself does when facing standard permission popups.
    • RLHF and Constitutional AI—the authors state that they focus on safety of text generation rather than action-level safety in interactive environments.

    Usable Security and the Principle of Least Privilege

    • The principle of least privilege (Saltzer & Schroeder, 1975); research on usable privacy and mobile app permissions (Kelley et al., 2009; Felt et al., 2011) shows that human users routinely over-grant due to habituation, insufficient understanding, and over-trust; a large-scale field study of browser security warnings (Akhawe & Felt, 2013) shows that warning fatigue leads to systematic over-granting.

    Baselines and Benchmarks: this paper does not compare against baseline methods; the task pool is taken from the AndroidLab benchmark (67 tasks).

    Positioning: the authors state that this paper introduces a missing evaluation dimension—not whether the agent can complete the task, but whether it silently accumulates unnecessary permissions while completing it; and they claim that without any adversarial manipulation, everyday permission interactions are enough to expose systematic over-granting.

  3. How does the paper address this problem?

    Injects four-level permission popups at the third step of real AndroidLab tasks, measures Allow/Deny decisions under bimodal input, and performs controlled interventions on requester and task context.

    Overall approach: inject permission dialogs into real Android tasks, use a four-level risk classification to distinguish semantic relevance from privacy risk, measure agents' authorization decisions, and then use controlled interventions to separate the effects of requester identity and task context. The framework is built on AndroidLab.

    Problem setting and Permission Literacy

    • Dual-modality input: at each step the agent receives a screenshot annotated with numeric bounding boxes and a cleaned UI tree (XML); the dialog's requester, permission, rationale, and buttons are reachable in both channels; the authors therefore consider erroneous decisions a failure at the decision level, not attributable to unreadable text or missing visual information.
    • Definition of Permission Literacy: the ability to judge whether a permission request is necessary for the current task and to deny or defer requests beyond the authorized scope; without explicit user authorization, the correct behavior is Deny or defer to the user.

    Four-level permission classification (Table 1)

    • L1 (Legitimate): necessary to support the task's expected outcome, expected action Allow, e.g., Clock's notification permission.
    • L2 (Weakly Relevant): provides marginal convenience but is not necessary, expected Deny/Defer, e.g., Contacts requesting calendar permission to show birthdays.
    • L3 (Irrelevant): has almost no functional relation to the task, expected Deny/Defer, e.g., Clock requesting contacts permission.
    • L4 (Excessive Risk): requests a highly sensitive capability for a non-essential function, expected Deny/Defer, e.g., Clock requesting microphone permission.
    • Label validation: three independent GUI agent security experts evaluated all 24 scenarios under a predefined least-privilege protocol, blinded to model outputs and original labels; binary Fleiss' κ = 0.869, fine-grained κ = 0.574 (Table 6); contacts_L1 was flagged as convenience-dependent, and the paper reports a sensitivity analysis excluding it.

    Experimental protocol

    • Dialog injection: each task has a synthetic permission dialog injected at the third interaction step, replacing the current UI state; each task tests only one permission level, and each (app, level) combination is tested independently; the agent cannot distinguish injected dialogs from real ones.
    • Task pool: taken from AndroidLab, Calendar 14, Clock 22, Contacts 15, PiMusic 11, Zoom 5, 67 tasks in total; each task tests all four levels, 268 conditions per model, 1,072 trials across 4 models.
    • Metric: Grant Rate = number of explicit Allows / all successfully completed trials; Deny, Home, Back, invalid clicks, and navigating away remain in the denominator as non-authorization; only API connection failures are excluded.
    • Statistics: Wilson 95% confidence intervals; confirmatory binary comparisons use two-sided Fisher's exact test with Holm correction; model-stratified effects are the primary analysis.

    Controlled intervention design

    • Balanced Task × Requester intervention: task (Calendar/PiMusic) × visible requester (Calendar/PiMusic) in four cells, with permission, rationale, layout, buttons, and injection timing all held fixed, and the requester modified synchronously in the screenshot and UI tree.
    • Task context experiment (A/B/C): a fixed L3 contacts permission dialog, where A is a PiMusic task + PiMusic dialog, B is a PiMusic task + Calendar dialog, and C is a Calendar task + the same Calendar dialog; the key causal comparison is B vs. C (differing only in task context). There is also a naturalized Calendar L3 location request (D) and a reproduction with the Contacts permission family.
    • Prompt mitigation: the lite prompt asks the agent to self-question before authorizing whether the task needs the permission; the structured prompt asks for a four-step judgment of necessity, denying if not necessary; few-shot, verifier-style, and functional-chain-aware prompts were also tested on target subsets; Appendices F and G give the full prompts.

    Models and apps tested

    • Models: Doubao (doubao-seed-2-0-lite-260215), Gemini (Gemini-3-flash-thinking), GPT (GPT-5), Qwen (qwen3-vl-235b-a22b-thinking); unified system prompt, temperature 0.
    • Apps: system apps Calendar, Contacts; tool app Clock; third-party apps Zoom, PiMusic.
  4. What experiments did the paper conduct?

    1,072 main-experiment trials plus controlled interventions: both requester identity and task context change authorization decisions, and prompt mitigation is effective but unstable.

    Experimental Setup

    • Models tested: Doubao (doubao-seed-2-0-lite-260215), Gemini (Gemini-3-flash-thinking), GPT (GPT-5), Qwen (qwen3-vl-235b-a22b-thinking), temperature 0, unified system prompt.
    • Tasks and scale: AndroidLab task pool of 67 tasks (Calendar 14, Clock 22, Contacts 15, PiMusic 11, Zoom 5), 4 permission levels per task, 268 conditions per model, 1,072 trials in total for the main experiment.
    • Metric: Grant Rate = explicit Allow / successfully completed trials; unauthorized actions remain in the denominator.
    • Label validation: 3 independent experts, binary Fleiss' κ = 0.869 (pairwise agreement 95.8%), fine-grained κ = 0.574 (75.0%) (Table 6).
    • Statistics: Wilson 95% CI; predefined comparisons use two-sided Fisher's exact test with Holm correction.
    • Number of repetitions: controlled interventions range from 8–15 trials per cell per model (see denominators in each table).

    Main Results

    Balanced Task × Requester intervention (Table 2, number of explicit grants / included trials):

    Swipe horizontally to read the table

    ModelCal. task + Cal. requesterCal. task + PiMusic requesterPiMusic task + Cal. requesterPiMusic task + PiMusic requester
    Doubao8/80/81/84/8
    Gemini8/80/88/86/8
    GPT6/80/80/80/8
    Qwen4/80/80/82/8
    Total26/320/329/3212/32
    • Task-conditioned App-Trust Bias: under the same Calendar task, merely changing the visible requester from Calendar to PiMusic reduced grants from 26/32 to 0/32, with the same direction across all four models; Holm-corrected p values: Doubao 6.22×10⁻⁴, Gemini 6.22×10⁻⁴, GPT 0.014, Qwen 0.077.
    • Not a universal preference: under PiMusic tasks, the Calendar requester did not have an advantage (9/32 vs. 12/32); the authors accordingly narrow App-Trust Bias to a task-conditioned requester-identity effect rather than a general preference for system apps.

    Task Context Intervention (Task-Prior Override)

    Holding the same Calendar popup fixed (L3 contacts permission), changing only the task context (Table 7):

    Swipe horizontally to read the table

    ModelB: PiMusic taskC: Calendar taskD: Calendar task + naturalized location request
    Doubao0/109/147/14
    Gemini6/914/1414/14
    GPT0/127/146/14
    Qwen0/1013/1411/14
    • B vs. C: changing only the task context raised grants for all four models; the authors state that the same semantically anomalous Calendar popup becomes more acceptable in a Calendar task context, with a consistent direction but model-dependent magnitude.
    • Naturalization validation and replication: grants under condition D (naturalized Calendar L3 location request) remained high, but the authors note that it also changes the permission and the rationale, so it is not used as a controlled comparison; in the Contacts permission-family replication (Table 8), grants likewise all rose (e.g., Doubao 0/11→14/15, GPT 4/11→8/15), and the authors state the effect generalizes but depends on model and permission family.
    • Reasoning traces: exposed reasoning traces in Condition C often rationalize grants by task completion or generic app functionality; the authors state that traces may be incomplete or unfaithful and use them only as qualitative diagnostics, not as evidence of internal mechanisms.

    Prompt Mitigation

    Full task pool results (Table 3, Grant Rate):

    Swipe horizontally to read the table

    ModelL1 originalL1 LiteL1 Struct.L2–L4 originalL2–L4 LiteL2–L4 Struct.
    Gemini100.0%94.0%31.8%69.2%22.7%0.0%
    Qwen95.5%92.6%52.9%56.1%18.2%1.5%
    Doubao74.2%68.2%27.9%26.8%15.7%0.5%
    GPT67.6%34.9%16.2%25.6%2.6%0.0%
    • Safety-utility trade-off: the lite prompt reduced L2–L4 grants for permissive models and preserved most L1 grants for Gemini and Qwen, but also reduced legitimate grants for GPT and Doubao; the structured prompt nearly eliminated L2–L4 grants for all models, but L1 grants dropped substantially.
    • Target Calendar subset (Table 4, 8-task subset, not directly comparable to the full pool): Doubao structured preserved all L1 (8/8) and eliminated L3 (0/8), as did Gemini few-shot (8/8; 0/8); GPT and several verifier-style conditions suppressed legitimate L1 grants.
    • Held-out checks: Doubao structured transferred to Clock (L1 7/8; L2–L4 0/8) and PiMusic (L1 8/8; L2 1/8; L3–L4 0/8); the functional-chain-aware prompt reduced risky grants on GPT and Gemini but L1 calibration was uneven (GPT L1 67.6%→30.9%, Gemini 100.0%→70.1%, Table 11).

    Other Ablations and Analyses

    • Original-condition cross-app L2–L4 Grant Rate (Table 12, descriptive): Gemini mean 63.6%, Qwen 59.8%, Doubao 23.5%, GPT 20.9%; the authors note that app, task, permission, and rationale all vary in this comparison, so it cannot be interpreted as a causal effect of requester identity.
    • Breakdown of unauthorized actions (Table 10): Gemini had 6 Home actions in the TC RP cell, GPT had 5 Home actions, and Qwen showed Back and invalid clicks, all counted in the denominator.
    • Sensitivity analysis: excluding contacts_L1, and conservatively also excluding zoom_L1, leaves the qualitative conclusions of mitigation unchanged (Appendix B).
    • Exceptions: in Table 13, GPT's L1 Grant Rate on Contacts was only 6.7% (original condition), and Doubao's L1 on Clock was 45.5%, both below the expected Allow; the paper does not explain these low values.
  5. What are some points that can be further explored?

    The authors acknowledge limited coverage of frameworks, apps, and popups, and propose a direction for authorization-layer design; the experiments cover 4 models, 5 apps, and 1,072 main trials.

    Limitations and Future Directions Noted by the Authors

    • Limited evaluation scope (Discussion and Conclusion): the evaluation uses one agent framework, five Android apps, and synthetically injected permission popups.
    • Limited coverage of controlled interventions (Discussion and Conclusion): the requester intervention, the naturalized Calendar condition, and the cross-permission-family replication cover only a limited set of tasks, apps, and permission types.
    • Boundaries of expert labels (Discussion and Conclusion, Appendix B): expert agreement supports the reproducibility of the operational labels but cannot substitute for diverse user preferences.
    • Mitigation evaluation is targeted (Discussion and Conclusion): the mitigation and held-out evaluations are targeted rather than exhaustive.
    • Generalization left as future work (Discussion and Conclusion): generalization to other agent architectures, mobile platforms, naturally triggered permission flows, and longitudinal user settings has not been validated.
    • Authorization-layer design remains to be evaluated (Discussion and Conclusion): the authors propose that a future authorization layer could intercept permission decisions, auto-approve only sufficiently validated low-risk cases, and refer ambiguous or excessive requests to the user, but the authors state that this design requires direct evaluation and is currently a design direction rather than an evaluated solution.

    Scope of the Experiments

    • The models tested are 4 MLLMs: Doubao, Gemini, GPT, and Qwen (Section 4.1).
    • The apps are 5 Android apps: Calendar, Clock, Contacts, PiMusic, and Zoom, with 67 tasks taken from AndroidLab (Section 4.3).
    • The main experiment has 1,072 trials in total; controlled interventions have 8–15 trials per cell per model (Table 2, 7, 8).
    • The mitigation evaluation includes five prompts: lite, structured, few-shot, verifier-style, and functional-chain-aware, of which few-shot and verifier-style are tested only on the 8-task Calendar subset, and functional-chain-aware is tested only on GPT and Gemini (Section 5.3, Appendix D).
    • The paper does not report the number of repeated runs for each controlled intervention condition (the tables give only grants/trials denominators); the reasoning-trace analysis covers only three models, Gemini, Qwen, and Doubao, as GPT does not expose traces (Appendix H).
  6. Summarize the main content of the paper

    The authors build a permission dialog injection evaluation framework and find that GUI agents' authorization decisions are affected by requester identity and task context, and that prompt mitigation is unstable.

    An empirical evaluation paper on authorization security of mobile GUI agents. The authors propose the concept of Permission Literacy—the agent's ability to judge whether a permission request is necessary for the current task—and state that no prior work has directly observed agent behavior when facing standard permission dialogs in benign environments.

    • Method: build an evaluation framework based on AndroidLab, including a four-level permission classification (L1 legitimate to L4 excessive risk), label validation by three independent experts (binary Fleiss' κ = 0.869), and injection of Android-style dialogs at the third step of tasks; 4 frontier MLLMs (Doubao, Gemini, GPT, Qwen) complete 1,072 main-experiment trials under dual-modality input.
    • App-Trust Bias: in the balanced Task × Requester intervention, under the same Calendar task, merely changing the visible requester from Calendar to PiMusic reduces authorization from 26/32 to 0/32 (Table 2); however, under the PiMusic task the Calendar requester does not have an advantage, and the authors therefore define it as a task-conditioned requester identity effect.
    • Task-Prior Override: holding the same L3 dialog fixed and changing only the task context, authorization rises for all four models (e.g., Doubao 0/10→9/14, Gemini 6/9→14/14, Table 7); the naturalized condition and the second permission family reproduction provide supplementary evidence.
    • Mitigation instability: the structured prompt lowers the full task pool L2–L4 Grant Rate to 0.0%–1.5%, but L1 legitimate authorization also drops (e.g., Gemini 100.0%→31.8%, Table 3); individual model-prompt combinations (Doubao structured, Gemini few-shot) are well calibrated on target subsets, but the authors state that calibration is not reliable across models and task families.
    • Authors' conclusions: current agents do not apply a stable least-privilege policy across requesters, tasks, models, and permission families; the authors consider separating task execution from permission authorization a promising design direction, but state that this is a direction to be evaluated rather than a validated solution, and the evidence does not point to a single architectural root cause.
Read originalarxiv.org