{"_id":"BuZG8WZt2LW3jwuQ2","bibbaseid":"mokhberi-quon-beznosov-whatmakessecurityrelatedcodeexamplesdifferent-2021","author_short":["Mokhberi, A.","Quon, T.","Beznosov, K."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"propositions":[],"lastnames":["Mokhberi"],"firstnames":["Azadeh"],"suffixes":[]},{"propositions":[],"lastnames":["Quon"],"firstnames":["Tiffany"],"suffixes":[]},{"propositions":[],"lastnames":["Beznosov"],"firstnames":["Konstantin"],"suffixes":[]}],"booktitle":"SOUPS Workshop on Security Information Workers (WSIW). USENIX Association","title":"What makes security-related code examples different","year":"2021","abstract":"Developers relying on code examples (CEs) in software engineering can impact code security. We conducted semistructured interviews with seven professional developers to investigate developers’ habits, challenges, and strategies in the life cycle of using security-related code examples (SRCEs), with a focus on exploring the differences between security and non-security-related CEs. Results indicate that a lack of adequately differentiating between SRCEs and non-security-related code examples (NSRCEs) is a reason for introducing vulnerabilities into the code. We found that developers had a habit of reusing vulnerable code from their previous projects. This code reuse unintentionally introduced the same vulnerability into new projects, while that vulnerability had already been fixed in later iterations of the original resource the CE had been taken from. Our results highlight that professional developers need the same number of such CEs even as they gain experience over time, while this may not be the case for NSRCEs.","url":"https://drive.google.com/file/d/18-WMN0DA2TQzgYHH2ON2AEk253WRbzel/view?usp=drive_link","bibtex":"@InProceedings{mokhberi2021makes,\n author = {Mokhberi, Azadeh and Quon, Tiffany and Beznosov, Konstantin},\n booktitle = {SOUPS Workshop on Security Information Workers (WSIW). USENIX Association},\n title = {{W}hat makes security-related code examples different},\n year = {2021},\n abstract = {Developers relying on code examples (CEs) in software engineering can impact code security. We conducted semistructured interviews with seven professional developers to investigate developers’ habits, challenges, and strategies in the life cycle of using security-related code examples (SRCEs), with a focus on exploring the differences between security and non-security-related CEs. Results indicate that a lack of adequately differentiating between SRCEs and non-security-related code examples (NSRCEs) is a reason for introducing vulnerabilities into the code. We found that developers had a habit of reusing vulnerable code from their previous projects. This code reuse unintentionally introduced the same vulnerability into new projects, while that vulnerability had already been fixed in later iterations of the original resource the CE had been taken from. Our results highlight that professional developers need the same number of such CEs even as they gain experience over time, while this may not be the case for NSRCEs.},\n url = {https://drive.google.com/file/d/18-WMN0DA2TQzgYHH2ON2AEk253WRbzel/view?usp=drive_link},\n}\n\n","author_short":["Mokhberi, A.","Quon, T.","Beznosov, K."],"key":"mokhberi2021makes","id":"mokhberi2021makes","bibbaseid":"mokhberi-quon-beznosov-whatmakessecurityrelatedcodeexamplesdifferent-2021","role":"author","urls":{"Paper":"https://drive.google.com/file/d/18-WMN0DA2TQzgYHH2ON2AEk253WRbzel/view?usp=drive_link"},"metadata":{"authorlinks":{}},"downloads":1},"bibtype":"inproceedings","biburl":"https://bibbase.org/f/i3hTAQ2wxvvLpcpZu/lersse_publications.bib","dataSources":["gdEygGa34uWkjynDQ","ikcgcNLWkPYd7asYj","YAZ3EPKt9iuMHML8Y","Z66AwpjqbyDaCRuAz","vzLiYoozjbMtpq3bv","yyg88BndAbrgER4pG","qxYmJrWKptQFZpZn2","uXASf7FkwMkTdi7XQ","L3Q9QEq5gEyYsbhX8","PCm8nFZLWR38NRiRu","jagWcnNcoBLvejBcm","8cHa97bWQybuQhHDo","Kx35bmNmuB9SWebed","M5QirAZCjcxYLMFLM","BpNnApTKxApG4JxkD","BuaeMqxTDRXAZtmNe","r8QoBNxamnpCZ3Dwb","gKAKkjtPkN44YFKMk","nDjRsp2dBrEbdKR78","Raz2SaaZA89irapRN","ZnaQsM7NDPZR4BFeb"],"keywords":[],"search_terms":["makes","security","related","code","examples","different","mokhberi","quon","beznosov"],"title":"What makes security-related code examples different","year":2021,"downloads":1}