Skip to main navigation Skip to search Skip to main content

RightsGen: Automated Generation of User Rights Declaration on Android via LLM-Guided UI Traversal

  • Xi'an Jiaotong University
  • Ministry of Industry and Information Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Ensuring compliance with privacy regulations, such as GDPR and CCPA, has become a critical challenge for mobile applications. These regulations mandate that apps provide accessible paths for users to exercise rights, such as account deletion and data export. However, these paths are often buried deep within complex UI hierarchies, making manual auditing unscalable. In this paper, we introduce RightsGen, a framework that leverages Large Language Models (LLMs) to automate the discovery and documentation of user rights declarations in Android applications. Unlike traditional random UI fuzzers, RightsGen utilizes the semantic reasoning capabilities of LLMs to navigate dynamic UI states. It employs a path-oriented mechanism and a GUI Agent acting as a rights tester guided by structured rights tuples. In our evaluation across 144 popular apps, RightsGen demonstrated high efficiency in dynamic testing, achieving a recall rate of 92.5% in recognizing user rights paths and 87.3% in extracting rights tuples. These results highlight the effectiveness of RightsGen in automating the generation of user rights declarations.

Original languageEnglish
Title of host publicationFSE Companion 2026 - Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering
EditorsShin Hwei Tan, Foutse Khomh
PublisherAssociation for Computing Machinery, Inc
Pages1599-1604
Number of pages6
ISBN (Electronic)9798400726361
DOIs
StatePublished - 17 Jul 2026
EventACM International Conference on the Foundations of Software Engineering, FSE 2026 - Montreal, Canada
Duration: 5 Jul 20269 Jul 2026

Publication series

NameFSE Companion 2026 - Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering

Conference

ConferenceACM International Conference on the Foundations of Software Engineering, FSE 2026
Country/TerritoryCanada
CityMontreal
Period5/07/269/07/26

Keywords

  • automated privacy compliance
  • large language models
  • mobile application
  • UI agent

Fingerprint

Dive into the research topics of 'RightsGen: Automated Generation of User Rights Declaration on Android via LLM-Guided UI Traversal'. Together they form a unique fingerprint.

Cite this