"Sorry for Bugging you so much." Exploring Developers' Behavior Towards Privacy-Compliant Implementation
Stefan Albert Horstmann, Sandy Hong, David Klein, Raphael Serafini, Martin Degeling, Martin Johns, Veelasha Moonsamy, Alena Naiakshina
Abstract
While protecting user data is essential, software developers often fail to fulfill privacy requirements. However, the reasons why they struggle with privacy-compliant implementation remain unclear. Is it due to a lack of knowledge, or is it because of insufficient support? To provide foundational insights in this field, we conducted a qualitative 5-hour programming study with 30 professional software developers implementing 3 privacy-sensitive programming tasks that were designed with GDPR compliance in mind. To explore if and how developers implement privacy requirements, participants were divided into 3 groups: control, privacy prompted, and privacy expert-supported. After task completion, we conducted follow-up interviews. Alarmingly, almost all participants submitted non-GDPR-compliant solutions (79/90). In particular, none of the 3 tasks were solved privacy-compliant by all 30 participants, with the non-prompted group having the lowest number of 3 out of 30 privacy-compliant solution attempts. Privacy prompting and expert support only slightly improved participants' submissions, with 6/30 and 8/30 privacy-compliant attempts, respectively. In fact, all participants reported severe issues addressing common privacy requirements such as purpose limitation, user consent, or data minimization. Counterintuitively, although most developers exhibited minimal confidence in their solutions, they rarely sought online assistance or contacted the privacy expert, with only 4 out of 10 expert-supported participants explicitly asking for compliance confirmation. Instead, participants often relied on existing implementations and focused on implementing functionality and security first.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- “I need to learn better searching tactics for privacy policy laws.” Investigating Software Developers’ Behavior When Using Sources on Privacy Issues cites Privacy Research with Marginalized Groups: What We Know, What's Needed, and What's Next
- “I need to learn better searching tactics for privacy policy laws.” Investigating Software Developers’ Behavior When Using Sources on Privacy Issues cites Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
- “I need to learn better searching tactics for privacy policy laws.” Investigating Software Developers’ Behavior When Using Sources on Privacy Issues cites You Get Where You're Looking for: The Impact of Information Sources on Code Security
- “I need to learn better searching tactics for privacy policy laws.” Investigating Software Developers’ Behavior When Using Sources on Privacy Issues cites Understanding Privacy-Related Questions on Stack Overflow
- Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security cites You Get Where You're Looking for: The Impact of Information Sources on Code Security
- Understanding Privacy-Related Questions on Stack Overflow cites Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
- Understanding Privacy-Related Questions on Stack Overflow cites You Get Where You're Looking for: The Impact of Information Sources on Code Security
Cited by top-tier papers2
- Tinker, Tailor, Trust: How Developers Create Privacy Policies With and Without AIShiva Mayahi, Noura Alomar, Nathan MalkinCHI 2026 · 1 citation
- “I need to learn better searching tactics for privacy policy laws.” Investigating Software Developers’ Behavior When Using Sources on Privacy IssuesStefan Albert Horstmann, Sandy Hong, Maziar Niazian, Cristiana Santos et al.ICSE 2026 · 1 citation
Builds on20
- You Get Where You're Looking for: The Impact of Information Sources on Code SecurityYasemin Acar, Michael Backes, Sascha Fahl, Doowon Kim et al.S&P 2016 · 325 citations
- Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application SecurityFelix Fischer, Konstantin Böttinger, Huang Xiao, Christian Stransky et al.S&P 2017 · 293 citations
- Understanding Privacy-Related Questions on Stack OverflowMohammad Tahaei, Kami Vaniea, Naomi SaphraCHI 2020 · 93 citations
- Share First, Ask Later (or Never?) Studying Violations of GDPR's Explicit Consent in Android AppsTrung Tin Nguyen, Michael Backes, Ninja Marnau, Ben StockUSENIX Security 2021 · 70 citations
- Privacy Research with Marginalized Groups: What We Know, What's Needed, and What's NextShruti Sannon, Andrea ForteCSCW 2022 · 66 citations
Related papers
- Encoding Privacy: Sociotechnical Dynamics of Data Protection Compliance WorkRohan GroverCHI 2024 · 8 citations
- Privacy Champions in Software Teams: Understanding Their Motivations, Strategies, and ChallengesMohammad Tahaei, Alisa Frik, Kami VanieaCHI 2021 · 75 citations
- Assessing Privacy Compliance Awareness and Practices Among Mobile Third-party Library DevelopersFares F. Alharbi, Ece Gumusel, Luyi Xing, Xiaojing LiaoCCS 2026
- Human-GDPR Interaction: Practical Experiences of Accessing Personal DataAlex Bowyer, Jack Holt, Josephine Go Jefferies, Rob Wilson et al.CHI 2022 · 51 citations
- Understanding Legal Professionals' Practices and Expectations in Data Breach Incident ReportingEce Gumusel, Yue Xiao, Yue Qin, Jiaxin Qin et al.CCS 2024
