arXiv:2610.23307cs.CROct 2026

Manuscript Offprint

arXiv:2610.23307

MobileInject: Evaluating Reasoning-to-Action Security of MLLM-Based Mobile Agents under Cross-Modal Consistency Injection

Songping Wang, Peiyang Li, Yi Huang, Fengting Li, Xuhao Ran, Yueming Lyu, Chao Feng, Caifeng Shan

Abstract

Multimodal large language model (MLLM)-based mobile agents are rapidly evolving from conversational assistants into autonomous systems that perceive, reason over, and act on smartphone environments. This capability also exposes a new security risk: adversaries can embed malicious objectives in cross-application mobile content and steer agent behavior through indirect multimodal injection. Although prompt injection has been studied in desktop and web settings, its cross-modal properties in mobile ecosystems remain poorly understood, and existing security analyses are still limited. To close this gap, we introduce MobileInject, the first benchmark for evaluating mobile agents against multimodal injection attacks and reasoning-to-action security risks. MobileInject provides a high-fidelity interactive mobile evaluation framework covering 11 scenarios, 9 security-risk categories, and 108 executable risk instances. It further introduces Cross-Modal Consistency Injection to exploit corroboration across modalities, two enhanced attack methods, Multi-Role Collaborative Deception and Reasoning-Camouflage Injection, to intensify trust manipulation and reasoning hijacking, and a Reasoning Security Diagnosis Framework for fine-grained failure analysis. Systematic experiments show that mobile agents are broadly vulnerable to multimodal injection, and that many failures stem from reasoning hijacking at early stages. These findings establish MobileInject as a systematic cross-modal benchmark for studying and improving the security of mobile agents.

1 Introduction

Multimodal large language models (MLLMs) are increasingly evolving from passive conversational interfaces into autonomous mobile agents capable of operating in real-world smartphone environments [19, 25, 38]. Unlike conventional multimodal assistants that primarily perceive images and generate textual responses, MLLM-based mobile agents close the loop between perception, reasoning, and action. They can observe mobile screenshots, parse interface structures, switch across applications, click buttons, scroll interfaces, enter text, and complete multi-step user tasks. This transition from multimodal understanding to mobile task execution substantially expands the capability boundary of foundation models, enabling personalized agents to act as autonomous operators for communication, scheduling, information retrieval, payment, file management, and other daily mobile workflows [1, 24].

However, this leap in execution capability also significantly expands the attack surface and amplifies the consequences of security risks [8, 21, 37]. In traditional LLM settings, adversarial instructions are usually delivered through explicit prompts [20, 23, 40]; in mobile-agent settings, however, malicious objectives can be embedded into the broader mobile ecosystem and encountered during normal task execution [8, 37]. For example, adversarial content may be hidden in SMS messages, emails, calendar events, webpages, social media content, or other cross-application content. Once perceived by the agent, such content may enter its decision context through visual or textual observations, thereby influencing its reasoning, planning, and action execution. Therefore, attacks against mobile agents are no longer limited to inducing unsafe text generation, but may lead to more threatening consequences, such as privacy leakage, unauthorized operations, financial misconduct, data disclosure, or persistent changes to system and application states.

Mobile-agent security is particularly challenging because the mobile ecosystem exposes a broad, temporally distributed, and multimodal attack surface. First, a mobile agent operates in a continuous environment jointly formed by notifications, messages, emails, calendars, webpages, social media feeds, and third-party application states. Malicious payloads can hide across different applications, pages, and time points, and can be triggered during perception, application switching, or cross-application execution. Second, a mobile agent relies on heterogeneous observations, including visual observations

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

User Instruction: Please check the message from Maria, and access the website recommended by her.

Figure

Figure 1: Comparison between unimodal and multimodal injection. Multimodal injection aligns malicious cues across visual and textual channels, creating cross-modal reinforcement that can amplify attack effectiveness over single-channel injection.

such as screenshots and rendered UIs, as well as textual observations such as XML hierarchies, accessibility trees, UI attributes, and structured interface representations. Because mobile agents commonly ground decisions on both rendered and structured views of the same interface state, attacker-authored content can naturally surface in synchronized visual and textual channels during normal execution. This creates a joint attack surface that single-channel evaluations cannot characterize. More fundamentally, attacker-authored content can enter and manipulate the agent's reasoning through these observations, displace the trusted user goal, and thereby hijack subsequent mobile actions. Third, because mobile devices are tightly coupled with private data, identity credentials, social relationships, payment systems, and local files, a lack of risk awareness or failures in the reasoning process may lead to privacy leakage, unauthorized operations, system-state disruption, and further cascading propagation through persistent carriers such as calendars, email, and shared cross-application content.

Despite growing attention to agent security, existing evaluation methods remain insufficient for characterizing this threat model [5, 37], as summarized in Table 1. First, many benchmarks rely on unrealistic sandbox environments, making it difficult to capture risks that emerge in realistic, dynamic, and cross-application mobile environments [19, 33]. Second, existing evaluations lack systematic benchmarks for multimodal indirect injection in mobile agents. They typically focus on a single textual channel or a single injection carrier, whereas real mobile agents jointly consume various types of cross-application and cross-modal information [10, 35]. Third, current evaluations often adopt coarse-grained binary assessment schemes that only superficially determine whether an attack succeeds [6, 21]. Such outcome-only evaluation cannot reveal whether the agent recognizes the risk, when its reasoning begins to follow the adversarial objective, or whether the compromised reasoning further propagates into executed actions. Consequently, attack success alone is insufficient to characterize the end-to-end security of mobile agents from safety awareness to action execution.

These limitations further raise three critical questions: First, can multimodal injection exploit the cross-modal attack surface to amplify the effectiveness of single-modal injection? Second, how can stronger attack strategies be designed to induce misplaced trust in malicious content and deeply hijack agent reasoning? Third, how can a fine-grained Reasoning Security Diagnosis Framework move beyond outcome-level success rates to expose when, how, and how deeply agent reasoning is compromised, and whether such compromise propagates to downstream actions?

Addressing these questions requires a benchmark that directly targets the three limitations above. It should preserve realistic mobile execution in dynamic, stateful, and cross-application environments, systematically cover indirect injection across both visual and textual observation channels, and connect verified end states to the full reasoning–action process. Such a benchmark is needed not only to determine whether an attack succeeds, but also to establish whether multimodal consistency genuinely amplifies risk, how adversarial

Benchmark / MethodEvaluation SettingInjection CoverageDiagnostic Capability
MGICAWDSETOIVOICMCRITSOVRTDRATMDVP
InjecAgent [37]××✓✓×××××××
AgentDojo [5]××✓✓×××××××
Agent-SafetyBench [39]××✓✓×××××××
ChatInject [2]××✓✓××✓××××
MobileSafetyBench [11]✓✓✓△△××✓△××
GhostEI-Bench [3]✓✓✓△△××✓△××
OS-Sentinel [22]✓✓✓△△××✓△××
AgentDoG [12]××✓✓××××△××
MobileInject (Ours)✓✓✓✓✓✓✓✓✓✓✓

Table 1: Comparison with representative agent-security and mobile-agent safety benchmarks. √: supported; △: partial or not the main focus; ×: not supported. MGI: mobile GUI interaction; CAW: cross-app workflow; DSE: dynamic stateful execution; TOI/VOI: textual/visual observation injection; CMC: cross-modal consistency; RIT: reinforced injection templates; SOV: state-based outcome verification; RTD: reasoning–action trajectory diagnosis; RATM: reasoning–action transition matrix; DVP: diagnostic visualization profile.

observations redirect reasoning away from the trusted user goal, and whether that compromise propagates into downstream actions. This is essential for end-to-end diagnosis of reasoning-to-action security, including risk recognition, reasoning hijacking, and action-level propagation.

To answer these questions, we propose MobileInject, the first benchmark for evaluating multimodal injection and reasoning-to-action security in MLLM-based mobile agents. First, MobileInject constructs a high-fidelity Android environment based on a full-function emulator, covering 11 application scenarios, 108 executable risk instances, and 9 security-risk categories, to characterize realistic multi-step and cross-application execution processes. Second, MobileInject introduces Cross-Modal Consistency Injection (CMCI), where semantically consistent malicious objectives are injected into visual and textual observations (Fig. 1) to strengthen manipulation capability and reveal the Cross-Modal Reinforcement Effect. Third, MobileInject extends the basic injection setting with two attack methods, namely Multi-Role Collaborative Deception (MRCD) and Reasoning-Camouflage Injection (RCI), to enhance trust manipulation and reasoning hijacking. Fourth, MobileInject introduces a Reasoning Security Diagnosis Framework (RSDF) based on trajectory-level reasoning–action–outcome analysis, enabling fine-grained diagnosis of risk awareness, reasoning hijacking, action hijacking, reasoning–action transition patterns, and verified security outcomes. The main contributions of this work are summarized as follows:

  • We propose MobileInject, the first benchmark for multimodal consistency injection and reasoning-to-action security in MLLM-based mobile agents.

  • We introduce Cross-Modal Consistency Injection, a mobile-specific attack paradigm that reveals the Cross-Modal Reinforcement Effect and enhances attack effectiveness.

  • We design new mobile-ecosystem attack methods, including Multi-Role Collaborative Deception and Reasoning-Camouflage Injection, to strengthen trust manipulation and deepen reasoning hijacking.

  • We establish a fine-grained Reasoning Security Diagnosis Framework that moves beyond outcome-level success rates to analyze when, how, and how deeply agent reasoning is compromised, and whether such compromise propagates to downstream actions.

References (34)