1 00:00:16,690 --> 00:00:18,730 Alright, so yeah, let's get started. 2 00:00:19,570 --> 00:00:21,610 So I want to start off by introducing the team. 3 00:00:21,610 --> 00:00:26,870 This was a long and fun, most of the time, road getting here. 4 00:00:27,010 --> 00:00:31,970 It took a lot of people, and it took a lot of effort, and I want to start off by acknowledging those people. 5 00:00:32,110 --> 00:00:37,350 Several of them are here today to help talk about Buttercup and some of the technical decisions we made. 6 00:00:37,490 --> 00:00:40,050 But some of them aren't, so I want to make sure that they're recognized here. 7 00:00:40,050 --> 00:00:41,530 So I'll start off. 8 00:00:42,090 --> 00:00:49,010 I was already introduced, I was the overall team lead for both the semifinals and the finals, and I was also the lead designer of the Buttercup system. 9 00:00:49,010 --> 00:00:53,630 I was the primary author of the original concept paper that won the white paper contest. 10 00:00:53,990 --> 00:00:56,270 My co-designer for this is Ian Smith. 11 00:00:56,410 --> 00:01:02,590 He was also the lead on our vulnerability discovery component for the semifinals and finals. 12 00:01:02,830 --> 00:01:11,650 Ron Etcheson, here today with us, he was in charge of AI-based seed generation, and he was in charge of that for both the finals and the semifinals. 13 00:01:12,230 --> 00:01:16,570 Henrik Brodin was our orchestration lead for the finals. 14 00:01:16,870 --> 00:01:19,690 In the semifinals, we had Eric Kilmer and Francesco. 15 00:01:19,690 --> 00:01:25,930 Here they were co-leads for that in the semifinals, but had to go work on other projects for the second half of this competition. 16 00:01:27,250 --> 00:01:29,530 Ricardo was in charge of our patcher. 17 00:01:29,850 --> 00:01:36,950 Some truly Herculean efforts from him, building our rather complex patching system. 18 00:01:37,030 --> 00:01:40,430 Evan Downing, also here with us today, ran contextualization. 19 00:01:40,430 --> 00:01:44,510 And then we also had a couple of code mercenaries that helped us out along the way. 20 00:01:44,570 --> 00:01:47,630 Boyan was one of the system developers. 21 00:01:47,630 --> 00:01:49,810 He worked with us on the semifinals and the finals. 22 00:01:50,910 --> 00:01:56,110 We also had a couple of people that worked as an internal red team. 23 00:01:56,110 --> 00:02:02,650 We had them tasked with building out challenges that would stress the capabilities of Buttercup along the way. 24 00:02:02,650 --> 00:02:12,550 So I want to acknowledge Alessandro and Brad for working on building some of these extra challenges that made up our test set for both the semifinals and the finals. 25 00:02:12,930 --> 00:02:16,270 And last but not least, there's a couple of other folks who helped us out in the beginning. 26 00:02:16,510 --> 00:02:22,290 In the semifinals, with some various tasks, so that's Akshay, Will, who's in the audience. 27 00:02:22,290 --> 00:02:23,190 Raise your hand, Will. 28 00:02:23,290 --> 00:02:24,010 Hi-er. 29 00:02:24,130 --> 00:02:25,110 Eric's over there, too. 30 00:02:25,110 --> 00:02:26,190 Raise your hand, too, yeah. 31 00:02:26,230 --> 00:02:28,350 And then Alan Sally is not here today. 32 00:02:29,430 --> 00:02:31,270 All right, so I'll start off with a brief origin story. 33 00:02:31,270 --> 00:02:33,970 I know most of you probably know what the AICC is. 34 00:02:34,350 --> 00:02:48,890 But just in case you don't, in case you've wandered in here from one of the various other villages, the AI Cyber Challenge is a two-year competition where teams are tasked with designing novel, automated, and AI-driven cyber reasoning systems that can automatically find and patch bugs in open-source software. 35 00:02:49,250 --> 00:02:51,330 There are three components to the AI Cyber Challenge. 36 00:02:51,330 --> 00:03:01,670 The first was a small business track white paper contest where seven teams won a million dollars in seed funding to participate in the competition by submitting concepts for their cyber reasoning systems. 37 00:03:01,670 --> 00:03:03,350 Trail of Bits was one of those teams. 38 00:03:04,110 --> 00:03:10,190 The semifinals was held last year at DEF CON where 39 teams participated. 39 00:03:10,330 --> 00:03:11,830 Seven teams advanced to the finals. 40 00:03:11,830 --> 00:03:13,990 We were obviously one of those teams as well. 41 00:03:14,130 --> 00:03:20,290 And then the finals were held here at DEF CON this year with the top three teams all receiving cash prizes. 42 00:03:20,290 --> 00:03:28,750 We were the second place finishing, so you actually can't see it down there, but we, yeah, Buttercup finished second, and this is now the end of the competition. 43 00:03:28,750 --> 00:03:33,250 So if you're not familiar with how it's structured, this is a very brief overview. 44 00:03:33,310 --> 00:03:35,730 Each team creates a cyber reasoning system. 45 00:03:35,730 --> 00:03:40,830 They deploy their code onto a competition organizer-provided infrastructure. 46 00:03:40,830 --> 00:03:46,670 It doesn't have access to the internet, but it does have access to third-party LLMs and a competition API. 47 00:03:47,030 --> 00:03:52,530 The cyber reasoning systems get tasked with challenge projects, which look like open-source code repositories. 48 00:03:52,530 --> 00:03:57,970 They're given a certain amount of time and money to try and find and patch vulnerabilities within those challenge projects. 49 00:03:57,970 --> 00:04:02,450 And when they find the vulnerabilities, they're able to submit this to the competition API and score points. 50 00:04:03,170 --> 00:04:13,310 If they're able to find vulnerabilities, they're able to then try and patch them, which they can also score additional points, but this is still subject to the original time and money budget per challenge. 51 00:04:14,310 --> 00:04:17,350 All right, so let's talk a little bit about the design of Buttercup. 52 00:04:17,350 --> 00:04:31,390 As I mentioned before, we originally submitted a concept before the rules of this competition were clear, but our guiding principles from the beginning were an acknowledgement that conventional software analysis is really good at solving certain problems, 53 00:04:31,390 --> 00:04:36,590 and AIML-based approaches work really well for certain problems, and oftentimes they're complementary. 54 00:04:37,950 --> 00:04:46,350 So, our goal was to break down this problem end-to-end of finding and patching vulnerabilities and choose the best technique to solve each sub-problem. 55 00:04:46,470 --> 00:04:50,790 And most importantly, we want to acknowledge that large language models have limitations. 56 00:04:50,790 --> 00:04:59,750 They also have a lot of power for developing systems that work at scale, but we don't want to ask LLMs to do things that they're not good at because that's counterproductive. 57 00:05:00,150 --> 00:05:03,470 So, when we broke the problem down, we fundamentally had to do four things. 58 00:05:03,470 --> 00:05:19,890 We had to discover and prove the existence of vulnerabilities, contextualize vulnerabilities so that we can use large language models for certain tasks, we need to create and validate patches, and then we need to orchestrate all these tasks effectively and scale them so that we can maximally use our resources and maximize our score. 59 00:05:21,010 --> 00:05:24,030 All right, so this I am not going to describe everything on here. 60 00:05:24,030 --> 00:05:30,590 This was actually our original concept, which was tremendously more ambitious than what we actually built. 61 00:05:30,590 --> 00:05:36,590 This was largely a design that myself and Ian came up with before we knew the rules of the competition. 62 00:05:37,750 --> 00:05:44,650 Once we actually came into contact with the rules, it turns out some of the things we wanted to do were illegal, so we had to get rid of those. 63 00:05:44,930 --> 00:05:51,510 It turns out some of the things that we wanted to do were not going to work within the competition API structure, so we had to can those. 64 00:05:51,510 --> 00:05:54,810 Ultimately, we came out with the pipeline that you see here. 65 00:05:54,850 --> 00:06:10,790 Ultimately, Buttercup has an orchestration system that takes challenge projects, it downloads them, pushes them through a vulnerability discovery phase where we use a combination of static analysis, dynamic analysis, and large language models to discover vulnerabilities in systems. 66 00:06:10,790 --> 00:06:19,750 We have a contextual analysis phase, which gathers up additional code facts that we need to do effective patching and effective vulnerability discovery on subsequent rounds. 67 00:06:19,750 --> 00:06:32,310 And this information is also fed to our patch generation agent, which is a multi-agentic system that creates patches, validates them, makes sure that they work, makes sure that they fix the vulnerabilities that we discovered, and also more importantly, 68 00:06:32,310 --> 00:06:34,350 that they don't clobber other functionality. 69 00:06:35,850 --> 00:06:42,490 Alright, so with all of that said, we spent three months working on Buttercup in the semifinals. 70 00:06:42,830 --> 00:06:47,990 We submitted it and we took it to DEF CON last year, where we did quite well. 71 00:06:47,990 --> 00:06:56,490 So if you're not familiar with what this looks like, these are achievements that each cyber reasoning system won throughout the semifinals. 72 00:06:57,050 --> 00:07:04,290 Achievements we're giving for being the first team to find a particular vulnerability, or the first team to patch a particular vulnerability. 73 00:07:04,290 --> 00:07:06,110 So these are like first blood style bounties. 74 00:07:06,110 --> 00:07:12,130 This doesn't mean that other teams couldn't also find these vulnerabilities and score points, it just meant that we were the first. 75 00:07:12,330 --> 00:07:18,330 So the vulnerability, or the achievements that you see boxed in red, were ones that were won by Trail of Bits. 76 00:07:18,330 --> 00:07:23,230 We won 10 of them, and I think there's about 42 total achievements that were given. 77 00:07:23,710 --> 00:07:30,230 We did quite well in the semifinals, and as I mentioned already, we did advance to the finals. 78 00:07:30,350 --> 00:07:40,330 This is a readout of the heat map of the five different challenge projects, the vulnerabilities that were discovered and patched by all teams collectively. 79 00:07:40,550 --> 00:07:47,210 The ones marked with our company logo there are the ones that we received achievements for finding and patching first. 80 00:07:48,770 --> 00:07:56,610 So if you take a look a little bit deeper in the data, and you look at how we perform by different CWV types, you'll see that we did quite well on C challenges. 81 00:07:56,870 --> 00:08:00,150 Any type of vulnerability we were able to find, we were also able to patch. 82 00:08:00,310 --> 00:08:02,250 But we also did have some gaps. 83 00:08:02,270 --> 00:08:05,690 Notably, we had something go wrong with Java tile challenges. 84 00:08:05,690 --> 00:08:10,010 We actually still don't know what happened, because some of the data we needed was never made available. 85 00:08:10,010 --> 00:08:12,710 But, you know, spoiler alert, we did fix it for the finals. 86 00:08:12,710 --> 00:08:15,970 So we did have some, you know, we had quite a bit of work to do. 87 00:08:15,970 --> 00:08:17,310 We didn't run away with the semifinals. 88 00:08:17,310 --> 00:08:19,830 We were kind of in a cluster of three teams at the top. 89 00:08:21,310 --> 00:08:29,610 Alright, so now let's talk about what I think most of you are really here to see, which is what our finals winning CRS looks like. 90 00:08:31,270 --> 00:08:35,870 So I'll start off by kind of summarizing some of the lessons that we learned in the semifinals. 91 00:08:36,730 --> 00:08:44,070 Ultimately, we were successful, so it kind of validated our approach, but we obviously acknowledged the big gap for handling Java style challenges. 92 00:08:44,210 --> 00:08:52,470 And we also identified some shortcomings in our vulnerability discovery pipeline, where we were kind of missing out on certain types of vulnerabilities, certain CWB types. 93 00:08:52,710 --> 00:08:59,350 There were also a number of rule changes for the finals that changed how Buttercup 2.0 looked compared to Buttercup 1.0. 94 00:08:59,350 --> 00:09:03,890 Namely, that the scale was massively increased. 95 00:09:03,890 --> 00:09:09,490 In the semifinals, we had four hours and $100 to process each challenge project. 96 00:09:09,490 --> 00:09:19,230 And in the finals, everything was grouped together, but we had in the final round, we actually had like $50,000 in LLM credits, and I think $80,000 in compute. 97 00:09:19,230 --> 00:09:25,110 So a massive scaling challenge was part of our effort for Buttercup 2.0. 98 00:09:26,490 --> 00:09:31,010 There's also a little bit of some more complex scoring changes added. 99 00:09:31,190 --> 00:09:35,770 Static analysis alerts were added that had injected an element of uncertainty. 100 00:09:35,770 --> 00:09:41,450 They could be true positives, false positives, but ultimately we don't want to dig too much into the weeds on that. 101 00:09:42,150 --> 00:09:46,930 So because of a lot of these changes and a lot of the lessons learned, we basically built Buttercup 2.0 from scratch. 102 00:09:46,930 --> 00:09:47,910 We started over. 103 00:09:47,990 --> 00:10:02,110 We carried forward a lot of code, particularly from our patching system, but a lot of the infrastructure changes really made it clear that it was better for us to start over from scratch and not carry forward any of the technical debt that we had on the first version of Buttercup. 104 00:10:03,550 --> 00:10:10,290 And a big part of this is that we wanted the ability to easily change the scale and cost of deployment for the various rounds. 105 00:10:10,630 --> 00:10:14,650 One quirk of the finals for AICC is that they actually had exhibition rounds. 106 00:10:14,650 --> 00:10:20,810 We had practice rounds, and they were progressively increasing the scale and number of challenge projects that we had to face. 107 00:10:20,810 --> 00:10:24,290 So we didn't want to have to reconfigure the system for a week before each round. 108 00:10:24,290 --> 00:10:26,430 We wanted to be able to easily reconfigure it. 109 00:10:28,150 --> 00:10:36,290 But ultimately our high-level concept for Buttercup remained the same as it did in the semifinals, which, if you recall, looks like this. 110 00:10:36,290 --> 00:10:48,390 So I've been talking for a while, and now I want to hand it over to some of the really talented people on the team who led various aspects and let them talk about some of their technical aspects of their components. 111 00:10:48,390 --> 00:10:50,010 So first, Henrik. 112 00:10:50,310 --> 00:10:50,890 Hi. 113 00:10:50,890 --> 00:10:51,610 Thank you. 114 00:10:51,610 --> 00:10:53,770 So I'll say something about orchestration. 115 00:10:53,950 --> 00:11:01,450 And orchestration is the glue that connects all these other components that finds and patches bugs that my amazing colleagues built. 116 00:11:01,450 --> 00:11:07,350 And I'll talk specifically about submission processing, as I think that's probably the most interesting part. 117 00:11:07,350 --> 00:11:13,230 That is the part that decides how, what, and when we submit to the competition API. 118 00:11:13,470 --> 00:11:23,790 And we chose a somewhat conservative approach, as we wanted to maintain a high accuracy score, or accuracy multiplier for our project. 119 00:11:23,790 --> 00:11:32,810 And some of the guiding principles for this was that we always required a POV, and a POV is like an input that triggers a vulnerable state in the program or a crash. 120 00:11:32,990 --> 00:11:38,910 Further, we also actually never claimed that a serif broadcast would be invalid. 121 00:11:38,970 --> 00:11:43,090 And this was done to maximize our confidence in the submissions. 122 00:11:44,250 --> 00:11:48,590 Also, for the actual process, we had like four main steps. 123 00:11:48,590 --> 00:11:56,150 And the first step is that we would filter out any trivially duplicate POV by just looking at stack trace information. 124 00:11:56,570 --> 00:12:06,490 Second step would be that we look at POVs that have similar stack traces and group them together, and we consider them examples of the same underlying vulnerability. 125 00:12:06,850 --> 00:12:09,730 And the third step is that we would look at the patches. 126 00:12:09,730 --> 00:12:17,710 If a patch remediates several POVs, we would also group those POVs together, as we would consider that patch remediating a single vulnerability. 127 00:12:18,210 --> 00:12:29,210 And finally, we would monitor as we get more and more POVs from fuzzing and other components to make sure that the patches are still valid and fixes the problem. 128 00:12:29,850 --> 00:12:44,810 And this all results in us trying to submit a single bundle for a group of POVs that we consider representing the underlying vulnerability, along with a patch that remediates it, and potentially a serif broadcast as well, if applicable. 129 00:12:45,210 --> 00:12:47,990 So, some notes about the orchestration and submission processing. 130 00:12:47,990 --> 00:12:48,790 Thank you. 131 00:12:49,910 --> 00:12:51,190 All right, thanks, Henrik. 132 00:12:51,190 --> 00:12:53,170 All right, next up is Ron Acheson. 133 00:12:53,170 --> 00:12:55,890 He's going to talk about our vulnerability discovery component. 134 00:12:56,550 --> 00:13:03,310 Yeah, so the vulnerability discovery strategy at a high level was combined fuzzing with LLM input generation. 135 00:13:03,310 --> 00:13:20,910 So first, on the fuzzing side, we used standard OSS fuzz fuzzers, we used LibFuzzer and Jazzer, and we had many fuzzing workers that ran short campaigns on the available harnesses, and then we merged the corpuses from these fuzzing workers using a merger bot, 136 00:13:20,910 --> 00:13:24,150 which only preserved inputs that increased the code coverage. 137 00:13:24,410 --> 00:13:28,510 And so we had a shared corpus for each harness that we were fuzzing. 138 00:13:28,510 --> 00:13:35,670 Then we also had the LLM input generation component that contributed to the same shared corpus that the fuzzer used. 139 00:13:35,670 --> 00:13:40,370 So this is how we had the LLM feed inputs that would then benefit the fuzzer. 140 00:13:40,430 --> 00:13:44,090 So now to dive into the LLM component a little bit more. 141 00:13:45,250 --> 00:13:50,830 So, for the LLM component, which I worked on, there were basically two main goals. 142 00:13:50,830 --> 00:13:54,590 The first goal, as I mentioned on the previous slide, was to support fuzzing. 143 00:13:54,590 --> 00:14:00,250 We knew that we could use LLMs to create inputs that would bootstrap the fuzzer and that would unblock the fuzzer. 144 00:14:00,250 --> 00:14:05,750 So that was the first goal, and we had a couple tasks that were designed for that, to support that goal. 145 00:14:05,750 --> 00:14:14,570 And these tasks looked like LLM agents that would use tools to collect context about the codebase and then generate inputs to support that goal. 146 00:14:14,710 --> 00:14:18,830 And then the second task was to do independent vulnerability discovery. 147 00:14:18,830 --> 00:14:39,270 And so this meant basically a task that was similar to the other tasks, but was more expensive to allow the LLM to explore the codebase a sufficient amount and reason about bugs, test the hypotheses, and create inputs that could trigger bugs that it identifies. 148 00:14:39,270 --> 00:14:46,610 And then for that workflow, any inputs that it found that trigger a bug, it would submit those independently of the fuzzer. 149 00:14:47,410 --> 00:14:53,010 So those were the two tasks that the LLM component worked to support. 150 00:14:54,050 --> 00:14:54,870 Alright, thanks. 151 00:14:54,870 --> 00:14:58,410 Up next is Evan to talk about our contextualization section. 152 00:14:58,630 --> 00:14:59,370 Sure. 153 00:15:00,190 --> 00:15:08,830 So one of the goals that we had as well was to create something called a program model, which allowed us to extract various properties from each challenge source code. 154 00:15:09,070 --> 00:15:15,550 So specifically we used two popular static analysis libraries, TreeSitter and CodeQuery. 155 00:15:16,010 --> 00:15:23,990 And what this did is allowed us to extract various properties about the source code repository, like function contents, call graphs, types, etc. 156 00:15:24,150 --> 00:15:37,890 And what we did is we packaged this all up into our own library and allowed the LLMs for both the patcher and the C generator using Langraph's tool library to interface and query those different properties. 157 00:15:38,070 --> 00:15:49,810 So for example, if the patcher started with a specific function and it realized that that function made different calls to its callers and callees, it could query this static analysis library for the answers to those questions. 158 00:15:51,190 --> 00:15:54,330 All right, next is Riccardo to talk about the patcher. 159 00:15:54,330 --> 00:16:01,490 Yeah, the patcher was a multi -agent system with three main agents working together to generate the patch. 160 00:16:02,510 --> 00:16:17,650 And the data flow between these agents were mainly programmatic , so are coded into Buttercup's codebase so that we had more control over the whole process and we could insert more checks and guardrails around LLM calls. 161 00:16:17,970 --> 00:16:27,690 However, when one of these agents failed, we relied on LLM to unblock the process and resolve the issues. 162 00:16:27,910 --> 00:16:38,610 In terms of the codebase, the whole patcher is less than 6,000 lines of code, it's all Python, and we use Langchain and Langraph for implementing the multi-agent system. 163 00:16:38,970 --> 00:16:52,130 We also use, as a main model, the OpenAI GPT 4.1 without reasoning, although we fall back to Cloud Sonnet 3.7 in case something happened to OpenAI. 164 00:16:53,030 --> 00:16:54,790 Next slide, please. 165 00:16:54,930 --> 00:16:57,730 So this is the overall architecture of the patcher. 166 00:16:57,730 --> 00:17:18,130 We have as input a vulnerability with a stack trace, and the first thing the patcher does is retrieving additional context through the contextualization part that Evan just talked about, like retrieving type definition, code definition around the functions mentioned in the stack trace. 167 00:17:18,130 --> 00:17:29,890 And also, we were looking for test instructions in the project, because they were not always given by the organization, so we tried to determine these instructions ourselves. 168 00:17:30,710 --> 00:17:41,290 All this context goes to the first agent, which is the security engineer agent, that tries to determine the real root cause of the issues described in the stack traces. 169 00:17:41,330 --> 00:17:59,030 And it provides this analysis to the next agent, the software engineer agent, that takes the root cause analysis, the stack traces, maybe the diff if it's available, and plan a strategy , essentially, to patch the code base. 170 00:17:59,030 --> 00:18:16,190 It then implements the patching strategy, and this patch goes to the quality engineer agent that actually validates the patch by building it, trying to see if the POV was actually fixed, and then checking whether we broke any functionality test. 171 00:18:16,190 --> 00:18:31,030 And then there were some extra validation steps involving LLM to actually ensure the patch did not accidentally fix the RNS code, or other files that were not allowed by the competition. 172 00:18:31,270 --> 00:18:40,070 And this is the process when everything goes right, but, of course, some steps can fail, and in that case... 173 00:18:40,070 --> 00:18:41,750 Next slide, please. 174 00:18:41,750 --> 00:19:01,210 In that case, these agents go to another agent, which is the reflection agent, that takes the overall state of the patching, the error that was generated, and extra information, and tries to determine what to do differently in order to unblock the patching process, 175 00:19:01,210 --> 00:19:17,990 where to go, if the POV was not fixed, maybe we need to generate a new root cause analysis, or maybe we need to do a different patching strategy, and so on, or maybe we need to retrieve additional context about the project we are analyzing. 176 00:19:17,990 --> 00:19:22,030 So we go in this loop until we find a good patch. 177 00:19:22,030 --> 00:19:24,630 And that's the patcher, how it works. 178 00:19:25,350 --> 00:19:26,790 All right, thanks, guys. 179 00:19:27,070 --> 00:19:29,090 All right, so how did we do in the finals? 180 00:19:30,210 --> 00:19:37,030 So the finals for AICC consisted of three exhibition rounds and one final score round. 181 00:19:37,030 --> 00:19:39,110 The exhibition rounds didn't count towards the final score. 182 00:19:39,110 --> 00:19:50,350 They were basically practice rounds for us to work out bugs and kinks with deploying Buttercup at scale, and then also figure out with some stylized examples how well we were actually doing. 183 00:19:50,350 --> 00:19:56,290 So we were the best performing cyber reasoning system in round one, but this was admittedly a bit of a small round. 184 00:19:56,310 --> 00:20:00,590 It consisted of two different challenge projects, each with one synthetic vulnerability inserted. 185 00:20:01,010 --> 00:20:12,730 So Buttercup found both vulnerabilities and was able to patch both vulnerabilities, and it also did so without submitting any incorrect POVs or any incorrect patches. 186 00:20:12,750 --> 00:20:22,310 So other cyber reasoning systems found the vulnerabilities, but some of them had submitted some incorrect patches, and others did not find all the vulnerabilities and did not patch all the vulnerabilities. 187 00:20:22,870 --> 00:20:28,190 Also interesting was that Buttercup was really resource non-intensive. 188 00:20:28,330 --> 00:20:36,770 In that first round, we had a $30,000 budget available for compute and large language model credits, and we used less than $1,000 to get the best result. 189 00:20:37,030 --> 00:20:57,290 So naturally, we were kind of riding high into exhibition round two, where we completely barfed and broke on the first batch of challenges, and for a while there, we were not quite sure what went wrong, and we were a little down on ourselves, but ultimately found that we had a relatively small and kind of trivial bug. 190 00:20:57,670 --> 00:21:13,090 Basically, we were using some system data to name certain files within our system, and depending on the type of challenge, those file names could get too long, and they could cause a hard crash that even the magic of Kubernetes couldn't restart and fix. 191 00:21:13,150 --> 00:21:21,950 So it turns out that we had actually crashed and barfed on that first round of challenges, but it wasn't because of any of our ability to process or any other shortcomings of the system. 192 00:21:21,950 --> 00:21:32,450 We later found out that when we re-ran this on our own schedule, that we actually performed quite well, even though in the actual round we were only able to process about three of the 18 challenges they sent us. 193 00:21:33,270 --> 00:21:37,410 So I'm happy to say we bounced back in exhibition round three. 194 00:21:37,710 --> 00:21:42,930 There were about 26 challenges that we were provided, and we found and patched vulnerabilities in 20 of them. 195 00:21:42,930 --> 00:21:45,790 We didn't have any information for how other teams were doing. 196 00:21:45,890 --> 00:21:49,730 We had to wait until the finals to find that out. 197 00:21:50,010 --> 00:21:58,530 And here in the second round, or the scored round, Buttercup came in second place, winning us a $3 million prize. 198 00:21:58,870 --> 00:22:05,790 So out of the various challenge projects, we found 28 different vulnerabilities and were able to make patches for 19 of those vulnerabilities. 199 00:22:06,230 --> 00:22:10,930 We had a rather large budget, and we only used $40,000 of it. 200 00:22:10,930 --> 00:22:14,450 That was pretty evenly split between compute and large language model credits. 201 00:22:14,850 --> 00:22:19,770 And we also achieved a greater than 90% accuracy, which was one of our keys to success. 202 00:22:20,790 --> 00:22:24,810 Digging into the data a little bit, we haven't had a ton of time to look into this. 203 00:22:25,130 --> 00:22:30,910 We'll have more on our blog about this in the coming months as we get a chance to look through all the data that we get from DARPA and dig through it. 204 00:22:31,650 --> 00:22:42,230 Looking at our achievements on the tablets outside of the booth, we figured out that we were able to find at least one POV that nobody else did. 205 00:22:42,370 --> 00:22:46,010 So we were able to cover some ground that other cyber reasoning systems weren't covering. 206 00:22:46,330 --> 00:22:58,610 We also found at least one non-synthetic vulnerability, which we're not 100% sure right now because we haven't looked at it, whether that constitutes Buttercup having found a zero day, like an honest-to-goodness vulnerability that the organizers didn't know about, 207 00:22:58,610 --> 00:23:04,310 or if there was some sort of issue where it was maybe introduced by some of their synthetic vulnerabilities, but they weren't aware of it. 208 00:23:04,570 --> 00:23:10,230 We have to dig into that a little bit, but we've proven that Buttercup can find vulnerabilities in real-world systems. 209 00:23:10,230 --> 00:23:15,110 We can run it at scale, and it can be quite successful with relatively low costs. 210 00:23:15,930 --> 00:23:18,710 So you might ask, like, how did we come in second place? 211 00:23:19,190 --> 00:23:24,870 The keys to our success, if you look at the scoring algorithm, really came down to accuracy and doing well on all tasks. 212 00:23:25,370 --> 00:23:37,830 So a couple of cyber reasoning systems were kind of in the same cluster as us, kind of vying for second, third, and fourth place, but we had 90% accuracy, whereas the third place finishing team had only 45%. 213 00:23:37,830 --> 00:23:44,510 They had a higher tolerance for false positives, and our lower tolerance for false positives ended up netting us second place. 214 00:23:45,090 --> 00:23:58,310 Also, the fourth place team, or the fifth place team, I'm not quite sure, I have to look at it again, but there was one team that scored lower than us, but found more vulnerabilities, but they were less successful at patching them, which was worth significantly more points in this competition. 215 00:23:58,310 --> 00:24:07,590 So by doing well at all phases of the competition and being highly accurate and eliminating false positives to the maximum degree possible, that's what got us into second place. 216 00:24:08,570 --> 00:24:11,390 All right, so you might be asking yourself now, okay, I want to try it. 217 00:24:11,390 --> 00:24:13,010 I want to see what this thing is all about. 218 00:24:13,010 --> 00:24:14,250 So, you're in luck. 219 00:24:14,250 --> 00:24:15,650 We've open-sourced Buttercup. 220 00:24:15,970 --> 00:24:22,530 We've open-sourced both the original source code as we submitted it for the semifinals and for the finals. 221 00:24:22,730 --> 00:24:27,430 So you can see the full-scale, unadulterated, messy versions of Buttercup if you like. 222 00:24:27,590 --> 00:24:34,010 Fair warning, these are code bases that are fairly coupled to the competition infrastructure that was provided to us by DARPA. 223 00:24:34,010 --> 00:24:35,770 They aren't very user-friendly. 224 00:24:36,210 --> 00:24:44,650 So over the last month, we've been hard at work building you a stand-alone variant of Buttercup that you can download and it's scaled down to run on your laptop. 225 00:24:44,990 --> 00:24:50,010 So there's an example challenge that was an actual challenge that was used in some of the exhibition rounds. 226 00:24:50,170 --> 00:24:58,550 And even on your laptop, you can run Buttercup, you can install it with a couple of commands, and you can find and patch a vulnerability in less than an hour on a commodity hardware. 227 00:24:58,550 --> 00:25:05,910 So we really believe in making the security tools that we build available to everybody so we can improve the state of security for everyone. 228 00:25:06,050 --> 00:25:14,630 And that's why we've made our version of Buttercup available and we intend to maintain it with a portion of the winnings that we've won here in the finals for AICC. 229 00:25:14,630 --> 00:25:15,790 So you can get all of these now. 230 00:25:15,790 --> 00:25:17,450 They're open source right now. 231 00:25:17,670 --> 00:25:23,730 They're on GitHub and we also have a couple of blog posts on our website detailing how to use them and how to get the most out of them. 232 00:25:23,810 --> 00:25:27,410 So we hope you enjoy those and that is the end of our talk. 233 00:25:27,410 --> 00:25:29,110 Four minutes ahead of time. 234 00:25:29,110 --> 00:25:30,290 Thank you very much.