Zhiao Wei, University of Waterloo; Chao Wang, The Ohio State University; Haseeb-Ur-Rehman Faheem, University of Waterloo; Luyi Xing, University of Illinois Urbana-Champaign; Yousra Aafer, University of Waterloo; Zhiqiang Lin, The Ohio State University
Mini-programs embedded within super-apps like WeChat have surged in popularity due to their flexibility and convenience, offering rich functionalities through underlying APIs. However, this tight integration introduces serious security risks: mini-programs often inherit the mobile operating system's permissions granted to their host super-app, potentially bypassing critical security checks. In this paper, we address the urgent need for more fine-grained access control tailored to mini-programs. We propose PERMSCOPE, a systematic framework to detect and analyze missing scope checks in mini-program APIs, revealing instances where Android permissions are implicitly inherited and exercised in mini-program APIs, i.e., cases where "ask and check'' primitives are absent. Our empirical analysis of four major super-apps reveals that 183 (8.85%) APIs are not properly protected at the mini-program API layer. We discuss the challenges underlying this issue and advocate for super-app developers to enforce fine-grained access control mechanisms at the API boundary, thereby strengthening the trustworthiness of the mobile super-app ecosystem.
USENIX Security '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Zhiao Wei and Chao Wang and Haseeb-Ur-Rehman Faheem and Luyi Xing and Yousra Aafer and Zhiqiang Lin},
title = {Raising the Flag: Detecting Missing Permission Controls in {Mini-Program} {APIs}},
booktitle = {35th USENIX Security Symposium (USENIX Security 26)},
year = {2026},
isbn = {978-1-939133-58-8},
address = {Baltimore, MD},
pages = {5021--5038},
url = {https://www.usenix.org/conference/usenixsecurity26/presentation/wei-zhiao},
publisher = {USENIX Association},
month = aug
}