PrivacyFlash Pro: Automating Privacy Policy Generation for Mobile Apps

Sebastian Zimmeck, R. Goldstein, David Baraka
{"title":"PrivacyFlash Pro: Automating Privacy Policy Generation for Mobile Apps","authors":"Sebastian Zimmeck, R. Goldstein, David Baraka","doi":"10.14722/NDSS.2021.24100","DOIUrl":null,"url":null,"abstract":"—Various privacy laws require mobile apps to have privacy policies. Questionnaire-based policy generators are intended to help developers with the task of policy creation. However, generated policies depend on the generators’ designs as well as developers’ abilities to correctly answer privacy questions on their apps. In this study we show that policies generated with popular policy generators are often not reflective of apps’ privacy practices. We believe that policy generation can be improved by supplementing the questionnaire-based approach with code analysis. We design and implement PrivacyFlash Pro, a privacy policy generator for iOS apps that leverages static analysis. PrivacyFlash Pro identifies code signatures — composed of Plist permission strings, framework imports, class instantiations, authorization methods, and other evidence — that are mapped to privacy practices expressed in privacy policies. Resources from package managers are used to identify libraries. We tested PrivacyFlash Pro in a usability study with 40 iOS app developers and received promising results both in terms of reliably identifying apps’ privacy practices as well as on its usability. We measured an F-1 score of 0.95 for identifying permission uses. 24 of 40 developers rated PrivacyFlash Pro with at least 9 points on a scale of 0 to 10 for a Net Promoter Score of 42.5. The mean System Usability Score of 83.4 is close to excellent. We provide PrivacyFlash Pro as an open source project to the iOS developer community. In principle, our approach is platform-agnostic and adaptable to the Android and web platforms as well. To increase privacy transparency and reduce compliance issues we make the case for privacy policies as software development artifacts. Privacy policy creation should become a native extension of the software development process and adhere to the mental model of software developers.","PeriodicalId":364091,"journal":{"name":"Proceedings 2021 Network and Distributed System Security Symposium","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"32","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings 2021 Network and Distributed System Security Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14722/NDSS.2021.24100","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 32

Abstract

—Various privacy laws require mobile apps to have privacy policies. Questionnaire-based policy generators are intended to help developers with the task of policy creation. However, generated policies depend on the generators’ designs as well as developers’ abilities to correctly answer privacy questions on their apps. In this study we show that policies generated with popular policy generators are often not reflective of apps’ privacy practices. We believe that policy generation can be improved by supplementing the questionnaire-based approach with code analysis. We design and implement PrivacyFlash Pro, a privacy policy generator for iOS apps that leverages static analysis. PrivacyFlash Pro identifies code signatures — composed of Plist permission strings, framework imports, class instantiations, authorization methods, and other evidence — that are mapped to privacy practices expressed in privacy policies. Resources from package managers are used to identify libraries. We tested PrivacyFlash Pro in a usability study with 40 iOS app developers and received promising results both in terms of reliably identifying apps’ privacy practices as well as on its usability. We measured an F-1 score of 0.95 for identifying permission uses. 24 of 40 developers rated PrivacyFlash Pro with at least 9 points on a scale of 0 to 10 for a Net Promoter Score of 42.5. The mean System Usability Score of 83.4 is close to excellent. We provide PrivacyFlash Pro as an open source project to the iOS developer community. In principle, our approach is platform-agnostic and adaptable to the Android and web platforms as well. To increase privacy transparency and reduce compliance issues we make the case for privacy policies as software development artifacts. Privacy policy creation should become a native extension of the software development process and adhere to the mental model of software developers.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
PrivacyFlash Pro:为移动应用程序自动生成隐私策略
-各种隐私法律要求移动应用程序有隐私政策。基于问卷的策略生成器旨在帮助开发人员完成策略创建的任务。然而,生成的策略取决于生成器的设计以及开发人员正确回答应用程序上隐私问题的能力。在这项研究中,我们表明,由流行的策略生成器生成的策略通常不能反映应用程序的隐私实践。我们认为,通过用代码分析补充基于问卷的方法,可以改进政策生成。我们设计和实现PrivacyFlash Pro,一个利用静态分析的iOS应用程序的隐私策略生成器。PrivacyFlash Pro识别代码签名——由Plist权限字符串、框架导入、类实例化、授权方法和其他证据组成——映射到隐私策略中表达的隐私实践。来自包管理器的资源用于标识库。我们在40个iOS应用开发者的可用性研究中测试了PrivacyFlash Pro,在可靠地识别应用的隐私做法和可用性方面都获得了可喜的结果。我们在识别许可使用方面的F-1得分为0.95。在40名开发者中,有24名给PrivacyFlash Pro打了至少9分(满分为0到10分),净推荐分为42.5分。平均系统可用性得分为83.4,接近优秀。我们为iOS开发者社区提供PrivacyFlash Pro作为一个开源项目。原则上,我们的方法是平台无关的,也适用于Android和web平台。为了增加隐私透明度并减少遵从性问题,我们将隐私策略作为软件开发工件。隐私策略的创建应该成为软件开发过程的原生扩展,并遵循软件开发人员的心智模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Towards Measuring Supply Chain Attacks on Package Managers for Interpreted Languages PrivacyFlash Pro: Automating Privacy Policy Generation for Mobile Apps WINNIE : Fuzzing Windows Applications with Harness Synthesis and Fast Cloning NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces HERA: Hotpatching of Embedded Real-time Applications
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1