1 00:00:15,060 --> 00:00:16,280 Great, thank you. 2 00:00:17,040 --> 00:00:19,440 Yeah, so I'm Tyler Nicewonder from Ethere. 3 00:00:20,120 --> 00:00:29,920 You know, I think a lot of teams are going to talk about a lot of different stuff, but I thought this would be the most fun, and our architecture is a little bit interesting, so I thought maybe people would enjoy hearing a little bit about it. 4 00:00:30,920 --> 00:00:35,940 So, hopefully most of you kind of get the idea behind this AIXCC thing, right? 5 00:00:35,940 --> 00:00:44,960 You want to make some patches, you want to make some POV input things, you get some weird, magical LLMs. 6 00:00:45,260 --> 00:00:47,140 Great, sounds wonderful. 7 00:00:47,200 --> 00:00:48,600 You can use other stuff, right? 8 00:00:48,600 --> 00:00:50,460 You can use anything you want. 9 00:00:50,460 --> 00:00:55,300 But really, the whole idea here is we should be using AI, because it's the cool, hype thing. 10 00:00:56,820 --> 00:00:58,940 So, patching... 11 00:00:58,940 --> 00:01:01,780 Honestly, I think most people get this idea today, right? 12 00:01:01,780 --> 00:01:05,840 This was maybe interesting last year, like 2024. 13 00:01:05,840 --> 00:01:10,160 In 2025, everyone knows what Claude Code is, or Codex, or whatever. 14 00:01:10,720 --> 00:01:12,480 Let's not talk about that. 15 00:01:12,860 --> 00:01:22,720 So, patching agent for those things, Claude Code, Codex, most of them have a single tool, or some kind of very simple tools, based primarily around a Unix shell, right? 16 00:01:22,720 --> 00:01:25,360 Unix shells are wonderful, they can do anything you want. 17 00:01:25,860 --> 00:01:27,220 That makes them terrible. 18 00:01:27,220 --> 00:01:31,800 You don't want to do anything you want with an LLM, because LLMs make mistakes all the time. 19 00:01:31,860 --> 00:01:34,540 So, our approach is a little bit different. 20 00:01:34,540 --> 00:01:39,980 We basically have kind of a few different categories of tools available to our LLM agent. 21 00:01:41,020 --> 00:01:45,080 These are further broken down, so actually we have this set of tools. 22 00:01:45,660 --> 00:01:51,840 So, our patching agent can read code, it can make changes, and it can test patches. 23 00:01:52,220 --> 00:01:57,620 And if you've ever used anything like this, test patches is a little bit scary as a tool. 24 00:01:58,260 --> 00:02:03,820 Actually, yes, it can test the patches if it wants, but we also automatically test the patches, right? 25 00:02:03,820 --> 00:02:07,480 You want to do all of this stuff automatically, if you can. 26 00:02:09,260 --> 00:02:18,240 And for reading source code, so we don't do the thing that some tools do, where it's like, I'm going to read a file, or I'm going to read a few lines of a file. 27 00:02:18,380 --> 00:02:26,100 We prefer instead to do static analysis, and we'll have something like, our agent wants to read the definition of foobar. 28 00:02:26,200 --> 00:02:33,800 I'm going to run every tool that I have in my toolbox to find the proper definition of foobar, and I will give it to it. 29 00:02:33,820 --> 00:02:39,620 I'm not going to let it try to browse the codebase, because that's a hard problem, and I can solve that statically. 30 00:02:40,100 --> 00:02:43,060 We also have this weird thing on the side, source question. 31 00:02:43,160 --> 00:02:45,580 So, source question is actually a sub-agent. 32 00:02:45,580 --> 00:02:58,420 So, we'll talk about that a little bit more later, but the basic idea is, if you have a more complicated question, I'm not asking to read definition, I'm asking, what's the maximum size of this argument in a function? 33 00:02:58,720 --> 00:03:04,480 Reading and understanding that complex query takes a lot of context tokens, it takes a lot of reasoning. 34 00:03:04,900 --> 00:03:07,680 It's better if we can shove that off somewhere else. 35 00:03:08,360 --> 00:03:15,000 So, basically, the idea here is just that sub-agents can keep the context window clean. 36 00:03:15,180 --> 00:03:16,840 There's a couple of things about this, right? 37 00:03:16,840 --> 00:03:20,960 So, the first is the number of tokens that you're using, right? 38 00:03:20,960 --> 00:03:24,500 Agents have, or LLMs, have a fixed token size. 39 00:03:24,840 --> 00:03:35,360 But even if they have a token size, like on the box advertised at a million tokens, that's not really an effective token limit. 40 00:03:35,960 --> 00:03:41,480 Realistically, once you get past 32 or 64K tokens, the performance degrades significantly. 41 00:03:41,800 --> 00:03:45,520 Hallucinations, just repeated outputs, a bunch of stuff. 42 00:03:45,520 --> 00:03:47,680 They also just get distracted, right? 43 00:03:47,680 --> 00:03:54,660 If you have a bunch of source code in your context, they're going to attend to all the different pieces of that source code and get really confused about what's going on. 44 00:03:55,200 --> 00:04:02,780 So, if we want to do one of these more complex queries, we can do this, and it also naturally compresses the context, right? 45 00:04:02,780 --> 00:04:11,200 Trying to answer this question, maybe we generate tens of thousands of tokens trying to read all the relevant source code, but the output is very small, right? 46 00:04:11,200 --> 00:04:14,260 Maybe that's only 12 tokens to give you the response. 47 00:04:14,260 --> 00:04:19,160 So, this naturally compresses the context, which is a great benefit. 48 00:04:20,300 --> 00:04:23,860 Okay, so, we have a patching agent that produces patches. 49 00:04:23,860 --> 00:04:25,220 Problem solved, right? 50 00:04:25,220 --> 00:04:28,340 Well, there's no human in the loop. 51 00:04:28,540 --> 00:04:30,560 This is AXCC, we don't get humans. 52 00:04:30,560 --> 00:04:33,040 So, what do we feed to our patching agent? 53 00:04:33,380 --> 00:04:36,860 Ah, I am very smart, bug reports. 54 00:04:36,880 --> 00:04:38,120 I will get bug reports. 55 00:04:38,120 --> 00:04:39,240 How do we get bug reports? 56 00:04:39,240 --> 00:04:40,940 Static analysis, right? 57 00:04:41,140 --> 00:04:44,720 So, patching agent, maybe it runs $5, right? 58 00:04:44,720 --> 00:04:46,640 We can run a few different ones in parallel. 59 00:04:46,640 --> 00:04:48,960 We got to test a few things. 60 00:04:49,300 --> 00:04:50,720 Bug reports, great. 61 00:04:50,720 --> 00:04:53,400 Lots of false positives, 10,000 results. 62 00:04:54,340 --> 00:04:56,500 It's going to get expensive real fast, right? 63 00:04:56,500 --> 00:04:57,520 That's not going to work. 64 00:04:57,520 --> 00:05:00,720 We can't run $50,000 of this crap. 65 00:05:01,160 --> 00:05:02,620 So, what do we do? 66 00:05:03,040 --> 00:05:05,500 What if instead we filter the reports, right? 67 00:05:05,500 --> 00:05:11,380 We get bug reports and we do something with them so we don't have 10,000 shitty reports. 68 00:05:12,180 --> 00:05:13,860 So, how do we do that, right? 69 00:05:13,860 --> 00:05:15,020 It's not obvious. 70 00:05:15,260 --> 00:05:18,280 And this is actually a really complicated and interesting problem. 71 00:05:18,280 --> 00:05:22,020 So, our approach is kind of a multi-tiered pipeline. 72 00:05:22,430 --> 00:05:25,100 So, the first is we run an LLM classifier. 73 00:05:25,140 --> 00:05:27,520 So, you're probably familiar with the classifier in general, right? 74 00:05:27,520 --> 00:05:30,440 You have some sort of multi-choice output. 75 00:05:30,600 --> 00:05:32,900 In our case, it's a binary output, yes or no. 76 00:05:32,900 --> 00:05:34,160 Is this a real bug? 77 00:05:35,100 --> 00:05:41,460 You might think about this, and if you think about this for more than two seconds, you realize this is an impossible problem, right? 78 00:05:41,460 --> 00:05:45,740 You can't look at a small function in a bug report and say that it's a real bug report. 79 00:05:46,100 --> 00:05:48,980 But maybe you can use your intuition. 80 00:05:49,040 --> 00:05:50,100 You can guess. 81 00:05:50,100 --> 00:05:51,620 You can get a basic idea. 82 00:05:52,140 --> 00:05:55,420 So, what we do is we don't just get a binary out of this. 83 00:05:55,420 --> 00:05:59,120 We can use the probabilities that the LLM is going to generate, right? 84 00:05:59,120 --> 00:06:01,400 LLM sample, they generate a probability vector. 85 00:06:01,580 --> 00:06:06,440 So, we can sample from that and get an analog between zero and one. 86 00:06:06,740 --> 00:06:08,440 And then we can use this to score. 87 00:06:08,500 --> 00:06:10,260 So, this isn't necessarily a filter. 88 00:06:10,260 --> 00:06:12,140 This is more of a priority queue. 89 00:06:12,360 --> 00:06:14,380 And the benefit here is it's insanely cheap, right? 90 00:06:14,380 --> 00:06:17,200 This is like a cent or a tenth of a cent to run. 91 00:06:17,200 --> 00:06:20,360 So, if we have 10,000 reports, no problem. 92 00:06:21,960 --> 00:06:24,900 But there is a problem, which is that there's a lot of false positives still, right? 93 00:06:24,900 --> 00:06:25,720 We get the top 10%. 94 00:06:25,720 --> 00:06:26,980 We had 10,000 reports. 95 00:06:26,980 --> 00:06:28,580 That's still 1,000 reports. 96 00:06:29,320 --> 00:06:32,080 And so, what we do next is we run an LLM agent. 97 00:06:32,240 --> 00:06:40,920 The LLM agent takes what we consider to be a reasonable report, starting from the top of the most, you know, the highest priority, works its way down. 98 00:06:41,180 --> 00:06:44,580 So, the idea here is this is a little bit more expensive, right? 99 00:06:44,580 --> 00:06:46,440 This is, let's say, 50 cents a report. 100 00:06:46,440 --> 00:06:52,680 Still can't run 50 cents on 10,000 reports, but I can run 50 cents on 1,000 reports, right? 101 00:06:52,680 --> 00:06:58,160 So, what we do is at each stage of this pipeline, we remove a little bit of the results. 102 00:06:58,300 --> 00:07:04,320 You know, we get fewer and fewer results, and now we can spend more and more resources as we move through this pipeline. 103 00:07:05,180 --> 00:07:07,180 So, the nice thing is you can also tune these, right? 104 00:07:07,180 --> 00:07:10,480 Like, we tuned them for what we thought was reasonable in AIXCC. 105 00:07:10,480 --> 00:07:14,400 In the real world, if you want to tune them to your own usage, you can. 106 00:07:14,400 --> 00:07:15,540 So, it's a nice approach. 107 00:07:16,190 --> 00:07:16,860 Great. 108 00:07:17,000 --> 00:07:18,400 We have a wonderful pipeline. 109 00:07:18,400 --> 00:07:19,220 We get bug reports. 110 00:07:19,220 --> 00:07:20,060 We filter them. 111 00:07:20,060 --> 00:07:21,120 We patch them. 112 00:07:21,120 --> 00:07:22,180 We make patches. 113 00:07:22,180 --> 00:07:27,160 We have POVs that are not being generated because that's not what this is doing. 114 00:07:28,000 --> 00:07:30,060 So, okay, how are we making POVs, right? 115 00:07:30,060 --> 00:07:34,280 How do we actually make inputs to trigger these bugs and demonstrate that this is a real bug? 116 00:07:34,920 --> 00:07:37,140 There's the obvious answer, which is fuzzing. 117 00:07:37,140 --> 00:07:39,540 Everyone probably knows fuzzing. 118 00:07:39,540 --> 00:07:40,920 You run some random inputs. 119 00:07:40,920 --> 00:07:42,000 That's great. 120 00:07:42,000 --> 00:07:44,360 I don't have a problem with fuzzing. 121 00:07:44,360 --> 00:07:45,380 I love fuzzing. 122 00:07:46,160 --> 00:07:47,880 Where are the LLMs, right? 123 00:07:47,880 --> 00:07:49,160 I thought that was the whole thing. 124 00:07:49,160 --> 00:07:50,580 We're in 2025. 125 00:07:50,580 --> 00:07:52,280 We've got to use LLMs everywhere. 126 00:07:52,280 --> 00:07:53,600 That's the whole thing. 127 00:07:54,680 --> 00:07:59,640 So, just taking a step back, though, how do we even integrate this, right? 128 00:07:59,640 --> 00:08:02,240 Our patching takes in bug reports. 129 00:08:02,320 --> 00:08:06,000 It doesn't take in binary inputs that trigger a crash. 130 00:08:06,800 --> 00:08:07,940 That's not so bad, right? 131 00:08:07,940 --> 00:08:10,360 All we've got to do is just triage the bugs. 132 00:08:10,360 --> 00:08:17,760 If we triage the bugs and we generate a human, natural language, whatever, then we have an input that we can trigger. 133 00:08:17,760 --> 00:08:22,460 So, this is an agent, once again, outputs a root cause at a source browsing. 134 00:08:22,460 --> 00:08:24,760 It looks at a stack trace, whatever. 135 00:08:26,040 --> 00:08:28,380 So, can we give that to our patching agent? 136 00:08:29,300 --> 00:08:31,320 Well, we still have some problems here. 137 00:08:31,320 --> 00:08:34,100 So, one is that these are two independent pipelines. 138 00:08:34,280 --> 00:08:39,400 The other is just that fuzzing in general produces duplicate results all over the place, right? 139 00:08:39,400 --> 00:08:44,160 If you were fuzzing, you're going to keep doing this again and again, and you're going to patch. 140 00:08:44,380 --> 00:08:46,400 We've decided $5 a patch. 141 00:08:46,480 --> 00:08:47,060 Great. 142 00:08:47,060 --> 00:08:50,360 Our fuzzing is just going to produce a bunch of duplicate bugs, and it's going to suck. 143 00:08:50,620 --> 00:08:55,820 So, what we need to do instead is a more complicated thing, where we're deduplicating the bugs. 144 00:08:56,320 --> 00:09:00,420 The nice thing here is that our agent is outputting a root cause. 145 00:09:00,560 --> 00:09:04,980 We have natural language descriptions for every bug in this pipeline, right? 146 00:09:04,980 --> 00:09:12,220 Every bug that passed through this left-hand side has a natural language description because it's a bug report. 147 00:09:12,640 --> 00:09:15,760 And now we get this triage agent that's producing a bug report. 148 00:09:15,760 --> 00:09:17,620 We can deduplicate this. 149 00:09:18,040 --> 00:09:20,140 Once again, we use an LLM classifier. 150 00:09:20,140 --> 00:09:23,940 The LLM classifier says, ah, okay, I have a multiple-choice question. 151 00:09:23,940 --> 00:09:26,940 There are 10 bugs that I have determined are relevant. 152 00:09:26,940 --> 00:09:28,400 You gave me a new bug. 153 00:09:28,520 --> 00:09:31,620 Does this English description match any of these other descriptions? 154 00:09:31,860 --> 00:09:34,320 That's a multiple-choice question, so we can use a classifier. 155 00:09:35,580 --> 00:09:37,180 Okay, great. 156 00:09:39,180 --> 00:09:43,420 But we didn't really do anything with the LLMs for these bugs, right? 157 00:09:43,420 --> 00:09:46,920 We still just used fuzzing, and that is not very satisfying. 158 00:09:46,960 --> 00:09:56,720 And we had decided that these bugs on the left-hand side were accurate enough that we're willing to patch them and spend dollars, like real dollars, to patch them. 159 00:09:57,040 --> 00:09:59,200 Why aren't we making POVs for these, right? 160 00:09:59,200 --> 00:10:02,280 We're just leaving stuff on the table, and that feels bad. 161 00:10:02,280 --> 00:10:06,140 So, let's talk about LLM POV generation. 162 00:10:06,820 --> 00:10:14,180 This is a pretty complicated problem for a number of reasons, and is way beyond the scope of what I can fit into here. 163 00:10:14,240 --> 00:10:20,300 But I think there are two main problems that we've identified with why this is difficult. 164 00:10:20,660 --> 00:10:23,860 The first is that harnesses are a real pain, right? 165 00:10:23,860 --> 00:10:29,240 So, if you're fuzzing something, you need a harness to say how I'm going to get my input into the target program. 166 00:10:30,040 --> 00:10:35,500 Part of this is that, for some projects, you might have 30 harnesses. 167 00:10:35,500 --> 00:10:39,180 Your LLM needs to figure out which is the relevant harness. 168 00:10:39,340 --> 00:10:41,420 That's already a non-trivial problem. 169 00:10:41,620 --> 00:10:45,140 The second is that harnesses are encoders, right? 170 00:10:45,140 --> 00:10:51,860 They're taking some sort of data and producing binary blobs on disk that's one packed blob of data. 171 00:10:51,860 --> 00:11:00,520 This could be protobuf, it could be TLV data, it could be compressed, it could be really anything, because whoever wrote the fuzzer gets to decide what they want to do. 172 00:11:01,500 --> 00:11:04,100 The second problem is context windows are limited. 173 00:11:04,820 --> 00:11:08,820 So, we talked about before, even a large context window can degrade quickly. 174 00:11:09,720 --> 00:11:15,560 So, for the harnesses, what we do, well, we're going all in on LLMs, so we'll make another LLM agent. 175 00:11:15,660 --> 00:11:20,300 So, the LLM agent here is responsible for what we call harness encoder agent. 176 00:11:20,600 --> 00:11:38,980 So, the idea here is, what if we had an agent, doesn't know anything about POVs, it doesn't have bug reports, all it knows is, I have a harness, and I want to make something that serializes to the same kind of natural serialization structure that a harness is using, 177 00:11:38,980 --> 00:11:39,140 right? 178 00:11:39,140 --> 00:11:42,620 A harness produces binary data on disk, that's a serialization format. 179 00:11:42,680 --> 00:11:44,920 Coding is a thing LLMs are great at. 180 00:11:44,920 --> 00:11:55,360 We'll ask the LLM to produce a Python library, which encodes how this encoder works, and gives us semantically relevant arguments. 181 00:11:55,360 --> 00:12:01,180 And then for this context window thing, we talked about this a little bit before, but we can use sub-agents, right? 182 00:12:01,180 --> 00:12:09,160 Sub-agents break up these big tasks into little tasks, and that naturally has a compression, which really helps keep our context window clean and small. 183 00:12:10,200 --> 00:12:11,160 Great. 184 00:12:11,960 --> 00:12:19,600 Now we've got this little pipeline, POV agent, obviously the POV agent goes to the POVs, maybe. 185 00:12:20,820 --> 00:12:22,440 That doesn't quite work. 186 00:12:22,440 --> 00:12:27,640 So the problem here is that LLMs love to do whatever they love to do. 187 00:12:28,620 --> 00:12:32,700 So what if we told it to exploit a bug, and it exploited the wrong bug? 188 00:12:32,820 --> 00:12:34,420 That totally happens. 189 00:12:34,420 --> 00:12:44,320 It's kind of silly, but maybe you gave it a really deep, complex bug, and it couldn't figure it out, and along the way it found a really stupid buffer overflow or something. 190 00:12:45,040 --> 00:12:45,920 Great. 191 00:12:46,060 --> 00:12:48,140 Luckily, we already have a pathway for this. 192 00:12:48,200 --> 00:12:49,780 Pass it to the triage agent. 193 00:12:50,140 --> 00:12:51,540 Integrates with our whole pipeline. 194 00:12:53,060 --> 00:12:55,060 So this is really cool. 195 00:12:55,080 --> 00:13:05,000 I think this is kind of the fundamental thing that we did, and we did differently from a lot of teams, which is that everything inside of this green box is an LLM or LLM-based, right? 196 00:13:05,000 --> 00:13:06,600 So we can turn off fuzzing. 197 00:13:06,600 --> 00:13:10,360 In fact, most of the bugs that our system finds are not found through fuzzing. 198 00:13:10,360 --> 00:13:14,040 It's something like 75% are not found through fuzzing. 199 00:13:14,720 --> 00:13:15,660 And it works. 200 00:13:15,660 --> 00:13:16,520 Everything works. 201 00:13:16,520 --> 00:13:24,400 And that's really cool, because when GPT-5 comes out, yesterday, we can plug that in and see how it does, and it improves. 202 00:13:26,580 --> 00:13:27,520 So great. 203 00:13:27,520 --> 00:13:32,280 But now we have this stuff outside the box, and why aren't we using LLMs for this stuff outside the box, right? 204 00:13:32,280 --> 00:13:34,820 Why are we restricting everything inside the box? 205 00:13:35,200 --> 00:13:37,160 So there's some easy things to do. 206 00:13:37,500 --> 00:13:43,180 The first, what if we can use our POV agent to help out our fuzzing, right? 207 00:13:43,960 --> 00:13:46,360 If we are producing a POV, right? 208 00:13:46,360 --> 00:13:48,000 We're trying to crash the program. 209 00:13:48,000 --> 00:13:54,420 We're producing, hopefully, deep inputs, which are accessing a lot of the kind of interesting parts of the code. 210 00:13:54,900 --> 00:13:58,680 So if we're doing this, even if it didn't crash the program, right? 211 00:13:58,680 --> 00:14:04,840 Even if it wasn't a valid POV for scoring or for, like, whatever purposes, it might be a really good seed for fuzzing. 212 00:14:04,940 --> 00:14:08,140 And so we're naturally producing these fuzzing seeds along the way. 213 00:14:09,540 --> 00:14:10,960 So this is nice. 214 00:14:10,960 --> 00:14:14,560 But what if there's actually nothing flowing that direction, right? 215 00:14:14,560 --> 00:14:17,140 Like, maybe our fuzzing wants to be working. 216 00:14:17,140 --> 00:14:19,300 Maybe our static analysis failed. 217 00:14:19,300 --> 00:14:21,440 Maybe our static analysis is bad. 218 00:14:21,440 --> 00:14:23,300 Maybe we just couldn't find any bugs. 219 00:14:23,300 --> 00:14:24,140 Who knows? 220 00:14:25,180 --> 00:14:27,140 So what if we just have another thing, right? 221 00:14:27,140 --> 00:14:28,580 A fuzz helper agent. 222 00:14:28,940 --> 00:14:36,140 A lot of people, if you think about, like, the Cyber Grand Challenge, a lot of folks, what we did is we would use symbolic execution or something. 223 00:14:36,140 --> 00:14:41,280 The symbolic executor can assist the fuzzing by generating inputs when the fuzzing is stuck. 224 00:14:41,320 --> 00:14:42,920 So what do we actually need, right? 225 00:14:42,920 --> 00:14:46,660 Like, this can't just be a one-directional thing. 226 00:14:46,660 --> 00:14:50,320 This needs to be bi-directional because it needs to know how to help the fuzzer. 227 00:14:50,540 --> 00:14:53,220 So now we need to add something like a coverage database. 228 00:14:53,680 --> 00:14:55,160 So this isn't too bad, right? 229 00:14:55,160 --> 00:14:59,120 This is a known engineering thing, not a research thing. 230 00:14:59,120 --> 00:15:06,640 But basically what we can do is we can take all of the stuff that we've done through fuzzing, we can run that through a coverage database, collect the coverage. 231 00:15:06,700 --> 00:15:10,780 Now we can do static analysis to say, hey, there's a bunch of coverage left on the table, right? 232 00:15:10,780 --> 00:15:18,420 If you ever called foobar, you would have a really interesting time fuzzing that, and you've never called foobar. 233 00:15:18,420 --> 00:15:22,400 So as my fuzz helper agent, I'm going to make that happen. 234 00:15:24,100 --> 00:15:29,060 Well, now we have this wonderful coverage database, and all we're doing is fuzzing. 235 00:15:29,360 --> 00:15:31,760 Why don't we give that to the POV agent too? 236 00:15:32,320 --> 00:15:35,140 So there's a couple ways that this can work. 237 00:15:36,380 --> 00:15:40,500 Primarily when we launch our POV agent, we don't use this pipeline at all. 238 00:15:40,780 --> 00:15:50,880 But if our POV agent runs, and we have a useful input, and it has failed a couple, like the POV agent failed a couple times, then we'll start using additional inputs, right? 239 00:15:50,880 --> 00:15:53,760 So we'll say, hey, you were trying to exploit foobar. 240 00:15:53,840 --> 00:15:58,860 You couldn't reach foobar because it's really complicated, and you're in LLM, and you're having a hard time. 241 00:15:59,220 --> 00:16:09,600 Well, we can take the foobar input that we got through fuzzing, and we can give that back to the POV agent and say, hey, can you make a POV if you already start from this function, right? 242 00:16:09,600 --> 00:16:14,220 That gives it a huge boost and makes its job a lot easier. 243 00:16:15,440 --> 00:16:16,060 Cool. 244 00:16:18,580 --> 00:16:21,440 So the other thing here, you know, we talked about this. 245 00:16:21,440 --> 00:16:22,760 Now we have an agent. 246 00:16:22,900 --> 00:16:25,340 Our fuzzing is going directly into an agent. 247 00:16:25,400 --> 00:16:26,660 Agents are dollars. 248 00:16:26,660 --> 00:16:27,620 Agents aren't cents. 249 00:16:27,620 --> 00:16:28,740 This isn't cheap. 250 00:16:28,840 --> 00:16:30,220 This isn't too bad. 251 00:16:30,520 --> 00:16:33,580 Kind of this little easy de-dupe thing, right? 252 00:16:33,580 --> 00:16:38,640 You can do stack hashes, like figure out where a crash, what it looked like, what instruction pointer. 253 00:16:38,640 --> 00:16:40,080 That's not too bad. 254 00:16:40,500 --> 00:16:41,860 There's another thing, though. 255 00:16:42,040 --> 00:16:47,040 If we take our patches, we can pipe that all the way through as well, right? 256 00:16:47,040 --> 00:17:00,900 So if you imagine that this pipeline has already patched a bug, if that patch also fixes an input that you found through fuzzing, well, naturally, you have already fixed that bug. 257 00:17:00,900 --> 00:17:08,060 We already have a root cause for the bug, because everything on this left-hand side already has a root cause associated with it. 258 00:17:08,060 --> 00:17:09,260 So we're all good, right? 259 00:17:09,260 --> 00:17:16,740 We can just use that directly to de-dupe our bugs separately from using stack hashes or these other techniques. 260 00:17:16,740 --> 00:17:23,420 So we use them in parallel, but that just helps to reduce the work that we have to pass to an agent, which, again, more expensive. 261 00:17:25,760 --> 00:17:28,800 Well, we need our patching agent to be doing a good job. 262 00:17:29,460 --> 00:17:32,780 So the other thing is we can feed our POVs into it. 263 00:17:32,880 --> 00:17:37,640 Obviously, when it started, we might have given it a POV and said, like, here's the crash you're trying to work on. 264 00:17:38,060 --> 00:17:45,940 But again, we also have this really nice thing where every POV, every patch is associated with a root cause vulnerability. 265 00:17:46,200 --> 00:17:53,100 So we can say, hey, my patching agent said that it patched these, whatever, this root cause. 266 00:17:53,100 --> 00:18:01,680 I have 15 POVs that I've generated through fuzzing, through whatever, that are all minimized or de-duplicated to the same root cause. 267 00:18:01,680 --> 00:18:05,140 I will pass that and make sure that my patch patches all of them. 268 00:18:05,140 --> 00:18:06,360 Otherwise, I'm going to restart it. 269 00:18:08,320 --> 00:18:09,200 Okay. 270 00:18:10,260 --> 00:18:12,920 So there's a lot of details that we're leaving out here, right? 271 00:18:12,920 --> 00:18:16,480 One of them is, like, what the heck do these arrows mean, right? 272 00:18:16,480 --> 00:18:23,660 Like, what does it mean to pass coverage thingy into POV agent or, like, POV into patch agent? 273 00:18:23,660 --> 00:18:25,440 Like, we already said that doesn't work. 274 00:18:25,640 --> 00:18:28,620 So what we do here is we have a decoder. 275 00:18:28,620 --> 00:18:33,360 So this is analogous to our encoder that we use. 276 00:18:33,480 --> 00:18:39,000 So much like we can produce an encoder for a harness, we can produce a decoder for a harness, right? 277 00:18:39,000 --> 00:18:41,740 It's a serialization format at its core. 278 00:18:41,740 --> 00:18:43,920 So we can produce an encoder and a decoder. 279 00:18:44,040 --> 00:18:46,700 So what we do here is we do the same thing. 280 00:18:46,700 --> 00:18:53,420 We get the binary data that we use from our fuzzing input, and we decode it into semantically meaningful data. 281 00:18:53,960 --> 00:18:59,040 This is nice because, really, like, what does it mean to pass binary data to an LLM? 282 00:18:59,040 --> 00:19:00,700 Like, yeah, you can hex encode it. 283 00:19:00,700 --> 00:19:04,300 But even if you hex encode it, is the LLM going to understand it, right? 284 00:19:04,300 --> 00:19:09,140 Are the token boundaries that the LLM is going to use, is that going to match up with bytes? 285 00:19:09,340 --> 00:19:11,700 Are you going to have, like, three nibbles for a token? 286 00:19:11,700 --> 00:19:13,160 That's going to be really confusing. 287 00:19:13,160 --> 00:19:22,220 Even if you don't have three nibbles for a token, if you have, like, a four-byte length field and then a two-byte tag, you don't want those to be, like, just bytes. 288 00:19:22,220 --> 00:19:24,640 You want those to be semantically meaningful things, right? 289 00:19:24,640 --> 00:19:32,900 But we can create a decoder, much like we created an encoder, and feed that decoded value into the LLM agents, and it can understand this a lot better. 290 00:19:34,360 --> 00:19:37,140 Once again, we get to just use an LLM agent for this. 291 00:19:37,140 --> 00:19:40,600 We can test it the same way that we were testing our encoder. 292 00:19:41,100 --> 00:19:46,200 This time, we run it against all the fuzzing seeds or any seed we have, make sure it doesn't crash or whatever. 293 00:19:47,780 --> 00:19:55,820 Okay, this is getting a little bit unruly, but you think you get the basic idea that we have a lot of these kind of components, they're all talking to each other. 294 00:19:56,480 --> 00:20:01,720 So, now we've got to implement this wonderful, elegant architecture. 295 00:20:01,720 --> 00:20:04,900 Um, you know, this is still a high-level diagram, right? 296 00:20:04,900 --> 00:20:13,440 Like, there's a lot going on that we can't talk about, extra classifiers to make sure we're not wasting time, extra agents, extra everything. 297 00:20:13,600 --> 00:20:21,280 So, when we started this in 2024, there's also, like, MCP was not a thing. 298 00:20:21,280 --> 00:20:24,880 A lot of these techniques people have been working on did not exist. 299 00:20:25,040 --> 00:20:28,980 This is all written, basically, kind of fairly bare bones. 300 00:20:29,560 --> 00:20:31,660 So, you know, we have some basic things, right? 301 00:20:31,660 --> 00:20:33,240 We have a queuing system. 302 00:20:33,240 --> 00:20:35,220 If you think about this, this is like a pipeline. 303 00:20:35,220 --> 00:20:38,660 You start with a thing, a thing finishes, you move it into a queue. 304 00:20:39,240 --> 00:20:44,160 You know, each of those components is kind of like a reader-writer from a queue, whatever. 305 00:20:46,020 --> 00:20:47,940 So, we can have this queuing system. 306 00:20:47,940 --> 00:20:55,220 But at its core, we actually have a single Python process for all of this, which is a little bit wild, in my opinion. 307 00:20:55,460 --> 00:20:57,380 So, we have to make sure everything's asynchronous. 308 00:20:57,720 --> 00:21:00,960 Luckily, most of our time is spent waiting for LLM completions. 309 00:21:01,520 --> 00:21:03,940 So, we can just spin up a bunch of stuff. 310 00:21:04,480 --> 00:21:11,000 We will actually run literally thousands of agents in parallel, assuming our system's not falling over. 311 00:21:11,320 --> 00:21:18,640 And we'll run thousands of agents in parallel, which is okay in a single Python process if it's written properly. 312 00:21:19,120 --> 00:21:25,620 For the heavier work, right, if we want to run fuzzing, if we need to gather coverage, we can run that in a docker on a remote host. 313 00:21:25,820 --> 00:21:29,000 But we don't really have a really complicated distributed architecture here. 314 00:21:29,000 --> 00:21:30,240 We're not using Kubernetes. 315 00:21:30,960 --> 00:21:33,540 It's a pretty simple, straightforward system. 316 00:21:34,120 --> 00:21:40,700 So, just trying to monitor, you can imagine that architecture is already complicated, and now I'm talking about thousands of agents. 317 00:21:41,560 --> 00:21:50,040 The telemetry, trying to understand what it is doing, trying to understand why it's spending $3,000 in an hour, it gets a little bit complicated. 318 00:21:50,440 --> 00:21:53,260 So, we have a bunch of graphs and a bunch of this other stuff. 319 00:21:54,960 --> 00:21:58,080 Yeah, it's hard. 320 00:21:58,680 --> 00:22:02,420 So, yeah, I know this is a short talk. 321 00:22:02,420 --> 00:22:03,400 We don't have a lot of time. 322 00:22:03,400 --> 00:22:09,660 But I guess part of the thing that I really think people should take away is that LLMs can just do a lot of things. 323 00:22:09,720 --> 00:22:18,320 I think a lot of people take these traditional approaches and they say, like, how can an LLM help me do this thing I was doing five years ago? 324 00:22:18,380 --> 00:22:22,480 And I think we should really be transitioning into, like, what can an LLM do today, right? 325 00:22:22,480 --> 00:22:25,200 There's things that LLMs can just do that we couldn't even think about. 326 00:22:25,200 --> 00:22:28,680 And we're not using LLMs to their full potential. 327 00:22:28,680 --> 00:22:33,920 I think that, realistically, if all the providers just stopped, right? 328 00:22:33,920 --> 00:22:36,020 They turned off all their GPUs and were like, we're done. 329 00:22:36,020 --> 00:22:37,320 We're not training any more models. 330 00:22:37,320 --> 00:22:43,220 I think there's still, like, two years or more of stuff to squeeze out of these models. 331 00:22:43,360 --> 00:22:45,420 Mostly by running, like, more scaffolding, right? 332 00:22:45,420 --> 00:22:53,620 Like, we have a lot of tools and a lot of static analysis and a lot of things designed to make, you know, ergonomics for LLMs. 333 00:22:53,620 --> 00:22:57,880 And I think that's really where a lot of the stuff left happens. 334 00:22:58,180 --> 00:23:00,560 And these systems can find real bugs. 335 00:23:01,240 --> 00:23:09,120 I guess some of this was after I wrote these slides, but we've reported a few dozen zero days found with the system not through fuzzing. 336 00:23:09,280 --> 00:23:11,240 And this includes heavily fuzzed things. 337 00:23:11,240 --> 00:23:18,460 We had some exploitable out-of-bounds heap writes in SQLite that were fixed on Monday. 338 00:23:18,700 --> 00:23:20,780 And you would never fuzz them. 339 00:23:22,380 --> 00:23:23,200 Wonderful. 340 00:23:23,200 --> 00:23:27,700 So this QR code, we actually have a lot of things, including agent trajectories. 341 00:23:27,700 --> 00:23:32,160 The agent trajectories for those SQLite bugs, now that they're patched, are actually in there. 342 00:23:32,160 --> 00:23:46,440 So you can look at those and try to imagine what it would take for a fuzzer to generate, like, a zip file that is hex encoded, that is used in a select statement with the zip module in SQLite. 343 00:23:46,440 --> 00:23:48,580 No, a fuzzer's not going to find that. 344 00:23:49,280 --> 00:23:51,640 So all our stuff's up there. 345 00:23:51,640 --> 00:23:55,280 There's a link to this thing also on the DARPA website. 346 00:23:55,280 --> 00:23:58,320 And if you stop by our booth, they got, like, the same QR code there. 347 00:23:59,380 --> 00:24:05,960 Yeah, I don't think I'm supposed to take questions up here, but I will be around here. 348 00:24:06,100 --> 00:24:08,260 So feel free to talk to me. 349 00:24:09,760 --> 00:24:12,820 Or if no one stops me, you can do questions. 350 00:24:12,820 --> 00:24:13,500 I don't really know. 351 00:24:13,500 --> 00:24:14,180 There's no one here. 352 00:24:14,180 --> 00:24:15,980 So thank you.