Abstract
Android apps can hold secret strings of themselves such as cloud service credentials or encryption keys. Leakage of such secret strings can induce unprecedented consequences like monetary losses or leakage of user private information. In practice, various security issues were reported because many apps failed to protect their secrets. However, litte is known about the types, usages, exploitability, and consequences of app secret leakage issues. While a large body of literature has been devoted to studying user private information leakage, there is no systematic study characterizing app secret leakage issues. How far are Android app secrets from being stolen? To bridge this gap, we conducted the first systematic study to characterize app secret leakage issues in Android apps based on 575 potential app secrets sampled from 14,665 popular Android apps on Google Play. We summarized the common categories of leaked app secrets, assessed their security impacts and disclosed app bad practices in storing app secrets. We devised a text mining strategy using regular expressions and demonstrated that numerous app secrets can be easily stolen, even from the highly popular Android apps on Google. In a follow-up study, we harvested 3,711 distinct exploitable app secrets through automatic analysis. Our findings highlight the prevalence of this problem and call for greater attention to app secret protection. © The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2025.
Original language | English |
---|---|
Article number | 90 |
Journal | Empirical Software Engineering |
Volume | 30 |
Issue number | 3 |
Online published | 2 Apr 2025 |
DOIs | |
Publication status | Published - May 2025 |
Funding
We would like to thank all the reviewers for their constructive feedback that helped us improve this paper. This work was supported by Natural Sciences and Engineering Research Council of Canada Discovery Grant (Grant No. RGPIN-2022-03744 and Grant No. DGECR-2022-00378), FRQNT/NSERC NOVA program (Grant no. 2024-NOVA-346499), The Hong Kong Postdoctoral Fellowship (Grant no. PDFS2021-6S06), Hong Kong Research Grant Council/General Research Fund (Grant No. 16205821), and that start-up grant of City University of Hong Kong (Grant no. 9610676).
Research Keywords
- Android
- Android security
- Secret leak