A security perspective on code review

The case of Chromium

Conference Paper (2016)
Author(s)

Marco di Biase (Software Improvement Group)

Magiel Bruntink (Software Improvement Group)

Alberto Bacchelli (TU Delft - Software Engineering)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1109/SCAM.2016.30
More Info
expand_more
Publication Year
2016
Language
English
Research Group
Software Engineering
Pages (from-to)
21-30
ISBN (print)
978-1-5090-3848-0
Event
2016 IEEE 16th International Working Conference on Source Code Analysis and Manipulation (Scam 2016) (2016-10-02 - 2016-10-03), Raleigh, NC, United States
Downloads counter
144
Collections
Institutional Repository
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

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.

Files

TUD_SERG_2016_019.pdf
(pdf | 0.983 Mb)
License info not available