{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,3]],"date-time":"2026-05-03T11:03:40Z","timestamp":1777806220878,"version":"3.51.4"},"reference-count":66,"publisher":"SAGE Publications","issue":"2","license":[{"start":{"date-parts":[[2022,10,18]],"date-time":"2022-10-18T00:00:00Z","timestamp":1666051200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["Journal of Computer Security"],"published-print":{"date-parts":[[2023,4,6]]},"abstract":"<jats:p>Although code review is an essential step for ensuring the quality of software, it is surprising that current code review systems do not have mechanisms to protect the integrity of the code review process. We uncover multiple attacks against the code review infrastructure which are easy to execute, stealthy in nature, and can have a significant impact, such as allowing malicious or buggy code to be merged and propagated to future releases. To improve this status quo, in this work we lay the foundations for securing the code review process. Towards this end, we first identify a set of key design principles necessary to secure the code review process. We then use these principles to propose SecureReview , a security mechanism that can be applied on top of a Git-based code review system to ensure the integrity of the code review process and provide verifiable guarantees that the code review process followed the intended review policy. We implement SecureReview as a Chrome browser extension for GitHub and Gerrit. Our security analysis shows that SecureReview is effective in mitigating the aforementioned attacks. An experimental evaluation shows that the SecureReview implementation only adds a slight storage overhead ( i.e., less than 0.0006 of the repository size).<\/jats:p>","DOI":"10.3233\/jcs-210098","type":"journal-article","created":{"date-parts":[[2022,7,22]],"date-time":"2022-07-22T11:32:22Z","timestamp":1658489542000},"page":"153-184","update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":1,"title":["Towards verifiable web-based code review systems"],"prefix":"10.1177","volume":"31","author":[{"given":"Hammad","family":"Afzali","sequence":"first","affiliation":[{"name":"Department of Computer Science, New Jersey Institute of Technology, NJ, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Santiago","family":"Torres-Arias","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, Purdue University, IN, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Reza","family":"Curtmola","sequence":"additional","affiliation":[{"name":"Department of Computer Science, New Jersey Institute of Technology, NJ, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Justin","family":"Cappos","sequence":"additional","affiliation":[{"name":"Tandon School of Engineering, New York University, NY, USA"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"179","published-online":{"date-parts":[[2022,10,18]]},"reference":[{"key":"ref001","doi-asserted-by":"crossref","unstructured":"H.\u00a0Afzali, S.\u00a0Torres-Arias, R.\u00a0Curtmola and J.\u00a0Cappos, le-git-imate: Towards verifiable web-based Git repositories, in: Proceedings of the Asia Conference on Computer and Communications Security (AsiaCCS \u201918), 2018, pp.\u00a0469\u2013482.","DOI":"10.1145\/3196494.3196523"},{"key":"ref002","doi-asserted-by":"publisher","DOI":"10.3233\/JCS-191371"},{"key":"ref003","unstructured":"Bitbucket, https:\/\/bitbucket.org."},{"key":"ref004","doi-asserted-by":"publisher","DOI":"10.1109\/SERE-C.2013.22"},{"key":"ref005","doi-asserted-by":"publisher","DOI":"10.1145\/2635868.2635880"},{"key":"ref006","unstructured":"A.\u00a0Cherepanov, Analysis of TeleBots\u2019 cunning backdoor, https:\/\/www.welivesecurity.com\/2017\/07\/04\/analysis-of-telebots-cunning-backdoor."},{"key":"ref007","unstructured":"C.\u00a0Cimpanu, Hacker gains access to a small number of Microsoft\u2019s private GitHub repos, https:\/\/www.zdnet.com\/article\/hacker-gains-access-to-a-small-number-of-microsofts-private-github-repos\/."},{"key":"ref008","unstructured":"Code Reviews at Google, https:\/\/www.michaelagreiler.com\/code-reviews-at-google\/."},{"key":"ref009","unstructured":"CodeFlow, https:\/\/codeflow.co."},{"key":"ref010","unstructured":"Codereviewhub, https:\/\/www.codereviewhub.com\/."},{"key":"ref011","unstructured":"Collaborator, https:\/\/smartbear.com\/product\/collaborator\/overview."},{"key":"ref012","unstructured":"M.\u00a0Cooper, How we use Git at Microsoft, https:\/\/docs.microsoft.com\/en-us\/azure\/devops\/learn\/devops-at-microsoft\/use-git-microsoft."},{"key":"ref013","unstructured":"Crowdstrike, SUNSPOT: An implant in the build process, https:\/\/www.crowdstrike.com\/blog\/sunspot-malware-technical-analysis\/."},{"key":"ref014","unstructured":"CrowdStrike, Securing the supply chain, https:\/\/www.crowdstrike.com\/resources\/wp-content\/brochures\/pr\/CrowdStrike-Security-Supply-Chain.pdf."},{"key":"ref015","unstructured":"Crucible, https:\/\/www.atlassian.com\/software\/crucible."},{"key":"ref016","doi-asserted-by":"crossref","unstructured":"N.\u00a0Fatima, S.\u00a0Chuprat and S.\u00a0Nazir, Challenges and benefits of modern code review-systematic literature review protocol, in: 2018 International Conference on Smart Computing and Electronic Enterprise (ICSCEE), IEEE, 2018, pp.\u00a01\u20135.","DOI":"10.1109\/ICSCEE.2018.8538393"},{"key":"ref017","unstructured":"FireEye, Highly evasive attacker leverages SolarWinds supply chain to compromise multiple global victims with SUNBURST backdoor, https:\/\/www.fireeye.com\/blog\/threat-research\/2020\/12\/evasive-attacker-leverages-solarwinds-supply-chain-compromises-with-sunburst-backdoor.html."},{"key":"ref018","unstructured":"FlowCrypt, https:\/\/flowcrypt.com."},{"key":"ref019","unstructured":"Gerrit, https:\/\/www.gerritcodereview.com."},{"key":"ref020","unstructured":"Gerrit, Labels, https:\/\/gerrit.opencord.org\/Documentation\/intro-project-owner.html#labels."},{"key":"ref021","unstructured":"Gerrit, Gerrit customized labels, https:\/\/gerrit.opencord.org\/Documentation\/config-labels.html#label_custom."},{"key":"ref022","unstructured":"Gerrit code review\u00a0\u2013 Prolog submit rules, https:\/\/gerrit-review.googlesource.com\/Documentation\/prolog-cookbook.html."},{"key":"ref023","unstructured":"Gerrit code review\u00a0\u2013 REST API, https:\/\/gerrit-review.googlesource.com\/Documentation\/rest-api.html."},{"key":"ref024","unstructured":"GerritHub, http:\/\/gerrithub.io."},{"key":"ref025","unstructured":"M.\u00a0Gerwitz, A Git horror story: Repository integrity with signed commits, https:\/\/mikegerwitz.com\/2012\/05\/a-git-horror-story-repository-integrity-with-signed-commits."},{"key":"ref026","unstructured":"Git repositories on Gerrit, https:\/\/gerrit.googlesource.com\/."},{"key":"ref027","unstructured":"GitHub, https:\/\/github.com."},{"key":"ref028","unstructured":"GitHub, The state of the Octoverse, https:\/\/octoverse.github.com."},{"key":"ref029","unstructured":"GitHub, Managing a branch protection rule, https:\/\/docs.github.com\/en\/github\/administering-a-repository\/managing-a-branch-protection-rule."},{"key":"ref030","unstructured":"GitHub, GitHub API, https:\/\/developer.github.com\/v3."},{"key":"ref031","unstructured":"GitHub, Statuses, https:\/\/docs.github.com\/en\/rest\/reference\/repos#statuses."},{"key":"ref032","unstructured":"GitHub, About status checks, https:\/\/docs.github.com\/en\/github\/collaborating-with-issues-and-pull-requests\/about-status-checks."},{"key":"ref033","unstructured":"GitLab, https:\/\/gitlab.com."},{"key":"ref034","unstructured":"GitLab, Merge request approvals, https:\/\/docs.gitlab.com\/ee\/user\/project\/merge_requests\/merge_request_approvals.html."},{"key":"ref035","unstructured":"GitLab, API Docs, https:\/\/docs.gitlab.com\/ee\/api\/."},{"key":"ref036","unstructured":"GreatFire, China, GitHub and the man-in-the-middle, https:\/\/en.greatfire.org\/blog\/2013\/jan\/china-github-and-man-middle."},{"key":"ref037","doi-asserted-by":"crossref","unstructured":"A.\u00a0Ibrahim, M.\u00a0El-Ramly and A.\u00a0Badr, Beware of the vulnerability! How vulnerable are GitHub\u2019s most popular PHP applications? in: 2019 IEEE\/ACS 16th International Conference on Computer Systems and Applications (AICCSA), IEEE, 2019, pp.\u00a01\u20137.","DOI":"10.1109\/AICCSA47632.2019.9035265"},{"key":"ref038","doi-asserted-by":"publisher","DOI":"10.1109\/ICECCS.2016.032"},{"key":"ref039","unstructured":"K.\u00a0Kawaguchi, Summary report: Git repository disruption incident of Nov 10th, https:\/\/www.jenkins.io\/blog\/2013\/11\/25\/summary-report-git-repository-disruption-incident-of-nov-10th\/."},{"key":"ref040","unstructured":"S.\u00a0Khandelwal, Github account of Gentoo Linux hacked, code replaced with malware, https:\/\/thehackernews.com\/2018\/06\/gentoo-linux-github.html."},{"key":"ref041","unstructured":"Mailvelope, https:\/\/www.mailvelope.com\/en."},{"key":"ref042","unstructured":"B.\u00a0Marczak, N.\u00a0Weaver, J.\u00a0Dalek, R.\u00a0Ensafi, D.\u00a0Fifield, S.\u00a0McKune, A.\u00a0Rey, J.\u00a0Scott-Railton, R.\u00a0Deibert and V.\u00a0Paxson, An analysis of China\u2019s \u201cGreat Cannon\u201d, in: Fifth {USENIX} Workshop on Free and Open Communications on the Internet ({FOCI} 15), 2015."},{"key":"ref043","unstructured":"Microsoft, Open source projects and samples from Microsoft, https:\/\/github.com\/microsoft."},{"key":"ref044","unstructured":"A.\u00a0Mishra, Secure code review\u00a0\u2013 A necessity, https:\/\/www.kratikal.com\/blog\/secure-code-review-a-necessity\/."},{"key":"ref045","unstructured":"MITRE, Secure code review, https:\/\/www.mitre.org\/publications\/systems-engineering-guide\/enterprise-engineering\/systems-engineering-for-mission-assurance\/secure-code-review."},{"key":"ref046","doi-asserted-by":"publisher","DOI":"10.1109\/COMPSAC.2018.10277"},{"key":"ref047","unstructured":"C.\u00a0Osborne, Hijacked ASUS Live Update software installs backdoors on countless PCs worldwide, https:\/\/www.zdnet.com\/article\/supply-chain-attack-installs-backdoors-through-hijacked-asus-live-update-software\/."},{"key":"ref048","unstructured":"OWASP Code Review Guide, https:\/\/owasp.org\/www-pdf-archive\/OWASP_Code_Review_Guide_v2.pdf."},{"key":"ref049","doi-asserted-by":"crossref","unstructured":"L.\u00a0Pascarella, D.\u00a0Spadini, F.\u00a0Palomba, M.\u00a0Bruntink and A.\u00a0Bacchelli, Information needs in contemporary code review, in: Proceedings of the ACM on Human-Computer Interaction 2 (CSCW), 2018, p.\u00a0135.","DOI":"10.1145\/3274404"},{"key":"ref050","unstructured":"Phabricator, https:\/\/www.phacility.com\/phabricator."},{"key":"ref051","unstructured":"N.\u00a0Popov, php.internls: Changes to Git commit workflow, https:\/\/news-web.php.net\/php.internals\/113838."},{"key":"ref052","doi-asserted-by":"publisher","DOI":"10.1145\/3236024.3236080"},{"key":"ref053","unstructured":"M.\u00a0Reiter, Homebrew security incident disclosure, https:\/\/brew.sh\/2021\/04\/21\/security-incident-disclosure\/."},{"key":"ref054","unstructured":"ReviewBoard, https:\/\/www.reviewboard.org."},{"key":"ref055","doi-asserted-by":"publisher","DOI":"10.1145\/3183519.3183525"},{"key":"ref056","unstructured":"SecureReview, https:\/\/github.com\/thesecurereview\/securereview."},{"key":"ref057","unstructured":"A.\u00a0Sharma, Here\u2019s how a researcher broke into Microsoft VS Code\u2019s GitHub, https:\/\/www.bleepingcomputer.com\/news\/security\/heres-how-a-researcher-broke-into-microsoft-vs-codes-github\/."},{"key":"ref058","unstructured":"D.\u00a0Stuckeyi, Defending infrastructure as code in GitHub enterprise, https:\/\/www.sans.org\/reading-room\/whitepapers\/securecode\/paper\/39380."},{"key":"ref059","unstructured":"Symantec, Internet security threat report 2019, https:\/\/docs.broadcom.com\/doc\/istr-24-2019-en."},{"key":"ref060","unstructured":"Synopsys, Secure code review, https:\/\/www.synopsys.com\/glossary\/what-is-code-review.html."},{"key":"ref061","unstructured":"S.\u00a0Torres-Arias, H.\u00a0Afzali, T.K.\u00a0Kuppusamy, R.\u00a0Curtmola and J.\u00a0Cappos, in-toto: Providing farm-to-table guarantees for bits and bytes, in: 28th USENIX Security Symposium (USENIX Security \u201919), 2019, pp.\u00a01393\u20131410."},{"key":"ref062","unstructured":"S.\u00a0Torres-Arias, A.K.\u00a0Ammula, R.\u00a0Curtmola and J.\u00a0Cappos, On omitting commits and committing omissions: Preventing Git metadata tampering that (re)introduces software vulnerabilities, in: 25th USENIX Security Symposium (USENIX Security 16), 2016, pp.\u00a0379\u2013395."},{"key":"ref063","unstructured":"D.A.\u00a0Wheeler, Software configuration management (SCM) security, http:\/\/www.dwheeler.com\/essays\/scm-security.html."},{"key":"ref064","unstructured":"Z.\u00a0Whittaker, Linux Mint website hacked to trick users into downloading version with backdoor, https:\/\/www.zdnet.com\/article\/linux-mint-website-hacked-malicious-backdoor-version\/."},{"key":"ref065","unstructured":"WIRED, A mysterious hacker group is on a SUpply chain hijacking spree, https:\/\/www.wired.com\/story\/barium-supply-chain-hackers\/."},{"key":"ref066","doi-asserted-by":"publisher","DOI":"10.1007\/s11771-018-3812-x"}],"container-title":["Journal of Computer Security"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-210098","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.3233\/JCS-210098","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-210098","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T20:45:42Z","timestamp":1777495542000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.3233\/JCS-210098"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,10,18]]},"references-count":66,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2023,4,6]]}},"alternative-id":["10.3233\/JCS-210098"],"URL":"https:\/\/doi.org\/10.3233\/jcs-210098","relation":{},"ISSN":["0926-227X","1875-8924"],"issn-type":[{"value":"0926-227X","type":"print"},{"value":"1875-8924","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,10,18]]}}}