[Paper Review] Build It, Break It, Fix It: Contesting Secure Development
This paper introduces the Build It, Break It, Fix It (BIBIFI) security contest, a novel framework that evaluates secure software development by combining competitive building, vulnerability discovery, and patching phases. Key findings show that statically-typed languages reduced security flaws by 11× compared to C/C++, and teams skilled in both building and breaking were significantly more effective at identifying vulnerabilities.
Typical security contests focus on breaking or mitigating the impact of buggy systems. We present the Build-it, Break-it, Fix-it (BIBIFI) contest, which aims to assess the ability to securely build software, not just break it. In BIBIFI, teams build specified software with the goal of maximizing correctness, performance, and security. The latter is tested when teams attempt to break other teams' submissions. Winners are chosen from among the best builders and the best breakers. BIBIFI was designed to be open-ended; teams can use any language, tool, process, etc. that they like. As such, contest outcomes shed light on factors that correlate with successfully building secure software and breaking insecure software. We ran three contests involving a total of 156 teams and three different programming problems. Quantitative analysis from these contests found that the most efficient build-it submissions used C/C++, but submissions coded in a statically-type safe language were 11 times less likely to have a security flaw than C/C++ submissions. Break-it teams that were also successful build-it teams were significantly better at finding security bugs.
Motivation & Objective
- To address the gap in cybersecurity education and research by creating a contest that evaluates secure software development, not just vulnerability exploitation.
- To study the factors influencing secure software construction and effective vulnerability discovery in real-world-like conditions.
- To provide empirical data on how programming language choice, team composition, and development practices affect software security outcomes.
- To create a scalable, incentive-aligned contest framework that encourages deep, broad, and accurate vulnerability reporting.
- To serve as a research platform for studying secure software engineering practices and incubating improvements in secure development.
Proposed method
- BIBIFI organizes contests in three phases: Build-it (teams implement secure software per specification), Break-it (teams find and report vulnerabilities in others' code), and Fix-it (builders patch reported flaws to recover points for duplicate fixes).
- Scoring is designed to reward correctness, performance, and security, with independent rankings for top builders and top breakers.
- Teams earn points for valid, unique vulnerability reports; duplicate reports or those identifying the same underlying defect reduce scores, discouraging redundant submissions.
- The contest uses automated oracles to validate test cases and ensure reproducibility of reported defects.
- Data from three contests involving 156 teams and three distinct programming problems were collected, including artifacts, surveys, and participation logs for analysis.
- Quantitative analysis correlates development practices (language, team size, testing) with build-it and break-it performance outcomes.
Experimental results
Research questions
- RQ1How does the choice of programming language affect the likelihood of security flaws in secure software implementations?
- RQ2To what extent do teams that excel at building secure software also outperform in discovering vulnerabilities in others' code?
- RQ3How does team size influence the effectiveness of vulnerability discovery in the break-it phase?
- RQ4What development practices correlate with higher-quality secure software and more effective vulnerability detection?
- RQ5How do incentives in the scoring system affect the quality and diversity of vulnerability reports?
Key findings
- C/C++ was the most efficient language for implementing high-performing build-it submissions, but it had a significantly higher incidence of security flaws compared to statically-typed languages.
- Submissions written in statically-typed languages were 11 times less likely to contain security flaws than those in C/C++.
- Break-it teams that were also successful build-it teams were significantly more effective at identifying security vulnerabilities, indicating a strong correlation between secure coding skill and vulnerability discovery ability.
- Larger break-it teams were more successful at breaking software, as code auditing is a highly parallelizable task.
- The incentive structure effectively discouraged redundant reporting, promoting broader and deeper vulnerability exploration across multiple submissions.
- The contest framework successfully generated high-quality, empirically grounded data on secure software development practices, supporting its use as a research and educational platform.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.