MobileInject: Evaluating the reasoning-to-action safety of MLLM-based mobile agents under cross-modal consistency injectionMobileInject: Evaluating Reasoning-to-Action Security of MLLM-Based Mobile Agents under Cross-Modal Consistency Injection
MobileInject tests nine MLLMs on two frameworks; the authors state that MobAgent averages UA 17.59% and AGR 51.13%.
- MLLM mobile agents read both the screen and the interface text. Malicious goals can hide in these untrusted observations, leading reasoning and subsequent operations away from the user's task. The authors state that existing evaluations struggle to characterize this reasoning-to-action risk under cross-modal indirect injection.
- MobileInject placed 108 stateful instances in a resettable Android emulator. CMCI places the same adversarial instruction into both visual and textual observations; MRCD and RCI respectively strengthen role-based trust manipulation and reasoning disguise. RSDF uses a state oracle to check the endpoint, and labels risk awareness, rationale hijacking, and action hijacking.
- On two frameworks and nine MLLMs, the authors state MobAgent average UA 17.59%, AGR 51.13%, M3A average UA 11.11%, AGR 50.31%. Equal-exposure CMCI on Gemini-2.5-Flash has AGR 85.4%.
- The paper does not list limitations or follow-up experiments separately. The experiments cover two frameworks, nine MLLMs, 108 instances and five prompt defenses; the equal-exposure control is stated to be Gemini-2.5-Flash. Several result tables do not state the framework or model, the semantic evaluator model name is not reported, and the instances are stated not to be statistically independent.
- Evaluated models
- GLM-4.5VGLM-4.6VQwen2.5-VL-72BQwen3.5-122BQwen3.6-35B-A3BGemini-2.5-FlashGemini-3-FlashGPT-4.1GPT-5.4-Nano
- Benchmarks
- MobileInjectAndroid emulator
- Metrics
- UAAGRUCSARRHRAHROSSOCM
The researchers propose MobileInject to evaluate the reasoning-to-action safety of MLLM-based mobile agents under cross-modal injection, and the paper claims this is the first benchmark of this kind. The framework covers 11 scenarios, 9 categories of safety risks and 108 executable risk instances, and introduces Cross-Modal Consistency Injection, which exploits cross-modal mutual corroboration, as well as two enhanced attack methods, Multi-Role Collaborative Deception and Reasoning-Camouflage Injection. A companion Reasoning Security Diagnosis Framework is used for fine-grained failure analysis. Systematic experiments show that mobile agents are generally susceptible to multimodal injection, and many failures stem from reasoning hijacking at early stages.
Paper analysis
What problem does this paper attempt to solve?
Whether cross-modal injection can transmit the hijacking of a mobile agent's reasoning into verified unsafe actions.
Whether cross-modal indirect injection in cross-app observations can hijack an MLLM mobile agent early in reasoning and propagate into verified unsafe actions.
- Scenario: The authors state that such agents can already view screenshots, parse interfaces, and click and type across apps; phones are also tied to privacy, identity, payment, and local files, so when reasoning lacks risk awareness, consequences can include privacy leakage, unauthorized operations, and persistent state rewriting.
- Existing shortcomings: The authors state that many evaluations rely on non-real sandboxes and lean toward a single textual channel or a single carrier; they only judge whether an attack succeeds, and cannot see whether risk is recognized, when reasoning turns toward the adversarial goal, or whether compromise enters executed actions.
- Hypothesis: The same interface enters decision-making simultaneously as a rendered image and as structured text. The authors want to test whether a semantically consistent dual-channel payload amplifies attacks more than a single channel, i.e., the Cross-Modal Reinforcement Effect.
- Proposed content: The authors propose the benchmark MobileInject (11 scenarios, 9 risk categories, 108 executable instances), Cross-Modal Consistent Injection (CMCI), as well as Multi-Role Collaborative Deception (MRCD), Reasoning Disguise Injection (RCI), and the Reasoning Safety Diagnostic Framework (RSDF). The authors state this is the first benchmark for this problem.
- Threat model: The authors adopt trusted-instruction, untrusted-observation.
- Trusted root: System instructions and explicit user task goals; environmental observations during execution are treated as potentially untrusted.
- Capability: Attackers can only inject into observable surfaces, and cannot modify the system prompt, model parameters, operating system, or real user instructions.
- Channels: Visual observations include screenshots, web pages, emails, messages, social content, calendars, and notifications; textual observations include XML, accessibility trees, UI layouts, element attributes, and app names. Payloads can appear in only one or in both.
- Victim system: An MLLM mobile agent that perceives, reasons, and executes actions in stateful, cross-app phone workflows.
What related research exists?
The related work covers agent evolution and indirect injection evaluation; the authors use Table 1 to mark the lack of cross-modal consistency diagnosis.
The authors organize related work along two lines, agent evolution and agent safety, and use Table 1 to compare benchmark capabilities.
Personalized agents
- ReAct (Yao et al., 2022): couples reasoning with external actions, enabling language models to make sequential decisions rather than only answer statically.
- Tool and function calling: the authors state that tool-augmented and function-calling agents extend this paradigm to API and application use, citing a group of works that includes AgentDojo, ToolLLM and InjecAgent.
- Graphical and mobile interfaces: AppAgent, Mobile-Agent and Mobile-Agent-v2 study phone interaction; OSWorld and AndroidWorld provide dynamic computer and Android environments; DigiRL (Bai et al., 2024) explores training device-control agents in real environments. The authors state that these advances allow untrusted content to appear simultaneously in rendered observations and structured observations and to directly affect actions.
From LLM safety to agent safety
- Generation and prompt robustness: the authors state that LLM safety initially focused on harmful generation, bias, privacy leakage, jailbreak and prompt robustness.
- Indirect prompt injection: the authors treat indirect prompt injection, in which third-party content is embedded and retrieved via an application or tool to induce the attacker's preferred actions, as an example of risk shifting from text generation to observation consumption and multi-step execution; InjecAgent (Zhan et al., 2024) provides an indirect injection benchmark for tool-integrated agents.
- Agent and GUI evaluation: AgentDojo (Debenedetti et al., 2024) and ToolEmu (Ruan et al., 2024) evaluate tool-use or sandboxed agents; MobileSafetyBench and Agent-SafetyBench extend to privacy, financial loss, unsafe tool use, overtrust and insufficient risk awareness; GhostEI-Bench and OS-Sentinel perform environment injection and trajectory-level safety detection; AgentDoG and DTAP emphasize real environments, red teaming and fine-grained risk attribution.
Benchmark capability comparison
- Table 1: the authors use ✓, △ and × to compare InjecAgent, AgentDojo, Agent-SafetyBench, ChatInject, MobileSafetyBench, GhostEI-Bench, OS-Sentinel, AgentDoG and MobileInject. The authors mark the first four as not supporting mobile GUI interaction and cross-application workflows; they mark the text/visual observation injection and reasoning–action trajectory diagnosis of MobileSafetyBench, GhostEI-Bench and OS-Sentinel as partially supported (△), and none of them supports cross-modal consistency (CMC). The authors mark MobileInject as supporting all items in the table.
Baseline methods: the attack baselines in the experiments are Direct, Ignore, InjecAgent, Important and Manipulation; the defense baselines are Data Delimiters, Prescriptive, SCoT, Safe Guide and Safety Sandwich. The evaluation environment is MobileInject, constructed by the authors.
The authors' positioning is: existing evaluations have neither tested whether synchronized visual and textual malicious content on the same mobile state strengthens the adversarial objective more than either single channel, nor diagnosed when observations rewrite reasoning, whether the deviation enters unsafe actions, and verified results.
How does the paper address this problem?
MobileInject uses CMCI to align visual and textual injection, then uses RSDF to diagnose reasoning to action.
MobileInject puts adversarial goals into executable Android workflows, uses CMCI to make the same instruction appear in both visual and textual observations, and then uses RSDF to connect verified endpoints to step-by-step reasoning and actions.
Problem setting
- Closed loop: Each instance runs in a resettable Android emulator. The agent sees both the rendered screen and the UI/XML, interacting via tap, long press, swipe, and text input, with the state changing with actions.
- Task triplets: The benign goal and the adversarial goal each have a setup, an instruction, and a state-based completion contract. Registration templates generate the two kinds of instructions respectively; the modality constructor then places the adversarial instruction into the channel carrier.
- Consistency: The authors define cross-modal consistency as both channels presenting the same adversarial instruction, i.e. Content(Cv(Iai))=Content(Cx(Iai))=Iai.
- Stopping: At most 20 actions; stop when the benign oracle triggers, the adversarial oracle triggers, the agent declares failure, or the step count is exhausted. The two oracles are checked after each step.
Benchmark content and construction
- Scale: 9 benign workflows, namely messaging, contact creation, email, social posting, note writing, file management, calendar, paper trading, message-to-web navigation, covering 11 application scenarios. The stress layer has 12 registered adversarial goals, belonging to 9 consequence categories: content misuse, privacy exposure, financial impropriety, permission misuse, data integrity damage, resource misuse, dangerous content access, discrimination, phishing/social engineering. Total 108 executable instances.
- Inclusion: A workflow must have a common or safety-related user goal, a natural third-party content carrier, feasible benign and malicious paths, a resettable initial state, and an objective state oracle.
- Six stages: Goal Selection, State Initialization, Injection, Agent Execution, Dual Oracle, Trajectory Diagnosis. After restoring the snapshot, the adversarial goal is instantiated into the specified screenshot and/or UI/XML, and observations, reasons, parsed actions, goals, and state transitions are recorded.
- Quality control: Admission requires a complete schema, successful reset, payload visible in the declared channel, both paths executable, and the oracle replayable. The authors write that the 108 instances reuse workflow and goal structure and are not semantically or statistically independent. Figure 3 gives the distribution: in the activity domain, communication and social, and productivity and information management are 36 each (33.3%); application occurrences are a multi-label union, 206 total; message carriers 36 (33.3%).
CMCI
- Three conditions: The same adversarial instruction enters only the visual channel (VOI), only the textual channel (TOI), or each channel once (CMCI). In the dual-channel case, the injected content is the same in the rendered content and the corresponding textual interface representation.
- Equal-exposure control: TOI+ and VOI+ repeat twice within the same channel, used to separate cross-modal reinforcement from repeated presentation.
- The authors' account of the pathway: Visual presence anchors the instruction to the current interface, and the textual UI/XML makes it directly interpretable and executable; once the two are aligned, priority shifts from the trusted user goal to the injected goal. The corresponding numbers are placed in Question 4.
MRCD and RCI
- MRCD: Under a fixed adversarial goal, multiple role-style external signals are constructed, framing the goal as high-priority, seemingly user-initiated, already consent-confirmed, urgent, and with a rationale. The fragments correspond to authoritative priority, user goal statement, consent confirmation, and action rationale. The authors write that these fragments do not actually grant system permissions or represent user consent, and are used to test whether the agent treats role-style text in the environment as trusted control information.
- RCI: Exposes the adversarial goal with three visible components: the current application context, a bridge connected from the benign task state, and the registered adversarial instruction. The authors state it writes the malicious request as a locally coherent next step of the current task. Figure 4 illustrates the reasons and subsequent actions before and after adding RCI; the specific payload is not paraphrased.
- Matching factors: Template length, goal repetition, exposure rounds, and interface salience are listed as covariates. The control is used to check whether these factors are sufficient to explain the endpoint differences.
RSDF
- Five modules: Trajectory Collector records observations after first payload exposure, emitted reasons, executed actions, action goals, and device state; State Verifier uses deterministic Android/application oracles to judge completion; Reasoning Diagnoser labels awareness, reason hijacking, and action hijacking; Profile Aggregator aggregates metrics; Visual Reporter presents profiles and evidence-bearing trajectories.
- Endpoints: (ybi,yai)=V(τi;Cbi,Cai), taking values 0 or 1, compared against device state and not inferred from the tested agent's replies. UA is the proportion of benign completion under attack, and AGR is the proportion of episodes where the adversarial oracle triggers.
- Labels: Awareness must be explicitly connected to the injection source, conflict, or risk; general caution does not count; reason hijacking must adopt or substantially advance the adversarial goal, mere citation does not count; action hijacking requires an executed or pending action that substantially advances the adversarial oracle. Transition labels are SA, AD, RCO, FH.
- Constraints: If the adversarial oracle triggers, that episode has at least one action hijacking label; if there are reasons, at least one reason hijacking label. Proportions are first normalized to 0–1, then combined into a 0–100 auxiliary score by OSS = 40(1−AGR)+20SAR+20(1−RHR)+20(1−AHR). The diagnostic vector is proposed by an automatic semantic evaluator separate from the tested agent, then accepted, modified, or sent to automatic adjudication via trajectory anchors, endpoint consistency anchors, and conflict checks. The paper does not give the model name of this evaluator.
What experiments did the paper conduct?
The authors state that both frameworks are generally susceptible; MobAgent averages UA 17.59% and AGR 51.13%.
Experimental setup
- Models under test: GLM-4.5V, GLM-4.6V, Qwen2.5-VL-72B, Qwen3.5-122B, Qwen3.6-35B-A3B (written as Qwen3.6-35B in the table), Gemini-2.5-Flash, Gemini-3-Flash, GPT-4.1, GPT-5.4-Nano.
- Frameworks: Each model is connected to M3A Agent and MobAgent separately, 2×9 total. The frameworks themselves are not the MLLMs under test.
- Data: 108 stateful instances. The number of episodes for a complete framework–model condition is N=108. The paper states that most ablation and defense conditions also include all 108 instances.
- Attacks and defenses: Attacks include Direct, Ignore, InjecAgent, Important, Manipulation, as well as CMCI, MRCD, RCI. Defenses are Data Delimiters, Prescriptive, SCoT, Safe Guide, Safety Sandwich.
- Metrics and judgments: Outcome metrics UC, UA, AGR, OCM; trajectory metrics SAR, RHR, RHOR, RHD, AHR, AHAS, RATM, as well as RACR and the auxiliary score OSS in Figure 6. ↑ means higher is safer, ↓ means lower is safer. Completion is judged by a state oracle.
- Statistics: Supported comparisons report cluster-paired inference, the rest are full-grid point estimates. The paper does not report the semantic evaluator model, nor the number of queries.
Main results
Per Table 4 (MobAgent) and Table 5 (M3A). The table below omits Qwen2.5-VL-72B: on MobAgent UA 9.26%, AGR 39.81%; on M3A UA 1.85%, AGR 63.89%. It also omits GPT-4.1: on MobAgent UA 12.04%, AGR 40.74%; on M3A UA 17.59%, AGR 65.74%.
Swipe horizontally to read the table
Model MobAgent UA MobAgent AGR M3A UA M3A AGR GLM-4.5V 0.93% 83.33% 0.00% 85.19% GLM-4.6V 0.93% 66.67% 0.00% 14.81% Qwen3.5-122B 16.67% 50.93% 18.52% 60.19% Qwen3.6-35B 37.96% 39.81% 4.63% 12.04% Gemini-2.5-Flash 3.70% 77.78% 0.00% 70.37% Gemini-3-Flash 54.63% 24.07% 32.41% 54.63% GPT-5.4-Nano 22.22% 37.04% 25.00% 25.93% - Overall: The authors state the safety level is low and uneven. MobAgent average UA 17.59%, average AGR 51.13%; M3A average UA 11.11%, average AGR 50.31%. The Gemini-3-Flash numbers given by the authors are UA 54.63%, AGR 24.07%, the same as that model's row in Table 4; and they state GLM-4.5V on MobAgent is UA 0.93%, AGR 83.33%.
- Low AGR is not equal to hijack resistance: The authors state that on M3A GLM-4.6V's AGR is 14.81%, but UA is 0.00% and RHR is 77.78%; the adversarial goal may be uncompleted because the workflow cannot be executed, while the reasoning was already hijacked early.
- Reasoning and actions: The authors state the average RHR is 75.31% on MobAgent and 80.86% on M3A; the average AHR is 70.78% and 67.59% respectively. GLM-4.5V has the same RHR and AHR on both frameworks, 98.15%/98.15% and 99.07%/99.07% respectively. In Table 4, the lowest UC is 44.44% (GLM-4.6V, Qwen3.6-35B), and the highest is 100.00% (Qwen3.5-122B, GPT-4.1); Table 5 does not report UC.
Cross-modal and reinforced injection
- Equal-exposure CMCI: Figure 11, on Gemini-2.5-Flash, averages over the four main benign workflows. The authors state that text repetition changes AGR from 68.8% to 72.9%, after visual repetition AGR is 27.8%, and CMCI with one of each channel is 85.4% AGR, 0.0% UA. The authors accordingly state that it cannot be explained by repeated presentation alone. §3.3 further writes that of 108 paired instances, 30 are cases where neither VOI nor TOI reached the adversarial state while aligned CMCI did; that paragraph does not specify the model.
- Budget matching: Figure 12, also on Gemini-2.5-Flash and the four main workflows, aligns InjecAgent+, Manipulation+, Important+, and the full setting containing MRCD and RCI in length, goal repetition, exposure rounds, and interface salience. The authors state the former's AGR is 70.83%–77.08%, and the full setting is 85.40%, with UA 0.00%.
- RCI and figures without a labeled model: The authors state that in Figure 9, RCI raises the AGR of six base attacks by 5.6–16.7 percentage points, and UA decreases in every comparison; the caption does not write the model. The captions of Figure 7 and Figure 8 give no numbers and also do not write the model; the authors state that aligned visual–text injection has the lowest UA and highest AGR, and role-style cues strengthen MRCD.
Prompt-level defenses
- Table 9: Each of the five prompt defenses contains 108 instances. The table title does not write the model or framework. Baseline UA 0.93%, AGR 83.33%, RHR 98.15%, AHR 98.15%, OSS 7.96. SCoT's OSS is 23.52, AGR 70.37%, RHR 84.26%, AHR 80.56%, with UA still 0.93%. Safety Sandwich's UA is 9.26%, AGR 73.15%.
- Other cells in the same table: Data Delimiters' AGR is 84.26%, baseline 83.33%; Safe Guide's UA is 0.00%, baseline 0.93%. The authors state that prompt-level guidance is insufficient to preserve trustworthy tasks under cross-modal injection.
- Paired analysis: The authors state that SCoT lowers AGR by 12.96 percentage points, cluster interval [-3.70, 33.33], Holm-adjusted pHolm = 0.486. In the B1–A10 example in the text, after adding SCoT the decision after first exposure rejected the risk, but the benign oracle also did not pass; the specific query is not paraphrased.
Other ablations and analyses
- Figure 6: The authors state Gemini-3-Flash has the best profile, OSS 68.52, RACR 68.42%; GLM-4.5V is 7.96 and 98.43%, Gemini-2.5-Flash is 11.85 and 98.12%. That paragraph does not write the framework. These OSS values differ from the OSS column in Table 5. The paper does not give the RACR calculation formula.
- Table 6: The table title does not write the framework. Gemini-3-Flash's Q1 (safe-complete) is 54.63, GLM-4.5V's Q4 (unsafe-failed) is 83.33; the original does not add %. Q3 (unsafe-complete) is 0.00 for the remaining models in the table except Qwen3.6-35B, which is 0.93.
- Table 7: The table title does not write the framework. In the Average row, Privacy Leakage's AGR is 70.37%, RHR 87.04%; Resource Exhaustion's AGR is 3.70%, the lowest AGR in that row. The authors state that low UA and high AGR/RHR/AHR appear on several consequence categories.
- Table 8: The table title does not write the framework. All nine models' UA in both the Writing and Stocks columns is 0.00%; in the Average row Calendar's UA is 39.81%. Gemini-3-Flash's Website is UA 100.00%, AGR 0.00%.
- Hijack depth: On MobAgent GLM-4.5V's RHD is 100.00%, FH 95.27%; on M3A it is RHD 81.30%, FH 88.84%. The authors state that after hijacking begins, subsequent steps rarely recover.
- Stability: The authors state that in Figure 5 the highest variance across repeated runs of the RSDF metric shown is 2.15, and the highest for endpoint metrics is 3.85 (0–100 scale). GLM-4.5V, MobAgent's AGR across three seeds is 81.5% (88/108), 80.6% (87/108), 83.3% (90/108), a range of 2.7 percentage points.
What are some points that can be further explored?
The paper does not list limitations separately. The experiments state coverage of two frameworks, nine MLLMs and 108 instances.
Limitations and future directions noted by the authors
The paper has no dedicated Limitations, Discussion or Future Work section, nor does the Conclusion describe any result as a limitation or list experiments to be done. The Conclusion only describes MobileInject and RSDF as a benchmark and diagnostic foundation for studying and improving mobile agent safety.
Scope of experimental coverage
- Models and scale: §5 evaluates 9 MLLMs each on M3A Agent and MobAgent; the full framework–model conditions are N=108. Episodes stop at the benign oracle, the adversarial oracle, the agent declaring failure, or when a maximum of 20 steps is exhausted (§3.2, §5).
- Tasks and injection: the benchmark contains 11 scenarios, 9 benign workflows, 9 consequence categories and 108 instances; injection covers visual, textual and dual-channel, and includes the equal-exposure control for CMCI as well as MRCD and RCI (§3, §5.2).
- Defenses and statistics: §5.4 evaluates Data Delimiters, Prescriptive, SCoT, Safe Guide and Safety Sandwich; Table 9 contains 108 instances for each defense condition shown, and reports the cluster interval and pHolm for SCoT. The paper states that supported comparisons use cluster-paired inference and the rest report point estimates.
- Comparisons with the model stated: Figure 11 and Figure 12 state that they are for Gemini-2.5-Flash, averaged over the four main benign workflows. §5.5 reports variance across repeated runs and gives endpoint AGR for GLM-4.5V and MobAgent across three seeds.
- Information stated but not elaborated in the paper: the paper does not report the model name of the automatic semantic evaluator, nor give the RACR computation formula. The captions of Table 6, Table 7, Table 8, Table 9 and Figure 7, Figure 8, Figure 9 do not state the framework or the model under test; the 30/108 paired reversals in §3.3 do not state the model. §3.2 states that the 108 instances reuse workflow and goal structures and are not semantically or statistically independent.
Summarize the main content of the paper
MobileInject evaluates reasoning-to-action safety under cross-modal injection; the authors state that hijacking often propagates to unsafe actions.
MobileInject is an executable benchmark for examining whether, under cross-modal indirect injection, an MLLM mobile agent's reasoning is rewritten and becomes a verified unsafe action.
- Problem: System instructions and user tasks are the trusted root; the screen and UI/XML during execution are untrusted. Attackers can only modify these observations, not the prompt, parameters, or system. The authors care about whether the goal switches from the trusted task to the injected goal, and enters actions such as clicking and typing.
- Approach: 108 instances run in a resettable Android emulator, up to 20 steps, using a state oracle to simultaneously verify benign completion and adversarial completion. CMCI makes the same adversarial instruction appear in both the visual and textual channels; MRCD uses role-based external signals to probe the trust boundary; RCI writes the adversarial goal as a local continuation of the current task. RSDF additionally labels risk awareness, rationale hijacking, action hijacking, and transition type.
- Main results: The authors state that MobAgent averages UA 17.59% and AGR 51.13%, and M3A is 11.11% and 50.31%. The authors give Gemini-3-Flash as UA 54.63% and AGR 24.07%, the same as one row in Table 4; GLM-4.5V on MobAgent is 0.93% and 83.33%. Average RHR is 75.31% (MobAgent) and 80.86% (M3A).
- Comparison: On Gemini-2.5-Flash, across four main workflows, equal-exposure CMCI has AGR 85.4% and UA 0.0%. Of the 108 paired instances, 30 reach the adversarial state with aligned CMCI only; this passage does not state the model. In Table 9, SCoT has OSS 23.52 and AGR 70.37%, versus baseline 7.96 and 83.33%; the interval given by the authors crosses 0, pHolm = 0.486, and the table title does not state the model.
- Authors' conclusion: The authors state that current systems are broadly susceptible to untrusted visual and textual observations; cross-modal alignment strengthens attacks; rewritten reasoning often propagates to unsafe actions; existing prompt-level defenses provide only limited protection. The authors position MobileInject and RSDF as a benchmark and diagnostic foundation for studying and improving mobile agent safety.