Blogs (1) >>
ICSE 2019
Sat 25 - Fri 31 May 2019 Montreal, QC, Canada
Thu 30 May 2019 14:30 - 14:50 at St-Paul / Ste-Catherine - Crowdsourced Knowledge and Feedback Chair(s): Xin Xia

Stack Overflow (SO) is the most popular online Q&A site for developers to share their programming expertise. Given multiple answers to certain questions, developers may take the accepted answer, the answer from a person with high reputation, or the one frequently suggested. However, researchers observed exploitable security vulnerabilities in popularly suggested code, which was widely reused by high-profile applications. This observation inspires us to explore the following questions: How much can we trust the security implementation suggestions on SO? If suggested answers are vulnerable, can developers trust the community’s dynamics to infer the vulnerability and identify a secure counterpart?

To answer these questions, we conducted a study on security-related SO posts by contrasting secure and insecure advice with the community-given content evaluation. We compiled 953 different groups of similar code examples and labeled their security, identifying 781 secure answer posts and 648 insecure ones. Compared with secure suggestions, insecure ones had higher view counts (36,280 vs. 18,810), received a higher score 14 vs. 5), and had significantly more duplicates (4 vs. 3) on average. 38% of the posts provided by highly reputed so-called trusted users were insecure.

Our findings show that based on the distribution of secure and insecure code on SO, users being laymen in security rely on additional advice and guidance. However, the community-given feedback does not allow differentiating secure from insecure choices. Moreover, the reputation mechanism fails in indicating trustworthy users with respect to security questions, ultimately leaving other users wandering around in a software security minefield.

Thu 30 May
Times are displayed in time zone: (GMT-04:00) Eastern Time (US & Canada) change

14:00 - 15:30: Papers - Crowdsourced Knowledge and Feedback at St-Paul / Ste-Catherine
Chair(s): Xin XiaMonash University
icse-2019-Software-Engineering-in-Practice14:00 - 14:20
Cuiyun GaoThe Chinese University of Hong Kong, Wujie ZhengTencent, Inc., Yuetang DengTencent, Inc., David LoSingapore Management University, Jichuan Zeng, Michael Lyu, Irwin King
icse-2019-Journal-First-Paper14:20 - 14:30
Dayi LinQueen's University, Cor-Paul BezemerUniversity of Alberta, Canada, Ying ZouQueen's University, Kingston, Ontario, Ahmed E. HassanQueen's University
icse-2019-Technical-Papers14:30 - 14:50
Mengsu ChenVirginia Tech, Felix FischerTechnical University of Munich, Na MengVirginia Tech, Xiaoyin WangUniversity of Texas at San Antonio, USA, Jens GrossklagsTechnical University of Munich
icse-2019-Technical-Papers14:50 - 15:10
Bin LinUniversità della Svizzera italiana (USI), Fiorella ZampettiUniversity of Sannio, Gabriele BavotaUniversità della Svizzera italiana (USI), Massimiliano Di PentaUniversity of Sannio, Michele LanzaUniversita della Svizzera italiana (USI)
icse-2019-Journal-First-Paper15:10 - 15:20
Shaowei WangQueen's University, Tse-Hsun (Peter) ChenConcordia University, Ahmed E. HassanQueen's University
icse-2019-Paper-Presentations15:20 - 15:30