A Security Perspective on Code Review: The Case of Chromium

By Marco di Biase, Magiel Bruntink, Alberto Bacchelli. 2016

40 citations recorded by the source corpus.

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 (eg C++ issues and buffer overflows) and domain-specific ones (eg 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.

Subfields: Information Systems, Software, Software Engineering

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Siddharth Garg
  2. Ramesh Karri
  3. Hammond A. Pearce
  4. Brendan Dolan-Gavitt

In Software

  1. Brendan Dolan-Gavitt
  2. Ramesh Karri
  3. Hammond A. Pearce

In Software Engineering

  1. Brendan Dolan-Gavitt
  2. Siddharth Garg
  3. Ramesh Karri
  4. Gustavo Sandoval
  5. Teo Nys
  6. Hammond A. Pearce

Citations in the corpus