Mobile applications are required to give privacy notices to users when they collect or share personal information. Creating consistent and concise privacy notices can be a challenging task for developers. Previous work has attempted to help developers create privacy notices through a questionnaire or predefined templates. In this paper, we propose a novel approach and a framework, called PriGen, that extends these prior work. PriGen uses static analysis to identify Android applications' code segments that process sensitive information (i.e. permission-requiring code segments) and then leverages a Neural Machine Translation model to translate them into privacy captions. We present the initial evaluation of our translation task for ~300,000 code segments.
@article{arxiv.2305.15314,
title = {Towards Fine-Grained Localization of Privacy Behaviors},
author = {Vijayanta Jain and Sepideh Ghanavati and Sai Teja Peddinti and Collin McMillan},
journal= {arXiv preprint arXiv:2305.15314},
year = {2023}
}