Print Email Facebook Twitter A security perspective on code review Title A security perspective on code review: The case of Chromium Author di Biase, M. (Software Improvement Group) Bruntink, Magiel (Software Improvement Group) Bacchelli, A. (TU Delft Software Engineering) Contributor O' Conner, L. (editor) Date 2016 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. Subject Code reviewEmpirical software engineeringMining software repositoriesModern code reviewSecurity flawSoftware security To reference this document use: http://resolver.tudelft.nl/uuid:971dc100-f7f9-4f34-abef-d3ed7f02b57d DOI https://doi.org/10.1109/SCAM.2016.30 Publisher IEEE, Los Alamitos ISBN 978-1-5090-3848-0 Source 2016 IEEE 16th IEEE International Working Conference on Source Code Analysis and Manipulation (SACM) 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 Bibliographical note Acknowledgments: European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No 642954 Part of collection Institutional Repository Document type conference paper Rights © 2016 M. di Biase, Magiel Bruntink, A. Bacchelli Files PDF TUD_SERG_2016_019.pdf 1006.27 KB Close viewer /islandora/object/uuid:971dc100-f7f9-4f34-abef-d3ed7f02b57d/datastream/OBJ/view