Skip to content

MobileProbe: Adaptive safety evaluation of mobile agents via trajectory-aware injectionMobileProbe: Adaptive Security Evaluation of Mobile Agents via Trajectory-Aware Injection

arXiv· arXiv:2611.16693· Yingbin Jin, Ji'an Wang, HaoYang Chai, Hanjun Luo, Li Hu, Xinfeng Li, Huadi Zheng, PeiZhao Hu, Qingqing Ye, Haibo HuThe Hong Kong Polytechnic University; Zhejiang University; Huawei; Research Centre for Privacy and Security Technologies in Future Smart Systems, PolyUIndexed by this site · 10 days ago· Originally publishedAttacks

Quick read

Attacks

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

The authors propose MobileProbe, which adaptively selects injection points according to the actual trajectories of mobile GUI agents and evolves generated payloads; on 83 instances, the ASR against Gemini-3.1-Pro, Agentic, and GUI-Owl is 85.1%–86.3% (Table III).

Threat modelThe threat source is an unprivileged third-party app developer or content publisher: no root, no visibility into the agent's internals, no ability to modify user prompts, with the intervention surface limited to attacker-controllable content rendered legitimately. The red team framework additionally has, by design, the ability to run the target agent and observe full trajectories, as well as root access to the Android emulator, used only for attack construction and evaluation.

Questions
Existing environmental injection attack (EIA) benchmarks for mobile agents fix manually written payloads at a certain step of a certain task: payloads bound to a single task are hard to transfer, and agents with different trajectories may never encounter the injection point yet be recorded as safe; the authors state that this underestimates deployment risk.
Methods
MobileProbe uses automated penetration testing to discover injectable interfaces and encode them as templates, locates injection points according to the agent's actual trajectory, and then refines payloads through an evolutionary loop of strategy × style combination sampling and agent pre-filtering; it also constructs 83 instances annotated with CIA attack goals.
Experiments and results
On three agent architectures, MobileProbe achieves overall ASR 85.1%–86.3%, higher than human templates, Zero-shot LLM, and two adapted automated red team baselines (Table III); PMR drops to 3.6%–6.0% (Table II).
Limitations and future work
The authors note: benign trajectories and attack-run trajectories may be inconsistent, leading to residual misses; the benchmark has only 83 instances and 12 apps, and does not cover categories such as finance and healthcare. Experiments were conducted on an Android 14 emulator, with each task evaluated 3 times per agent.
Experimental setupGemini-3.1-Pro、GUI-Owl-1.5-8B-Instruct et al. · MobileProbe dataset(基于 MobileWorld 构建,83 个攻击实例) · ASR、PMR et al.
Evaluated models
Gemini-3.1-ProGUI-Owl-1.5-8B-InstructGemini-3.1-Pro + UI-Ins-7B
Benchmarks
MobileProbe dataset(基于 MobileWorld 构建,83 个攻击实例)
Metrics
ASRPMRSHRASR-F
AI summaryResearchers propose MobileProbe, a red-teaming framework that adaptively evaluates the safety of mobile agents through trajectory-aware injection. The paper calls the threat of an attacker embedding malicious instructions in ordinary interface content to alter a mobile GUI agent's operations an environment injection attack (EIA), and notes that benchmarks that fix manually written payloads at fixed steps of fixed tasks will miss agents that never reach the injection page, thereby underestimating deployment risk. MobileProbe uses automated penetration testing to discover attacker-controllable content surfaces, locates vulnerable decision points along the agent's trajectory, and then iteratively improves context-aware payloads through an evolutionary loop filtered by a proxy model; the accompanying benchmark contains 83 long-horizon attack instances covering 12 mobile apps, each labeled with a confidentiality, integrity, or availability attack objective. On three representative agent architectures, MobileProbe's attack success rate is higher than manually written, zero-shot LLM, and existing automated red-teaming baselines adapted to mobile scenarios, and the paper says it can serve as a pre-deployment auditing tool.

Researchers propose MobileProbe, a red-teaming framework that adaptively evaluates the safety of mobile agents through trajectory-aware injection. The paper calls the threat of an attacker embedding malicious instructions in ordinary interface content to alter a mobile GUI agent's operations an environment injection attack (EIA), and notes that benchmarks that fix manually written payloads at fixed steps of fixed tasks will miss agents that never reach the injection page, thereby underestimating deployment risk. MobileProbe uses automated penetration testing to discover attacker-controllable content surfaces, locates vulnerable decision points along the agent's trajectory, and then iteratively improves context-aware payloads through an evolutionary loop filtered by a proxy model; the accompanying benchmark contains 83 long-horizon attack instances covering 12 mobile apps, each labeled with a confidentiality, integrity, or availability attack objective. On three representative agent architectures, MobileProbe's attack success rate is higher than manually written, zero-shot LLM, and existing automated red-teaming baselines adapted to mobile scenarios, and the paper says it can serve as a pre-deployment auditing tool.

Related events and news

0 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 state that mobile agent EIA benchmarks with fixed injection points suffer from instance binding and insufficient coverage, which underestimates deployment risk.

    Core problem: existing environmental injection attack (EIA) security benchmarks for mobile GUI agents fix manually written payloads at a certain step of a certain task; the authors believe this makes instances hard to transfer and test coverage insufficient, thereby underestimating the security risk of deployed agents.

    • Problem scenario: mobile GUI agents read the screen and act on multiple apps on the user's behalf to complete long-horizon tasks; attackers can embed malicious instructions in ordinary UI content to change their behavior, which the authors call environmental injection attack (EIA).
    • Shortcomings of existing methods (the authors' view): first, Instance Specificity—each payload is bound to one task and one app, and transfer requires manual redesign; second, Insufficient Test Coverage—under the same task, different agents take different paths, and agents that do not reach the injection page are untested yet recorded as "safe" (Figure 1).
    • Core observation: the authors believe evaluation should shift to an adaptive paradigm—both injection points and payloads are selected according to each agent's actual execution trajectory, rather than statically preset before evaluation.
    • The paper proposes: MobileProbe, a trajectory-aware red-teaming framework (automated penetration testing to discover injectable surfaces, locating injection points along the trajectory, and an evolutionary loop to refine payloads), as well as a benchmark of 83 long-horizon attack instances covering 12 apps, with attack goals annotated according to CIA (Confidentiality/Integrity/Availability).
    • Threat model:
      • Attacker goal: induce the agent through injected content to achieve three types of malicious CIA goals (stealing information, unauthorized modification, disrupting task completion).
      • Knowledge: the threat source is an unprivileged third-party app developer or content publisher, with no root, no visibility into the agent's internals, and no ability to modify the user prompt.
      • Capability: the intervention surface is limited to attacker-controlled content rendered by legitimate apps (email, message text, or UI within their own Activity window).
      • Victim system: mobile GUI agents that rely on screen content for decisions and lack a mechanism to distinguish legitimate from injected content; the red-teaming framework is additionally given the ability to observe full trajectories and emulator root privileges at design time, used only for attack construction and evaluation.
  2. What related research exists?

    Related work falls into three groups: mobile agent security benchmarks, environmental injection attacks, and automated red-teaming of LLM agents.

    Mobile Agent Safety Benchmarks

    • MobileSafetyBench [9]—jointly evaluates agents' everyday safety behavior and robustness to indirect prompt injection on an interactive Android emulator; MLA-Trust [26] extends to multiple trust dimensions.
    • Liu et al. [11] (AgentHazard)—focuses on unprivileged third-party attack channels; GhostEI-Bench [10]—evaluates agent resilience to EIA under real device operating conditions.
    • The paper notes that these benchmarks share the assumption that attack instances are manually constructed and statically pre-placed at fixed injection points; the authors argue that as trajectories grow longer, results become incomparable across agents and may underestimate risk.

    Environment Injection Attacks (EIA)

    • Greshake et al. [27]—systematically formalized indirect prompt injection; EIA is its instantiation in the GUI setting.
    • Web side: Liao et al. [30] inject form elements into webpage HTML to steal PII; Zhang et al. [31] use adversarial pop-ups to bypass defensive system prompts; Chen et al. [32] exploit the asymmetry between humans and their visual attention.
    • Mobile side: Liu et al. [11] demonstrate GUI hijacking via legitimate third-party content channels; Chen et al. [34] exploit the reasoning gap between perception and execution. The paper notes that these works do not address systematic discovery of injectable surfaces and automatic generation of attack instances.

    Automated Red Teaming of LLM Agents

    • Adversarial training route: AdvAgent [36] (SFT+DPO trained red team model), Liu et al. [37] (reinforcement-learning-trained multimodal jailbreak model); the paper notes their high training cost and coupling of attacks to specific injection channels, which limits transfer to mobile settings.
    • Iterative evolutionary route: TAP [38], PAIR [39] establish the Attacker-Target-Judge loop; Zhang et al. [8] (Genesis) use genetic algorithms to evolve attack strategies against Web agents; Lu et al. [40], Wang et al. [41] (AgentVigil) iteratively adjust injection content.
    • The paper notes that these methods cannot be directly applied to mobile GUI EIA: text-oriented ones lack UI rendering control, and Web-oriented ones rely on DOM/HTML injection, which is invisible to mobile agents that only see the rendered screen.

    Baselines and Benchmark: The comparison baselines are Static Template (human templates taken from AgentHazard and GhostEI-Bench), Zero-shot LLM, Adapted PAIR, Adapted Genesis; the benchmark is an 83-instance dataset built on MobileWorld [12].

    The authors position this paper as: discovering injectable surfaces via automated penetration testing and encoding them as reusable templates, and selecting injection points according to the actual trajectory, thereby distinguishing it from static benchmarks and text/Web-oriented red team methods.

  3. How does the paper address this problem?

    MobileProbe has a two-layer architecture: the platform layer handles penetration testing, injection, and verification, while the red-team layer locates injection points along the trajectory and evolves and refines payloads.

    Overall approach: MobileProbe uses a two-layer architecture—the Probing & Evaluation Platform handles mobile-side infrastructure (discovering injectable surfaces, templating, injection and result verification), and the Red Team Agentic System performs three-stage adversarial optimization on the agent's actual trajectory (locating injection points → synthesizing a seed population → evolutionary refinement).

    Problem Formulation

    • An agent trajectory is defined as τg = ⟨ s0, a0, s1, a1, …, sT ⟩; after injection at step k, the agent observes the contaminated state s̃k = sk ⊕ δ, and subsequent states evolve naturally from the deviating actions without further intervention.
    • Payload structure: δ = Render(content(σ, ω), v), where σ comes from the attack strategy space Σ (5 categories), ω comes from the style space Ω (4 categories), and v ∈ {text, dialog}.
    • Attack outcomes use a four-level ordinal function R ∈ {0,1,2,3} (Ignored / Detected & Refused / Partially / Fully Followed), with binary success r = 1[R = 3]; the core problem is jointly searching for the injection step k*, payload δ* and vector v* within a budget Tmax.

    Probing & Evaluation Platform

    • Injection simulation: A monitoring APK is preinstalled in the AVD and continuously monitors the foreground UI; injection triggers only when the agent reaches a matching page and is hidden upon leaving (gate-on-match); the binary trigger signal is recorded as exposure ground truth.
    • Injectable surface discovery: Automated penetration testing is run on each injectable app; from the page trajectories of MobileWorld base tasks, cross-instance stable generic parameters (package_name, activity_name, required_texts, etc.) and per-instance instance parameters are extracted, and together with rendering parameters form a template library; human annotators specify the location categories where legitimate user content of each app may appear.
    • Result verification: Fake Dialog is judged by whether the agent clicks the Accept button (captured directly by the monitoring APK); Malicious Text uses task-level deterministic verifiers to check the post-execution environment state (message logs, file system, form records), supplemented by trajectory-level LLM judgment to distinguish "actually attacked" from "insufficient capability".

    Red Team Agentic System

    • AttackPathExplorer: Candidate pages marked with template matches are scored on a three-dimensional 1–5 Likert scale—Context Relevance, Decision Criticality, Reasoning Exploitability—combined with equal weights (1/3 each) into v(t), and the highest score is taken as k*; tasks with no matching page are marked non-injectable and skipped. For Malicious Text, a VLM is additionally used on the screenshot at k* to locate the injection region and visual attributes such as font color.
    • PayloadGenerator: Combinatorial sampling over Σ×Ω generates a structurally diverse seed population; Fake Dialog excludes Conversational/User-Generated styles, and the compatible style subset for Malicious Text is determined by the content type of the trigger page; before generation, successful cases of the same app type and similar tasks are retrieved from Adversarial Experience Memory as few-shot examples.
    • EvolutionaryRefiner: Each round first performs surrogate pre-filtering—an LLM evaluates semantic consistency and a VLM evaluates visual deceptiveness, combined into surrogate fitness f′ = α·ssem + β·svis; those below the threshold are not actually executed; those that pass are actually executed and then given a four-level score by an LLM Judge, combined into composite fitness f = γ·rattack + (1−γ)·f′, and the top-k parents each produce m offspring (the LLM rewrites them in a targeted way based on feedback) until verification succeeds or the budget is exhausted; features of successful instances are written back to experience memory.

    Dataset Construction

    • Based on MobileWorld (average task length 27.8 steps), after removing tasks requiring MCP tool calls or agent-user interaction, 117 remain; filtering by vector yields 44 Malicious Text and 39 Fake Dialog instances (from 65 different benign tasks), with 47 cross-app and 36 single-app.
    • Attack goals are labeled by CIA: Confidentiality 27, Integrity 28, Availability 28; each instance is equipped with a task-level deterministic verifier, and annotations were manually reviewed for semantic naturalness and verifiability.
  4. What experiments did the paper conduct?

    On the three agents, MobileProbe achieves ASR 85.1%–86.3% and PMR 3.6%–6.0%, all better than the four baseline categories.

    Experimental Setup

    • Agents under test (3): Gemini-3.1-Pro (closed-source end-to-end), GUI-Owl-1.5-8B-Instruct (open-source on-device end-to-end), Gemini-3.1-Pro + UI-Ins-7B (Agentic framework, with planning and grounding divided).
    • Dataset: MobileProbe dataset, 83 attack instances (44 Malicious Text, 39 Fake Dialog), each instance equipped with a task-level programmatic verifier.
    • Baselines: Static Template (human templates from AgentHazard/GhostEI-Bench), Zero-shot LLM, Adapted PAIR, Adapted Genesis; in RQ2 all methods share the injection point selected by MobileProbe.
    • Metrics: PMR (payload miss rate), ASR (attack success rate, Eq. 7), SHR (probability that the original task is still completed after a successful attack, used only for C/I attacks), ASR-F (ASR on the subset of originally failed tasks).
    • Implementation details: Seed-2.0-Pro is used for payload generation and mutation; GPT-5.4 is used for semantic evaluation, visual evaluation and the LLM Judge; iterative methods use budget Tmax = 15, top-k = 3, m = 2, α = 0.5, β = 0.5, γ = 0.7; each task is evaluated 3 times per agent and averaged; Android 14 AVD, 8GB RAM, 1080×2400.

    Main Results

    According to Table III (ASR, %):

    Swipe horizontally to read the table

    MethodGeminiAgenticGUI-Owl
    Static Template6.88.034.5
    Zero-shot LLM8.09.215.7
    Adapted PAIR56.654.677.5
    Adapted Genesis40.639.061.4
    MobileProbe85.186.385.1
    • The authors state that MobileProbe achieves ASR above 85% on all three agents, with only 1.2% difference across agents; failure cases are partly attributed to path uncertainty in repeated runs of the same agent.
    • The authors note that GUI-Owl has higher ASR under all baselines (e.g., Static Template 34.5% vs. 6.8%/8.0% for Gemini/Agentic), arguing that lightweight on-device models have weaker safety judgment and that fixed-point benchmarks may underestimate their risk.
    • By vector (lower part of Table III): on Fake Dialog, MobileProbe ASR is 88.9%–95.7%, higher than 78.0%–81.8% on Malicious Text; the authors state that the dialog form resembles a legitimate system prompt.

    RQ1: Injection Point Coverage

    • What was tested: PMR comparison of three injection point selection strategies (Table II).
    • Results: Expert-Fixed PMR is 13.3% for Gemini, 12.0% for Agentic, 22.9% for GUI-Owl; Cross-Agent is 12.0%/10.8%/15.7%; MobileProbe drops to 4.8%/3.6%/6.0%, narrowing the cross-agent PMR gap from 10.8% under Expert-Fixed to 2.4%.
    • Authors' interpretation: Insufficient coverage is an inherent problem of fixed injection points, regardless of whether injection points are chosen by experts or transferred from other agents' trajectories; residual misses come from internal path uncertainty of the agents.

    RQ3: Attack Quality and Component Analysis

    • Stealthiness (Table V): MobileProbe's SHR is 68.1% for Gemini, 65.4% for Agentic, 46.4% for GUI-Owl, all higher than comparison methods; benign baseline success rates BU are 54.6%, 56.6%, 26.5% respectively. The authors state that GUI-Owl's behavioral deviations more easily cause the original task to fail and expose the attack.
    • Failed task subset (Table V): MobileProbe's ASR-F is 90.3% for Gemini, 97.2% for Agentic, 87.4% for GUI-Owl, all higher than their respective overall ASR; the authors believe agents have higher reasoning uncertainty on difficult tasks and more easily follow malicious instructions.
    • Human evaluation (Figure 4): 10 annotators blindly rated 20 successful instances (10 per vector, targeting Gemini-3.1-Pro) on a 1–5 Likert scale: CA is 4.3 (Text)/4.7 (Dialog), CC is 3.9/3.8, BP is 3.2/3.4. The authors state that visual and contextual aspects are controllable, but the adversarial intent of payloads is harder to disguise.

    Other Ablations and Analyses

    • Component ablation (Table VI, Gemini-3.1-Pro): full MobileProbe ASR 85.1%, average 7.9 rounds; removing Evolutionary Refinement drops it to 28.5%; removing Surrogate Pre-filtering drops it to 63.9% with rounds rising to 12.8; removing Multi-signal Feedback drops it to 76.3% with rounds rising to 11.4.
    • Task scope and goal (Table IV): Cross-App ASR 89.4%–92.2% is higher than Single-App 75.9%–82.4%; Integrity is highest (89.3%–91.7%), Availability lowest (75.0%–81.0%). The authors state that Availability directly conflicts with user instructions, so agents are more inclined to resist.
  5. What are some points that can be further explored?

    The authors point out two limitations: residual misses due to trajectory inconsistency and benchmark scale; the experiments cover 3 agents and 83 instances.

    Limitations and future directions pointed out by the authors

    • Path uncertainty (§VII-B): injection points are selected based on benign trajectories; if at attack runtime the agent takes a different route due to internal path uncertainty, the injection point may not be reached; the authors state that the residual miss rate is low but nonzero, and propose running multiple benign trajectories before selection, at the cost of additional computation.
    • Benchmark scale (§VII-B): currently 83 instances and 12 apps; constructing a single instance requires manually designing the attack goal and verification procedure; not all app categories are covered yet (e.g., finance, healthcare); the authors state that expanding the benchmark is a future direction, and that the automated penetration process design can generalize to new apps.

    Experimental coverage

    • The agents tested are Gemini-3.1-Pro, GUI-Owl-1.5-8B-Instruct, and Gemini-3.1-Pro + UI-Ins-7B, 3 in total (§VI-A).
    • The dataset is 83 instances (44 Malicious Text, 39 Fake Dialog; 47 cross-app, 36 single-app), built on MobileWorld (§V).
    • The comparison methods are four types: Static Template, Zero-shot LLM, Adapted PAIR, and Adapted Genesis; in RQ2 they share MobileProbe's injection points (§VI-C).
    • Each task is evaluated 3 times per agent and averaged; the iteration budget is Tmax = 15; experiments are conducted on an Android 14 AVD (8GB RAM) (§VI-A).
    • The human evaluation involves 10 annotators and 20 successful instances (10 per vector, targeting Gemini-3.1-Pro); the paper does not report inter-annotator agreement values (§VI-D, Appendix F).
  6. Summarize the main content of the paper

    MobileProbe injects adaptively along the trajectory, achieving ASR 85.1%–86.3% on three agents; the authors state that fixed-point benchmarks underestimate risk.

    A paper on adaptive red team evaluation of environment injection attacks (EIA) against mobile GUI agents.

    • Problem: The authors state that existing benchmarks fix human-crafted payloads at specific steps of specific tasks, payloads are hard to transfer, and agents with different paths may never encounter the injection point yet be recorded as safe, leading to insufficient test coverage and underestimation of deployment risk.
    • Method: MobileProbe's two-layer architecture—the platform layer uses automated penetration testing to discover injectable interfaces and encode them as templates, with a monitoring APK triggering injection when a page matches; the red team layer locates injection points along the actual trajectory via three-dimensional scoring, and refines payloads through an evolutionary loop with strategy×style combinatorial sampling and surrogate pre-filtering. The benchmark contains 83 instances across 12 apps, with attack goals labeled by CIA (27/28/28).
    • Results: Overall ASR against Gemini-3.1-Pro, Agentic (Gemini+UI-Ins-7B), and GUI-Owl-1.5-8B-Instruct is 85.1%, 86.3%, 85.1%, higher than Static Template, Zero-shot LLM, Adapted PAIR, Adapted Genesis (Table III); PMR drops from 12.0%–22.9% under Expert-Fixed to 3.6%–6.0% (Table II).
    • Other findings: GUI-Owl has higher ASR under all methods, and the authors state that lightweight on-device models have weaker safety judgment; ASR-F (90.3%–97.2%) is higher than overall ASR, and the authors believe agents are more easily exploited on failed tasks; ablation shows that removing evolutionary refinement drops ASR to 28.5% (Table VI).
    • Authors' conclusion: Trajectory-aware evaluation can serve as a pre-deployment audit tool; for defense, they recommend content validation, runtime monitoring independent of task completion status, and attention to the alignment of resource-constrained models.
Read originalarxiv.org