Manuscript Offprint

arXiv:2609.10117

Understanding the Security Boundary of Obfuscation-based On-Device LLM Protection

Hanyi Zhou, Chenyang Li, Yuanzhe Pang, Ke Xu, Mingwei Xu, Zhuotao Liu

Hanyi Zhou

Tsinghua University

Beijing, China

hy-zhou24@mails.tsinghua.edu.cn

Chenyang Li

Tsinghua University

Beijing, China

lcy23@mails.tsinghua.edu.cn

Ke Xu

Tsinghua University

Beijing, China

xuke@tsinghua.edu.cn

Yuanzhe Pang

Tsinghua University

Beijing, China

pangyz24@mails.tsinghua.edu.cn

Mingwei Xu

Tsinghua University

Beijing, China

xumw@tsinghua.edu.cn

Zhuotao Liu

Tsinghua University

Beijing, China

zhuotaoliu@tsinghua.edu.cn

Abstract

Trusted Execution Environments (TEEs) offer a promising mechanism for safeguarding the intellectual property of on-device Large Language Models (LLMs). To overcome the inherent computational bottlenecks of TEEs, existing TEE-Shielded LLM Partition (TSLP) methods apply efficient obfuscation schemes to computationally intensive layers, offloading them to external GPUs while retaining only lightweight operations within the TEE. Although a growing body of TSLP-based approaches has emerged, these defense mechanisms remain largely heuristic. Consequently, some methods are proven vulnerable to certain specialized adversarial attacks designed to exploit their specific architectural implementations.

To overcome the limitations of these heuristic designs, this paper addresses a fundamental research question: can we establish common primitives to unify representative prior methodologies, characterize the security boundary of their compositions, and systematically extend them? To this end, we formalize a set of obfuscation primitives, defined as dual-tuples of linear computations satisfying specific algebraic properties. We demonstrate that the matrix-level weight transformations of the representative efficient TSLP frameworks studied in this paper can be expressed as compositions of these primitives; consequently, the canonical form of these primitive compositions, denoted as OpriorO_{prior}, characterizes the structural boundary of this primitive family. We then expose the vulnerabilities of OpriorO_{prior} through a novel primitive-guided attack methodology, COLLAPSE, demonstrating a shared vulnerability in several prominent TSLP methods published in top-tier venues, such as ArrowCloak (Security'25), TSQP (S&P'25), and LoRO (NeurIPS'25). Finally, we introduce two novel obfuscation primitives and integrate them with existing constructs to formulate OextO_{ext}, extending this security boundary.

Keywords

On-Device LLM Protection, Trusted Execution Environment, Weight Obfuscation, Model Stealing

References (17)