A security perspective on code review: The case of Chromium

Marco di Biase, Magiel Bruntink, Alberto Bacchelli

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

25 Citations (Scopus)
102 Downloads (Pure)

Abstract

Modern Code Review (MCR) is an established software development process that aims to improve software quality. Although evidence showed that higher levels of review coverage relates to less post-release bugs, it remains unknown the effectiveness of MCR at specifically finding security issues. We present a work we conduct aiming to fill that gap by exploring the MCR process in the Chromium open source project. We manually analyzed large sets of registered (114 cases) and missed (71 cases) security issues by backtracking in the project’s issue, review, and code histories. This enabled us to qualify MCR in Chromium from the security perspective from several angles: Are security issues being discussed frequently? What categories of security issues are often missed or found? What characteristics of code reviews appear relevant to the discovery rate?
Within the cases we analyzed, MCR in Chromium addresses security issues at a rate of 1% of reviewers’ comments. Chromium code reviews mostly tend to miss language-specific issues (e.g., C++ issues and buffer overflows) and domain-specific ones (e.g., such as Cross-Site Scripting); when code reviews address issues, mostly they address those that pertain to the latter type. Initial evidence points to reviews conducted by more than 2 reviewers being more successful at finding security issues.
Original languageEnglish
Title of host publication2016 IEEE 16th IEEE International Working Conference on Source Code Analysis and Manipulation (SACM)
EditorsL. O' Conner
Place of PublicationLos Alamitos
PublisherIEEE
Pages21-30
Number of pages10
ISBN (Print)978-1-5090-3848-0
DOIs
Publication statusPublished - 2016
Event2016 IEEE 16th International Working Conference on Source Code Analysis and Manipulation (Scam 2016) - Raleigh, NC, United States
Duration: 2 Oct 20163 Oct 2016
http://www.ieee-scam.org/2016/

Conference

Conference2016 IEEE 16th International Working Conference on Source Code Analysis and Manipulation (Scam 2016)
Abbreviated titleSCAM 2016
Country/TerritoryUnited States
CityRaleigh, NC
Period2/10/163/10/16
Internet address

Bibliographical note

Acknowledgments: European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 642954

Keywords

  • Code review
  • Empirical software engineering
  • Mining software repositories
  • Modern code review
  • Security flaw
  • Software security

Fingerprint

Dive into the research topics of 'A security perspective on code review: The case of Chromium'. Together they form a unique fingerprint.

Cite this