Write, Read, or Fix? Exploring Alternative Methods for Secure Development Studies

Kelsey R. Fulton, Joseph Lewis, Nathan Malkin, Michelle L. Mazurek

Research output: Chapter in Book/Report/Conference proceedingConference contribution

1 Scopus citations

Abstract

When studying how software developers perform security tasks, researchers often ask participants to write code. These studies can be challenging because programming can be time-consuming and frustrating. This paper explores whether alternatives to code-writing can yield scientifically valid results while reducing participant stress. We conducted a remote study in which Python programmers completed two encryption tasks using an assigned library by either writing code from scratch, reading existing code and identifying issues, or fixing issues in existing code. We found that the read and fix conditions were less effective than the write condition in revealing security problems with APIs and their documentation, but still provided useful insights. Meanwhile, the read and especially fix conditions generally resulted in more positive participant experiences. Based on these findings, we make preliminary recommendations for how and when researchers might best use all three study design methods; we also recommend future work to further explore the uses and trade-offs of these approaches.

Original languageEnglish (US)
Title of host publicationProceedings of the 20th Symposium on Usable Privacy and Security, SOUPS 2024
PublisherUSENIX Association
Pages81-100
Number of pages20
ISBN (Electronic)9781939133427
StatePublished - 2024
Event20th Symposium on Usable Privacy and Security, SOUPS 2024 - Philadelphia, United States
Duration: Aug 12 2024Aug 13 2024

Publication series

NameProceedings of the 20th Symposium on Usable Privacy and Security, SOUPS 2024

Conference

Conference20th Symposium on Usable Privacy and Security, SOUPS 2024
Country/TerritoryUnited States
CityPhiladelphia
Period8/12/248/13/24

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Write, Read, or Fix? Exploring Alternative Methods for Secure Development Studies'. Together they form a unique fingerprint.

Cite this