SoK: Attack and Defense Landscape of Mobile On-device AI Systems

Yujin Huang, Xin Zheng, Xingliang Yuan, Kwok-Yan LamarXiv 2026

TL;DR

This paper presents the first comprehensive Systematization of Knowledge (SoK) on Mobile On-device AI (MOAI) security, mapping out the unique threat vectors and defense mechanisms that arise when AI models are stored and executed locally on smartphones. By establishing three core security pillars and identifying nine critical open problems, the authors provide a foundational framework to guide researchers and engineers toward building robust, secure mobile AI ecosystems.

What Problem Does This Paper Address?

Mobile On-device AI (MOAI) is rapidly replacing cloud-based AI by shifting inference directly onto user devices to achieve low latency, offline capability, and enhanced user privacy. However, because these proprietary and sensitive AI models must reside locally within the untrusted mobile stack, they are exposed to entirely new security risks.

Overview of the evolution, system paradigm, and security scope of MOAI systems.

While prior literature extensively covers security for cloud AI, Edge AI, or highly resource-constrained TinyML microcontrollers, it fails to address the unique realities of modern smartphones—such as complex mobile operating systems, specialized hardware accelerators (NPUs, GPUs), and app-level data handling. This paper addresses the lack of a holistic, end-to-end system perspective on how local mobile deployment reshapes trust boundaries and introduces distinct vulnerabilities.

Methods

The authors systematically construct an analytical framework for MOAI security by breaking the system down into four operational layers: the Input Interface, AI Model Artifact, Runtime Execution, and Hardware Isolation.

Using this architecture, they define three foundational Security Pillars:

  • Pillar I: User-governed Input Integrity (protecting what the model sees from acquisition to consumption).
  • Pillar II: Device-resident Model Security (safeguarding model confidentiality and integrity post-deployment).
  • Pillar III: Device-native Environment Confinement (isolating runtime states and intermediate tensors from local interference).

The paper then categorizes the existing literature into a structured Attack Taxonomy (covering adversarial, backdoor, adversarial weight, model stealing, and energy-latency attacks) and a Defense Taxonomy (covering model obfuscation, model authorization, Trusted Execution Environments (TEEs), and model watermarking). Finally, they perform a cross-pillar analysis to map these techniques against 9 newly identified Open Problems (OPs).

Datasets

As a Systematization of Knowledge (SoK) paper, this work does not introduce a new empirical dataset. Instead, it synthesizes, reviews, and evaluates findings from dozens of prior security studies. The analysis covers security evaluations performed across mainstream mobile AI frameworks (including TensorFlow Lite/LiteRT, CoreML, and ExecuTorch) and real-world applications from the Google Play Store and iOS App Store ecosystem.

Key Insights and Ideas

  • Security Asymmetry: Unlike cloud AI, where attackers are primarily restricted to manipulating inputs, MOAI's local presence makes Pillar II (Model Security) the central battleground. Attackers can easily reverse-engineer model files or perform memory dumps to extract raw weights.
  • The Client-Side Enforcement Flaw: Many current model authorization defenses rely on client-side code to check credentials or verify hashes. This creates a fundamental flaw where an attacker can simply patch, repackage, or instrument the app to bypass the checks entirely.
  • The Executable Equivalence Dilemma: Model obfuscation faces a hard theoretical limit. No matter how thoroughly a model's structure or weights are hidden or transformed before deployment, they must eventually be reconstructed into their original functional form during runtime execution to ensure accurate inference, leaving them vulnerable to dynamic extraction.
  • Hardware Heterogeneity Bottleneck: Both attacks (like energy-latency sponge poisoning) and defenses (like TEE-backed partitioned execution) are highly sensitive to specific hardware backends. A defense optimized for a specific NPU or GPU delegate may fail to generalize across the highly fragmented Android hardware ecosystem.

Key Results

The paper provides a valuable quantitative synthesis of the security-cost trade-offs inherent in current mobile AI defenses:

  • Model Obfuscation: Software-level concealment tools (e.g., ModelObfuscator) successfully lower structural similarity to 0.67 with negligible latency overhead (~1%), but they incur a ~20% RAM overhead and cause app package sizes to balloon by up to 59.8 MB.
  • Model Authorization: Frameworks like MMGuard effectively bind model utility to app signatures, but they introduce massive initialization delays, causing startup overheads of 50–69% (averaging 449 ms).
  • Trusted Execution Environments (TEEs): Running large language models inside a monolithic TEE (e.g., TZ-LLM) protects parameters but introduces a 5.2–28.3% Time-to-First-Token (TTFT) latency penalty. Partitioned execution (e.g., TensorShield) offers up to a 25.35× speedup over full TEEs but demands intensive offline hardware profiling (up to 1.5 hours).
  • Model Watermarking: Post-compromise accountability tools like THEMIS achieve an 80%+ watermark verification success rate but can degrade benign model accuracy by up to 12.76% when training data is scarce.

Limitations and Future Work

The authors note that existing MOAI security research is heavily bottlenecked by its focus on static, inference-only, vision-based models. To address this, they outline three critical future research directions:

  1. Security of On-Device Training: Investigating how local fine-tuning and federated learning expose runtime gradients and private user data to local extraction.
  2. On-Device Generative AI (GenAI): Developing lightweight, local defenses against prompt injection, jailbreaking, and unintended data disclosure specifically tailored for mobile LLMs.
  3. Agentic MOAI Systems: Moving beyond prompt-level security to govern end-to-end "context-to-action" chains, ensuring that autonomous on-device AI agents cannot be manipulated into executing unauthorized OS operations or cross-app data leaks.

Summary updated

BibTeX
@misc{huang2026sok,
  author = {Yujin Huang and Xin Zheng and Xingliang Yuan and Kwok-Yan Lam},
  title = {{SoK: Attack and Defense Landscape of Mobile On-device AI Systems}},
  year = {2026},
  eprint = {2607.00362},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.00362},
}
Figure