"Do this! Do that!, And nothing will happen" Do specifications lead to securely stored passwords?
Joseph Hallett, Nikhil Patnaik, Benjamin Shreeve, Awais Rashid
摘要
Does the act of writing a specification (how the code should behave) for a piece of security sensitive code lead to developers producing more secure code? We asked 138 developers to write a snippet of code to store a password: Half of them were asked to write down a specification of how the code should behave before writing the program, the other half were asked to write the code but without being prompted to write a specification first. We find that explicitly prompting developers to write a specification has a small positive effect on the security of password storage approaches implemented. However, developers often fail to store passwords securely, despite claiming to be confident and knowledgeable in their approaches, and despite considering an appropriate range of threats. We find a need for developer-centered usable mechanisms for telling developers how to store passwords: lists of what they must do are not working.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Engaging Company Developers in Security Research Studies: A Comprehensive Literature Review and Quantitative Survey 引用了 Why Do Developers Get Password Storage Wrong?: A Qualitative Usability Study
- Engaging Company Developers in Security Research Studies: A Comprehensive Literature Review and Quantitative Survey 引用了 Recruiting Participants With Programming Skills: A Comparison of Four Crowdsourcing Platforms and a CS Student Mailing List
- Engaging Company Developers in Security Research Studies: A Comprehensive Literature Review and Quantitative Survey 引用了 On Conducting Security Developer Studies with CS Students: Examining a Password-Storage Study with CS Students, Freelancers, and Company Developers
- Engaging Company Developers in Security Research Studies: A Comprehensive Literature Review and Quantitative Survey 引用了 How Does Usable Security (Not) End Up in Software Products? Results From a Qualitative Interview Study
- Schrödinger's security: opening the box on app developers' security rationale 引用了 Why Do Developers Get Password Storage Wrong?: A Qualitative Usability Study
- Schrödinger's security: opening the box on app developers' security rationale 引用了 Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application Security
- Recruiting Participants With Programming Skills: A Comparison of Four Crowdsourcing Platforms and a CS Student Mailing List 引用了 Why Do Developers Get Password Storage Wrong?: A Qualitative Usability Study
- Recruiting Participants With Programming Skills: A Comparison of Four Crowdsourcing Platforms and a CS Student Mailing List 引用了 On Conducting Security Developer Studies with CS Students: Examining a Password-Storage Study with CS Students, Freelancers, and Company Developers
- How Does Usable Security (Not) End Up in Software Products? Results From a Qualitative Interview Study 引用了 Why Do Developers Get Password Storage Wrong?: A Qualitative Usability Study
- How Does Usable Security (Not) End Up in Software Products? Results From a Qualitative Interview Study 引用了 From Needs to Actions to Secure Apps? The Effect of Requirements and Developer Practices on App Security
- How Does Usable Security (Not) End Up in Software Products? Results From a Qualitative Interview Study 引用了 Schrödinger's security: opening the box on app developers' security rationale
- How Does Usable Security (Not) End Up in Software Products? Results From a Qualitative Interview Study 引用了 On Conducting Security Developer Studies with CS Students: Examining a Password-Storage Study with CS Students, Freelancers, and Company Developers
引用它的顶会 Paper3
- How Does Usable Security (Not) End Up in Software Products? Results From a Qualitative Interview StudyMarco Gutfleisch, Jan H. Klemmer, Niklas Busch, Yasemin Acar 等S&P 2022 · 51 次引用
- Recruiting Participants With Programming Skills: A Comparison of Four Crowdsourcing Platforms and a CS Student Mailing ListMohammad Tahaei, Kami VanieaCHI 2022 · 45 次引用
- Engaging Company Developers in Security Research Studies: A Comprehensive Literature Review and Quantitative SurveyRaphael Serafini, Stefan Albert Horstmann, Alena NaiakshinaUSENIX Security 2024 · 7 次引用
它引用的 Paper6
- Stack Overflow Considered Harmful? The Impact of Copy&Paste on Android Application SecurityFelix Fischer, Konstantin Böttinger, Huang Xiao, Christian Stransky 等S&P 2017 · 293 次引用
- Why Do Developers Get Password Storage Wrong?: A Qualitative Usability StudyAlena Naiakshina, Anastasia Danilova, Christian Tiefenau, Marco Herzog 等CCS 2017 · 146 次引用
- On Conducting Security Developer Studies with CS Students: Examining a Password-Storage Study with CS Students, Freelancers, and Company DevelopersAlena Naiakshina, Anastasia Danilova, Eva Gerlitz, Matthew SmithCHI 2020 · 48 次引用
- Schrödinger's security: opening the box on app developers' security rationaleDirk van der Linden, Pauline Anthonysamy, Bashar Nuseibeh, Thein Than Tun 等ICSE 2020 · 38 次引用
- From Needs to Actions to Secure Apps? The Effect of Requirements and Developer Practices on App SecurityCharles Weir, Ben Hermann, Sascha FahlUSENIX Security 2020
相关 Paper
- "The AI tool can't make it any worse." Investigating Developers' Security Behavior with AI Assistants in a Password Storage StudyAsli Yardim, Raphael Serafini, Nadine Jost, Anna-Marie Ortloff 等CHI 2026 · 1 次引用
- Exploring the Impact of Intervention Methods on Developers' Security Behavior in a Manipulated ChatGPT StudyRaphael Serafini, Asli Yardim, Alena NaiakshinaCHI 2025 · 5 次引用
- Less is More: Supporting Developers in Vulnerability Detection during Code ReviewLarissa Braz, Christian Aeberhard, Gül Çalikli, Alberto BacchelliICSE 2022 · 26 次引用
- Do Users Write More Insecure Code with AI Assistants?Neil Perry, Megha Srivastava, Deepak Kumar, Dan BonehCCS 2023 · 150 次引用
- Listen to Developers! A Participatory Design Study on Security Warnings for Cryptographic APIsPeter Leo Gorski, Yasemin Acar, Luigi Lo Iacono, Sascha FahlCHI 2020 · 39 次引用
