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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring Large Language Models’ Potential for Privacy Leakage Detection in Android App Logs: An Empirical Study

Yiming Tang, Xueling Zhang, Zhe Li, Zhiyuan Chen et al.
IEEE Software
Advanced Malware Detection Techniques
article

Exploring Large Language Models’ Potential for Privacy Leakage Detection in Android App Logs: An Empirical Study

Yiming Tang, Xueling Zhang, Zhe Li, Zhiyuan Chen, Haibo Yang, T. E. Roy, Vanessa Nava-Camal
article en

Abstract

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.

IEEE SoftwareVol. 43(1)
Rochester Institute of Technology (US)
Openalex Percentile: Top 64%
Advanced Malware Detection Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.