Research Article

LLM-PrivCheck : Detecting Privacy Policy Violations in Android Applications with LLMs

Zexiong Xiang1, Shanshan Wang1,2,*
1. School of Information Science and Engineering, University of Jinan, Jinan, China
2. Quan Cheng Laboratory, Jinan, China

* Corresponding author: [email protected]

Abstract

With the widespread use of Android applications, frequent access to personal user data (such as location information and device identifiers) has become the norm. However, inconsistencies between privacy policy statements and actual app behavior often lead to significant privacy risks. This paper proposes a consistency detection method, LLM-PrivCheck, based on large language models (LLMs), which automatically checks whether the data collection statements in privacy policies align with the actual behavior of applications. LLM-PrivCheck utilizes LLMs for privacy policy parsing and combines taint analysis techniques to track data flows, ultimately achieving consistency detection through ontology mapping. Experimental results show that in tests on 960 commercial applications from Google Play, LLM-PrivCheck detected that 96.25% of the apps had inconsistencies between their privacy policies and actual behavior.

Keywords: Android applications; privacy policies; consistency detection; taint analysis
Published: May 19, 2025
DOI: 10.54254/2755-2721/2025.23103
Volume: ACE Vol.151
pp. 169-176
Download PDF

References

  1. Voigt P, Von dem Bussche A. The eu general data protection regulation (gdpr)[J]. A practical guide, 1st ed., Cham: Springer International Publishing, 2017, 10(3152676): 10-5555.
  2. Bonta R. California consumer privacy act (CCPA)[J]. Retrieved from State of California Department of Justice: https://oag. ca. gov/privacy/ccpa, 2022.
  3. Wilman F. The Digital Services Act (DSA)-An Overview[J]. Available at SSRN 4304586, 2022.
  4. Egelman S. Taking responsibility for someone else’s code: Studying the privacy behaviors of mobile apps at scale[C]//2020 {USENIX} Conference on Privacy Engineering Practice and Respect ({PEPR} 20). 2020.
  5. Lima J G, Giusti R, Dias-Neto A C. LeakPred: An Approach for Identifying Components with Resource Leaks in Android Mobile Applications[J]. Computers, 2024, 13(6): 140.
  6. Andow B, Mahmud S Y, Whitaker J, et al. Actions speak louder than words:{Entity-Sensitive} privacy policy and data flow analysis with {PoliCheck}[C]//29th USENIX Security Symposium (USENIX Security 20). 2020: 985-1002.
  7. Vom Brocke J, Hevner A, Maedche A. Introduction to design science research[J]. Design science research. Cases, 2020: 1-13.
  8. Lima J G, Giusti R, Dias-Neto A C. LeakPred: An Approach for Identifying Components with Resource Leaks in Android Mobile Applications[J]. Computers, 2024, 13(6): 140.
  9. Rodriguez D, Yang I, Del Alamo J M, et al. Large language models: a new approach for privacy policy analysis at scale[J]. Computing, 2024, 106(12): 3879-3903.
  10. Tan, Z. Y. Research on Android Applications Leaking User Privacy to Third Parties. Nanjing University of Science and Technology, 2021. DOI:10.27241/d.cnki.gnjgu.2021.003590.
  11. Arora S, Hosseini H, Utz C, et al. A tale of two regulatory regimes: Creation and analysis of a bilingual privacy policy corpus[C]//LREC proceedings. 2022.
  12. Liu Y, Wang J, Wei L, et al. DroidLeaks: a comprehensive database of resource leaks in Android apps[J]. Empirical Software Engineering, 2019, 24: 3435-3483.
  13. Andow B, Mahmud S Y, Wang W, et al. {PolicyLint}: investigating internal privacy policy contradictions on google play[C]//28th USENIX security symposium (USENIX security 19). 2019: 585-602.