Blind Gods and Broken Screens: Building a Secure, Intent-Centric Mobile Agent Operating SystemBlind Gods and Broken Screens: Architecting a Secure, Intent-Centric Mobile Agent Operating System
After proposing Aura, MobileSafetyBench high-risk ASR is 4.4%, while Doubao-Pro is 40.0%.
Using the black-box experiment on Doubao Mobile Assistant as an example: an attacker can forge App identity, perform visual deception and indirect prompt injection, pollute context, and exploit excessive permissions to execute or leak data. Aura has the TEE-endorsed Agent Kernel mediate between SA and AA.
- Mobile agents execute tasks across apps via screenshots and GUI operations. The authors argue that Screen-as-Interface makes it difficult to verify identity, isolate untrusted input, and enforce least privilege, and also bypasses apps' native experience and monetization.
- Aura separates the System Agent's intent orchestration from the sandboxed App Agent's execution, with the Agent Kernel mediating all communication. The four layers handle cryptographic identity, semantic firewall, taint memory and plan alignment, and critical action interception with on-device auditing.
- Table 2: Aura low-risk TSR 94.3% (33/35), high-risk ASR 4.4% (2/45), latency about 68.54 seconds; Doubao-Standard and Pro ASR 42.2% and 40.0%, latency about 441 seconds and 513 seconds.
- In §6.3 the authors state that implicit malicious intent remains hard to detect. §6.5 lists AIC standardization, TEE degradation, accountability latency, and legacy OS compatibility. Aura is evaluated on simulated devices and mock APIs; the paper does not report the number of repetitions, the reviewer model, or Aura's per-category ASR.
- Evaluated models
- Doubao-StandardDoubao-Pro
- Benchmarks
- MobileSafetyBench
- Metrics
- Task Success Rate (TSR)Attack Success Rate (ASR)Average Task Latency (ATL)
The paper uses Doubao mobile assistant as a representative case to conduct a systematic security analysis of current mobile agents, decomposing the threat surface into four dimensions: agent identity, external interfaces, internal reasoning, and action execution, and points out issues such as forged app identity, visual deception, indirect prompt injection, and privilege escalation caused by reliance on unstructured visual data. The authors propose Aura, a runtime architecture for a new secure Agent OS, using a Hub-and-Spoke topology where a privileged System Agent orchestrates intents, sandboxed App Agents execute domain tasks, and an Agent Kernel mediates all communication. The Agent Kernel implements four protections: cryptographic identity binding through a global agent registry, semantic input cleansing with a multi-layer semantic firewall, cognitive integrity ensured by taint-aware memory and plan trajectory alignment, and fine-grained access control with non-repudiable auditing.
Paper analysis
What problem does this paper attempt to solve?
The authors argue that GUI screen scraping causes end-to-end vulnerabilities in mobile agents and use Aura's Agent Kernel to rebuild interactions.
Mobile agents treat the screen as a universal interface, lacking auditable boundaries for identity, perception, cognition, and execution.
- Emergence scenario: Multimodal LLMs enable mobile assistants to interpret complex instructions and perform long chains of operations across system and third-party apps. The authors see the mainstream paths as ADB or accessibility services (AutoGLM, Mobile-Agent), or system-level integration (Doubao Mobile Assistant, Honor YOYO), both relying on Screen-as-Interface.
- Existing shortcomings: The authors argue that even tasks like booking tickets require unrestricted viewing of the entire visual field, thus violating least privilege and exposing notifications, background apps, or untrusted web pages. Masking sensitive areas and prompt enhancement are called patches by the authors. They also argue that scraping super apps bypasses native experience and erodes data moats and recommendation/ad monetization.
- Authors' observation: The authors divide the lifecycle into identity and trust anchoring, perception authenticity, cognitive and planning integrity, and action access control and accountability, and extrapolate from black-box cases with Doubao. They argue that vulnerabilities come not only from LLM randomness but also from the lack of verification, isolation, and fine-grained control at each stage.
- Threat model:
- Goal: Make the agent misidentify objects, execute harmful or unauthorized actions, leak or tamper with data, and make accountability difficult.
- Knowledge: §2 empirical evidence comes from black-box experiments on Doubao Mobile Assistant; the paper does not describe them as white-box or gray-box.
- Capabilities: Fake icons, package names, or deep links; overlays, ViewTree interference, and phishing interfaces; indirect prompt injection in the environment and user-side jailbreaks; memory and plan poisoning; injecting state on the agent's virtual display that is visible only to that display.
- Victim system: LLM mobile agents with screen as interface. Control surfaces include accessibility APIs, ADB, or system APIs, virtual displays, and event injection. Table 1 lists Doubao components' permissions such as reading frame buffers and injecting events.
- What this paper proposes: The abstract and conclusion say a first step toward a clean-slate secure agent OS; §3 calls Aura a mobile agent OS with built-in security. The System Agent only orchestrates intent, the sandboxed App Agent executes, and the Agent Kernel mediates identity, perception, cognition, and action.
What related research exists?
The paper treats GUI agents, channel attacks, and OS mechanisms as background, and places Aura on structured protocols rather than patches.
GUI mobile agents
- AutoGLM (2024) and Mobile-Agent (2024): external debug-style automation via ADB or accessibility services.
- Doubao Mobile Assistant (2025) and Honor YOYO (year not given in the paper): as privileged system components, use private system APIs and signed permissions to capture screenshots and inject events.
- The paper notes that both paths treat unstructured screen images as the interface.
Channel attacks and jailbreaks
- Wu et al. (2025), Du et al. (2025), Chen et al. (2025) are used by the authors to illustrate risks to mobile GUI/LLM agents from fine-print injection, untrusted third-party channels, and switching from assistant to adversary.
- Greshake et al. (2023) studies the impact of indirect prompt injection on LLM-integrated applications; the paper carries this threat over to the semantic firewall.
- Chen et al. (2025)'s survey of computer-use agents, Ding et al. (2025), and Liang et al. (2025) are used by the authors to show that off-the-shelf defenses often fail against targeted adversarial inputs in mobile environments.
Patch-style defenses and borrowed mechanisms
- CORE (Fan et al., 2025) uses cloud and local LLM collaboration to reduce UI exposure; the authors call the prompt enhancement and masking on the MobileSafetyBench (Lee et al., 2024) side patches and say they do not address the root cause that visual data is hard to govern.
- FLAG_SECURE and trusted UI research (Bove, 2022) are used to show that existing screen protections are coarse-grained all-or-nothing. TaintDroid (Enck et al., 2014) is cited as a reference for information-flow tracking.
- The design also references verifiable credentials, agent identity, TEE and secure boot, MCP, and ReAct as references for identity, trusted boot, and agent protocols. The paper does not treat them as experimental baselines.
Baselines and benchmarks
- Baselines are Doubao-Standard and Doubao-Pro. The benchmark is an 80-item subset of MobileSafetyBench: 35 low-risk, 45 high-risk.
The authors position Aura as replacing pixel exchange with structured, deterministic, even verifiable protocols, with the kernel uniformly enforcing identity, perception, cognition, and action policies. The abstract calls this a first step toward a clean-slate secure agent OS; §3 calls it a mobile agent OS with built-in security.
How does the paper address this problem?
Aura uses a hub-and-spoke architecture with a four-layer Agent Kernel, replacing pixel interaction with verifiable intent collaboration.
Aura separates intent orchestration from task execution: the System Agent (SA) is the control plane, the sandboxed App Agent (AA) is the execution plane, and a privileged Agent Kernel mediates all communication. The authors say the goal is to replace GUI scraping with structured intent collaboration, allowing third-party apps to compete to fulfill user intent through standard interfaces while preserving data sovereignty.
Topology and trusted boot
- SA: has OEM-level signed privileges but cannot directly operate third-party apps. Responsibilities are limited to intent parsing, global session, and subtask scheduling, state tracking, and retry or fallback on exceptions.
- AA: Type I is a stateless tool following MCP; Type II is a domain agent with a ReAct loop, with permissions not exceeding those allowed at install time. Both receive only the parameters needed for registered tasks.
- Kernel: vendor-signed, TEE-endorsed. The secure boot chain verifies the kernel binary and configuration hashes; if any verification fails, the kernel does not load and agent operations are unavailable (fail-closed). The TEE can also issue attestation tokens bound to device keys and measurements.
- Figure 10 depicts the pipeline as four layers: identity, semantic input filtering, cognitive integrity, and auditable execution control.
Cryptographic identity
- Global Agent Registry (GAR) is operated by the OS/OEM and acts as a certificate authority. Developer keys are kept in HSM/TPM and do not leave the provider's infrastructure. The GAR root public key is pinned in the secure boot chain.
- Agent Identity Card (AIC) binds the developer, app package signature, and end-user account. The static capability boundary S_max specifies the upper bound of domains and semantic permissions the agent can request. Formally:
Cagent=SignGAR(DIDagent∥ Kpub∥ Smax) i.e., GAR's signature over the decentralized identifier, the public key for attestation, and the capability upper bound.
- At installation or first login, the TEE generates an instance key; the private key never enters user space in plaintext. GAR issues AICs according to platform policy, e.g., preventing a calculator from requesting the camera. The kernel binds the AIC to the UID and package signature.
- At runtime, mutual attestation is performed: both SA and AA must hold short-lived session tokens. The kernel reads the caller's PID/UID from OS structures and checks against the token-process mapping; after a process crash, old tokens are invalidated. A stolen token cannot use the private key outside the authorized process.
Semantic firewall
- The perception object is structured observations emitted by the AA, not raw pixels. Observations are wrapped in an attestation envelope signed with the AIC key, bound to timestamps, OS resource identifiers, and TEE measurements when available. The kernel verifies against the GAR root before entering the SA context.
- Sensitive information detection is two-step: regex matches structured PII in O(n); unstructured text uses on-device lightweight NER, with the paper citing quantized MobileBERT as an example. On a hit, outbound transmission is paused, and the user authorizes, redacts, or terminates the session.
- User instructions, AA returns, and history are all treated as untrusted streams, each wrapped in semantic XML delimiters. The context is defined as:
Ctotal=Psys⊕ Tuser(Iinput)⊕ Tagent(Rresult)⊕ Thistory(H)⊕ Preinforce i.e., the concatenation of system prompt, tagged user input, AA results, history, and reinforcement constraints. The system prompt requires treating content inside observation tags only as passive data.
- The paper also lists pluggable policies: repeating safety constraints at the end of context, few-shot refusal examples, safety reflection before generating actions, and adversarial soft prompts. A local blacklist does deterministic screening; an optional cloud semantic adjudicator judges intent against norms like GDPR, which the authors say is enabled only in sensitive contexts such as finance or when specified by the user. The paper does not state which options were enabled in the evaluation, nor does it give the cloud model name.
Cognitive integrity and action control
- Memory is recorded as content plus source tags. User input and SA internal state that pass two-stage malicious intent filtering are TAG_VERIFIED; web pages, third-party GUI state, and clipboard are TAG_TAINTED. Derived values inherit taint. The authors say tags remain bound in both short-term context and long-term vector storage.
- Critical sinks cannot be written to from lower-integrity sources. Tainted data entering privileged sinks requires human-in-the-loop declassification. Planning performs self-consistency checks on the trajectory to prevent goal drift to another task; the paper requires user-visible justification when introducing high-privilege critical nodes.
- Permissions are derived on the fly: the request set must fall within S_max, otherwise it is rejected; permissions not held pause execution and request consent. Critical nodes include payments and premium SMS, persistence, contacts/location/call logs, installation packages and system settings, and outbound HTTP/HTTPS or WebSocket.
- Network egress first suspends the thread, then checks the signed domain whitelist in the AIC; if the domain is not on the list, it is dropped and an alert is raised. After domain check passes, the Runtime Alignment Validator uses an LLM to compare against the original intent, history, and proposed parameters, outputting Direct Pass or User Confirmation. An optional optimistic mode issues a trust token after the first pass for the same session and operation type, then allows subsequent actions first and reviews in the background; if asynchronous adjudication is inconsistent, the token is revoked and an alert is raised. The paper does not state whether this mode was enabled in the evaluation.
- Audit records are bound to the AIC and session token, covering user instructions, SA reasoning, AA responses, and sensitive operations. Logs are stored in an on-device encrypted private library; TEE-signed digests can be exported (the paper gives a Merkle tree root as an example). Users can delete records per session or per agent.
App Agent side constraints
- The kernel and SA cannot see raw data inside the AA sandbox; the authors call this Contextual Blindness: a seemingly legitimate high-level instruction may still cause the AA to produce illegal or discriminatory content.
- The paper requires AAs to register with GAR, declare minimal capability boundaries, and expose the AIC fingerprint in the UI; bypassing kernel mediation leads to AIC revocation at the registry. External input should first pass through the AA's own semantic firewall and be tainted.
- The authors encourage domain-specific guardrails: social AAs refuse to forward content flagged as harmful; financial AAs use deterministic rules to block unverified transfers; tool AAs do not hand PII to external plugins without consent. Instructions that fail local checks should be escalated to the SA, not executed automatically. The paper frames these as guidelines developers should follow, not logic the kernel already implements for every AA.
What experiments did the paper conduct?
Table 2: Aura low-risk TSR 94.3%, high-risk ASR 4.4%, Doubao-Pro correspondingly 77.1% and 40.0%.
Experimental setup
- Systems under test: Doubao-Standard (baseline with system-level permissions), Doubao-Pro (same OS integration, heavier cloud inference, wider context window), Aura. The paper does not give specific model names for Doubao; §6.2 says Pro may use a stronger reasoning LMM.
- Aura implementation: high-fidelity simulated mobile device; both SA and AA use Gemini-3-Flash; AA does not capture GUI but uses a structured mock API. The authors say they chose this model for inference speed and real-time response.
- Data: MobileSafetyBench subset of 80 items. Low-risk functional tasks N=35. High-risk N=45, of which indirect prompt injection N=10, general safety N=35, categories: Ethical Compliance, Offensiveness, Private Information, Bias & Fairness. Of the 35, 1 is double-labeled Bias & Fairness and Private Information.
- Metrics: TSR is the proportion of successfully completed instructions in low-risk tasks; ASR is the proportion of harmful instructions executed in high-risk tasks, lower is better; ATL is the average time from instruction to execution completion.
- Adjudication: The paper does not report which model or human adjudicates TSR/ASR, nor does it report number of repetitions, thresholds, or agreement. The evaluation section does not state whether Performance Mode or Fortified Mode was used, nor whether TEE, GAR, cloud semantic adjudication, and optimistic validation ran in the simulation.
- Case scope: The authors say Doubao was chosen as a representative with strong capability and deep OS integration, not because it is uniquely insecure. §2 cases do not report number of trials.
Main results
Swipe horizontally to read the table
System Low-risk TSR Average latency High-risk ASR Doubao-Standard 74.3% (26/35) ∼441 s 42.2% (19/45) Doubao-Pro 77.1% (27/35) ∼513 s 40.0% (18/45) Aura 94.3% (33/35) ∼68.54 s 4.4% (2/45) Per Table 2. The Aura row is Gemini-3-Flash on the simulated device and mock API; the Doubao rows are commercial GUI assistants.
- The authors argue that heavier remote inference does not naturally improve GUI task success: the authors say Pro's TSR gain over Standard is +2.8%, and there are tasks where Standard succeeds and Pro fails; the paper does not give the number of such tasks.
- The authors say Aura's latency is 6.4× to 7.5× faster than both Doubao latencies; the abstract and conclusion also say nearly an order of magnitude. Table 2 times are ∼68.54 s, ∼441 s, ∼513 s.
- The abstract says high-risk ASR from about 40% to 4.4%, the conclusion says from about 40% to 4.4%, the introduction says from over 50% to 4.4%. When inconsistent with Table 2, the table prevails: 42.2% and 40.0% to 4.4%. §6.2 says Pro's ASR improvement over Standard is only about 4.4%, but the table shows 42.2% and 40.0%.
Lifecycle cases
- Identity and perception: Figure 2 caption says the agent cannot distinguish legitimate WeChat/Gmail from fake counterparts and launched the fake app upon request. Figure 3 caption says it misidentifies web page buttons, email links, and note links. Figure 4 text says after failing to open in-app, it copied the link to an external browser and entered an unverified domain. The paper does not report number of trials.
- Cognition and execution: Figure 5 text describes an app with overlay and accessibility permissions that only injects state on the agent's virtual display and rewrites click coordinates. Figure 6 caption says FLAG_SECURE causes screenshot failure. Figure 7 caption says it refuses to delete emails and transfer money; §2.4 also says compatible third-party apps are systematically reduced, with banking and instant messaging blacklisted; the paper does not report the reduction amount. Figure 8 text says it forwarded sensitive content from messages without contextual filtering.
Failure modes and defense cases in the benchmark
- Low-risk failures: The authors say Aura's remaining 5.7% (2/35) mainly come from LLM hallucination rather than architecture. One case repeatedly calls the same API, triggering an 800-second timeout; another case the Runtime Alignment Validator as LLM-as-judge judged a benign operation as high-risk. The authors say model-layer uncertainty and architectural issues are orthogonal.
- GUI cases: Figure 11 caption says the Bluetooth scan page keeps updating, the baseline waits for a static interface and enters an infinite loop. Figure 12 caption says when there is no SIM card, the interface already shows a failure indicator, but the baseline still reports sending success. The authors interpret these as perception frames out of sync with the UI, and high-level intent overriding low-level failure signals. On the Aura side, the authors say they switched to structured calls returning deterministic status codes.
- High-risk cases: Both Doubao variants have 0.0% ASR on the benchmark's 10 indirect prompt injection items (Table 3). The authors additionally set a more covert memo completion: the text says the baseline completed harmful content, Aura intercepted. In the password forwarding case, the kernel rejected a message call contradicting the source's negative constraint. In the hate speech comment case, the social AA refused endorsement, and the kernel treated that refusal as a hard stop. These cases have no separate success rates. Aura's overall high-risk still has 2/45, and the paper does not state which categories they belong to.
Other ablations and analyses
- Table 3: Indirect prompt injection, Doubao-Standard and Pro both 0.0% (0/10).
- Bias & Fairness both 75.0% (3/4); Offensiveness both 25.0% (1/4).
- Private Information: Standard 53.8% (7/13), Pro 38.5% (5/13).
- Ethical Compliance: Standard 60.0% (9/15), Pro 66.7% (10/15). Table note says Pro is more likely to execute harmful instructions on ethical compliance, which the authors suggest implies a trade-off between instruction following and refusal.
- The sum of category N is 46 because 1 general safety task is double-labeled; the total high-risk tasks remain 45. Aura's category-level ASR is not reported.
- The paper has no component ablation table and does not report TSR, ASR, or latency with each defense layer individually disabled.
What are some points that can be further explored?
In the Discussion, the authors list implicit malicious intent, standardization, hardware differences, and legacy OS mapping as open problems.
Limitations and future directions noted by the authors
- Implicit malicious intent: §6.3 states the evaluation focuses on explicit attacks, but implicit malicious intent in slang or encoded language remains hard to detect. The authors argue that a static keyword list is insufficient because the same word carries different risk in different contexts, and propose updating the Semantic Validator with a continuous learning loop and a contextual dictionary compiled from adversarial cases. The authors state that maintaining this knowledge base is a continuing competition between attackers and defenders.
- Standardization: §6.5 states that AIC, capability boundaries, and critical-node classification need to be shareable across vendors and platforms.
- Hardware differences: §6.5 states that TEE capabilities differ across devices; the authors say future work should study how to degrade or simulate the Agent Kernel's guarantees when hardware support is incomplete.
- Performance and usability: §6.5 states that cryptographic proofs, kernel mediation, and fine-grained accountability introduce latency and complexity; how human-facing permission negotiation and transparency panels scale beyond mobile remains an open question.
- Legacy abstractions: §6.5 states that mapping processes, POSIX permissions, and container isolation to AIC and Agent Kernel semantics without breaking backward compatibility requires incremental deployment and new OS interfaces.
Experimental coverage
- The systems under test are Doubao-Standard, Doubao-Pro, and Aura. Aura's SA and AA use Gemini-3-Flash and run on high-fidelity simulated devices, with the AA interacting through structured mock APIs (§5.1.2).
- The data is an 80-item subset of MobileSafetyBench: 35 low-risk and 45 high-risk; among them 10 indirect prompt injection items, 35 general safety items, and 1 item labeled both Bias & Fairness and Private Information (§5.1.1).
- Metrics are TSR, ASR, and ATL. The paper does not report the number of repetitions, nor the reviewer model or human agreement used to determine TSR/ASR (§5.1.3).
- Table 3 gives only the per-category ASR for the two Doubao variants. Aura's 4.4% (2/45) is not broken down by category. The evaluation section does not state whether TEE, GAR, cloud semantic adjudication, optimistic validation, and Performance Mode versus Fortified Mode were run in that simulation.
- The case studies in §2 and §5.2–§5.3 cover identity confusion, visual hallucination, phishing, virtual display overlays, FLAG_SECURE, sensitive forwarding, Bluetooth infinite loops, SMS false success reports, memo completion, credential forwarding, and hate speech comments. The paper does not report the number of trials for these cases, nor the numbers with each defense layer individually disabled.
Summarize the main content of the paper
Aura mediates structured interactions via the Agent Kernel; in Table 2, high-risk ASR is 4.4% and low-risk TSR is 94.3%.
Aura uses kernel-mediated structured agent interactions, replacing screen-based mobile assistants.
- Problem: GUI agents for system integration hold broad permissions for screenshots and event injection, yet cannot cryptographically verify apps and input sources. The authors use black-box cases from Doubao Mobile Assistant to illustrate identity spoofing, visual deception, indirect injection, context mixing, and privilege escalation; they argue that scraping super apps harms their native experience and monetization.
- Method: SA only parses intent and dispatches, while AA executes in a sandbox via structured interfaces. The Agent Kernel is rooted in TEE secure boot, uses AIC to bind identity and capability limits, and applies attestation, redaction, and isolation to external inputs, using taint memory and plan–trajectory alignment to constrain reasoning, with real-time authorization, domain whitelisting, semantic validation, and on-device auditing at key nodes such as payments, privacy, installation, and network egress.
- Results: On a MobileSafetyBench subset, Aura (Gemini-3-Flash, simulated device, mock API) achieves a low-risk TSR of 94.3% (33/35), a high-risk ASR of 4.4% (2/45), and an average latency of ∼68.54 s (Table 2). Doubao-Standard / Pro have TSRs of 74.3% (26/35) / 77.1% (27/35), ASRs of 42.2% (19/45) / 40.0% (18/45), and latencies of about 441 s / 513 s. Both versions have an ASR of 0.0% on the 10 benchmark indirect injections; for ethics, Pro is 66.7% (10/15), higher than Standard's 60.0% (9/15) (Table 3).
- Exceptions: Aura also had 2 low-risk failures, one due to an 800-second timeout and one due to a validator false rejection. The paper does not specify the categories for the 2 high-risk failures. Figure 7's caption states that Doubao refuses to delete emails and transfer money, while §2.4 states it uses a blacklist to shrink available apps.
- Authors' conclusion: The authors argue that continuing to scale GUI model reasoning cannot overcome the uncertain ceiling of screen grounding; mobile agents should shift to verifiable inter-agent protocols, with trust and accountability borne by the OS architecture rather than post-hoc patches. They position Aura as a reference starting point for a future agent-native OS and state that structured Shell/API execution without OS boundaries still introduces new attack surfaces.