start	end	text
7900	10700	So where do we think AI can contribute to software security?
10700	18580	Well, I think we need to start by recognizing that fuzzers like AFL are incredibly good at finding bugs and AI is not going to replace them.
18580	22940	Instead, we're going to be using AI to augment the existing state-of-the-art.
23140	28220	The big problem in security is that there's too much code to look through and it's too complex to process.
28580	36240	AI could assist in finding what's suspicious and then pass that information to a traditional system for more targeted algorithmic review.
36540	40380	So for instance, you might use an AI to generate a template for a fuzzer.
40460	47360	This removes the tedious parts of writing the stub code for a harness and lets you go from 0 to 60 with a fuzzer more quickly.
47640	50640	Two is you might look for known bad code patterns.
50960	57800	Similar to previous bad code patterns that you've trained on or that you've observed in practice or given as an example to an LLM.
58100	60880	And then third, you might use an LLM for patching.
60880	67760	By using their expertise in language and translation, we can make readable idiomatic style patches much more quickly.
67920	72900	Vulnerabilities might be really complex, but many times a patch just affects a single line of code.
73240	82180	At the end of the day, AI is not bound by the same limits as traditional methods, but instead relies on how much quality training data we can feed it.
82280	90660	So one key limit that we'll need to overcome is that once you get past the popular languages like C and Python, support starts to drop really fast.
90660	93580	By the time you get to Rust, it's barely functional.
93880	98620	If you want to support another language, you need to train a model to specialize in it.
98620	106500	An AI requires a vast amount of data and the process of collecting feature engineering and then preparing this data is no small task.
106880	110660	Our patching system operates in a giant feedback loop with three steps.
110660	112820	Step one, we find the bug.
112820	125320	When our CRS discovers a vulnerability, it analyzes the proof of vulnerability, identifies the commit that introduced the bug, classifies the type of vulnerability, and pinpoints specific instructions and variables associated with it.
125320	127760	Step two, we create a candidate patch.
127760	135700	Once we have all this data, we pass it to a patching agent and the patching agent collaborates with one or more LLMs to generate candidate patches.
135800	141160	These are then applied to the code base to check if they fix the vulnerability without disrupting the rest of the program.
141160	143700	And then three, we provide feedback.
143700	152040	So if the patch fails, the patching agent provides feedback to the LLMs and they work on refining those patches until they do work correctly.
152820	156480	We've encountered two primary challenges working in the AICC.
156480	158300	The first has been reliability.
158500	166500	It has been a big challenge to make a reliable system that can deal with the uncertainty of AI-generated answers and validate them within the competition time limits.
166580	173000	The second is that large language models are just not well suited for discovering the inputs needed to reach bugs in code.
173260	178560	AI can't solve this problem on its own, but it has proven useful at accelerating fuzzing.
178880	185480	AI can reduce the time needed for a fuzzer to discover a proof of vulnerability by generating seed inputs that are close to it.
185720	194980	So we're not going to discard the last 30 years of software security advances because of AI, but we will use AI to expand the space of what we can find.
195140	205380	This acceleration helps make the quick turnaround required by the competition more feasible and demonstrate some of the complementary strengths of AI in enhancing traditional methods.
