Honeysuckle: Annotation-Guided Code Generation of In-App Privacy Notices
Tianshi Li, Elijah B. Neundorfer, Yuvraj Agarwal, Jason I. Hong
Abstract
In-app privacy notices can help smartphone users make informed privacy decisions. However, they are rarely used in real-world apps, since developers often lack the knowledge, time, and resources to design and implement them well. We present Honeysuckle, a programming tool that helps Android developers build in-app privacy notices using an annotation-based code generation approach facilitated by an IDE plugin, a build system plugin, and a library. We conducted a within-subjects study with 12 Android developers to evaluate Honeysuckle. Each participant was asked to implement privacy notices for two popular open-source apps using the Honeysuckle library as a baseline as well as the annotation-based approach. Our results show that the annotation-based approach helps developers accomplish the task faster with significantly lower cognitive load. Developers preferred the annotation-based approach over the library approach because it was much easier to learn and use and allowed developers to achieve various types of privacy notices using a unified code format, which can enhance code readability and benefit team collaboration.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 6f10b294-8f76-4a76-bb85-05c7b64b5cbbCited by top-tier papers5
- Exploring the Needs of Users for Supporting Privacy-Protective Behaviors in Smart HomesHaojian Jin, Boyuan Guo, Rituparna Roychoudhury, Yaxing Yao et al.CHI 2022 · 48 citations
- Matcha: An IDE Plugin for Creating Accurate Privacy Nutrition LabelsTianshi Li, Lorrie Faith Cranor, Yuvraj Agarwal, Jason I. HongUbiComp 2024 · 17 citations
- Navigating the Data Avalanche: Towards Supporting Developers in Developing Privacy-Friendly Children's AppsAnirudh Ekambaranathan, Jun Zhao, George ChalhoubUbiComp 2023 · 9 citations
- Empowering IoT Developers with Privacy-Preserving End-User Development ToolsAtheer Aljeraisy, Omer F. Rana, Charith PereraUbiComp 2024 · 4 citations
- "Sorry for Bugging you so much." Exploring Developers' Behavior Towards Privacy-Compliant ImplementationStefan Albert Horstmann, Sandy Hong, David Klein, Raphael Serafini et al.S&P 2025
Related papers
- A Stitch in Time: Supporting Android Developers in WritingSecure CodeDuc Cuong Nguyen, Dominik Wermke, Yasemin Acar, Michael Backes et al.CCS 2017 · 125 citations
- PrivacyFlash Pro: Automating Privacy Policy Generation for Mobile AppsSebastian Zimmeck, Rafael Goldstein, David BarakaNDSS 2021
- Understanding Challenges for Developers to Create Accurate Privacy Nutrition LabelsTianshi Li, Kayla Reiman, Yuvraj Agarwal, Lorrie Faith Cranor et al.CHI 2022 · 56 citations
- DocFlow: Extracting Taint Specifications from Software DocumentationMarcos Tileria, Jorge Blasco, Santanu Kumar DashICSE 2024 · 5 citations
- PTPDroid: Detecting Violated User Privacy Disclosures to Third-Parties of Android AppsZeya Tan, Wei SongICSE 2023 · 20 citations
