Exploring Large Language Models’ Potential for Privacy Leakage Detection in Android App Logs: An Empirical Study
Android app logs are essential resources for recording runtime information, but they may also include users’ privacy information. Existing privacy leakage detection approaches in logs are primarily based on regular expressions or keyword-based searches, which heavily rely on the comprehensiveness of the keyword list and can result in high detection inaccuracy. Therefore, we propose two research questions studying the ability of LLMs to detect privacy leakage in Android app logs. In our preliminary experiment, we used ChatGPT and found that while ChatGPT can detect privacy leakage in Android app logs, its ability can result in high inaccuracy. After improving the detection strategy by modifying the prompts to allow ChatGPT to learn the contextual knowledge of privacy leakage, it significantly improved in detecting more privacy leakage and reducing false positives. The detection results also indicate that privacy leakage in Android app logs is a non-trivial issue.
Authors
- Yiming Tang (ORCID: https://orcid.org/0000-0003-2378-8972)
- Xueling Zhang (ORCID: https://orcid.org/0000-0001-9202-9764)
- Zhe Li (ORCID: https://orcid.org/0000-0002-6244-9167)
- Zhiyuan Chen (ORCID: https://orcid.org/0000-0002-6984-7248)
- Haibo Yang (ORCID: https://orcid.org/0000-0002-3245-2728)
- T. E. Roy (ORCID: https://orcid.org/0009-0001-2617-7598)
- Vanessa Nava-Camal
Institutions
- Rochester Institute of Technology (US)
Publication Details
- Journal
- IEEE Software
- Published
- 2025-10-14
- DOI
- https://doi.org/10.1109/ms.2025.3618099
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00