The Bugpocalypse0:00
Hey there. I'm Jack Cable, and today I'm going to be talking about the effects of the AI bugpocalypse. As you may have seen, frontier models are getting better than ever before at discovering and exploiting vulnerabilities in our software.
Right, this is leading to what many are calling a bugpocalypse, where we're finding more and more vulnerabilities, particularly in the open-source libraries that power all of the software we rely upon. Right, so today I want to break down what exactly is happening, and how defenders can get ahead of the exploitation that is occurring.
As far as my background,right now I'm the Co-Founder and CEO at Corridor, a company I started about 18 months ago focused on securing AI coding. Before this, I served as a senior technical advisor in government at CISA, the Cybersecurity and Infrastructure Security Agency, where I worked with top software companies to help them build their products to be more secure by design.
I'm also an ethical hacker; I got into the top 100 rank of hackers on HackerOne when I was in high school and studied computer science at Stanford, so I've seen firsthand how these simple, you know, repeat classes of vulnerabilities can be introduced and exploited.
And I've been a close participant,right, in many of the most recent advancements and seeing just what this means for both our adversaries as well as defenders. Just to set the stage,right, as everyone here knows, I imagine, AI coding tools are scaling faster than any software category in history.
We've seen Cursor or Cloud Code grow exponentially, and with that,right, also comes these improvements in how frontier models can find and exploit vulnerabilities. So we're seeing,right, both ends of the equation shifting. On one hand, models can do a better job finding vulnerabilities; on the other hand, our attack surfaces are growing immensely,right, as AI becomes the default code writer.
So what I want to explore in this talk,right, is how do we balance that? How do we make sure that we're not going to have immensely more vulnerabilities than we've ever had before? Right, and just to give some sense, I'll move myself here of some of the statistics,right, pulled some from last year where about 84% of developers were using AI coding tools, 30 to 40% of companies encouraging use of AI coding assistance.
That was from Stack Overflow,right, I haven't seen the latest numbers this year, but what I would expect once those come out,right, is that is the vast, vast majority of developers and companies who are using coding agents. Right, and part of this is the increasing level of autonomy by which these coding agents are being used.
It's no longer, you know, autocomplete; often it's not even a developer synchronously within Cursor. Right, when we do our own developmentright now, it's spinning up agents from within Slack or wherever folks are working, and having many agents run at once in the background.
This is a tremendous shift in how software is being built, and at the same time,right, like I mentioned, the frontier models are getting significantly better. And you can look at it from, you know, pretty much any part of the cyber attack chain, ranging from finding vulnerabilities where models can, you know, now do, you know, significantly better than even I could.
Arms Race3:07
And, you know, I've reported hundreds of vulnerabilities to various companies. So everything from finding vulnerabilities to exploiting them. This is a chart here that comes from Anthropic,right, showing Mythos compared to a number of other models that they and others have put out.
And we can see that we're seeing quite rapid advancements in models' capabilities,right, and particularly to execute more kind of autonomous attack chains. So as we think about adversaries who are using these models,right, they're not just going to be discovering vulnerabilities, but they're going to be automating every part of the attack process.
So it's our job,right, as defenders, to understand, okay, what are the points where we can make software systems more resilient to all of these attacks? Right, and to me, this brings back a lot of the work that I was doing in government around the secure-by-design initiative.
Right, and so the overall question,right, that I'm worried about is: how can we make sure that frontier AI models aren't introducing exponentially more vulnerabilities over time? Right, even pre-AI, we've had this, you know, heavy increase in common, relatively simple classes of vulnerabilities that are being exploited by adversaries.
AI is making this significantly easier,right, so I think the only way that we're going to win as defenders is if we use the same techniques,right, to harden our systems. And I would say that there is good news here,right, that a lot of the vulnerabilities, pretty much all of the vulnerabilities that even frontier AI models are finding, aren't anything new.
Yes, it's new that a given vulnerability was found in a, you know, specific file within a piece of software, but that vulnerability class isn't necessarily novel. And we can actually use that to our advantage, and I'll get into that.
Right, so overall, the thesis here is that,right, we are seeing both attackers get more tools in their toolkit, and at the same time, the way in which software is being built is fundamentally changing. So really the question then becomes: how can we apply AI to shore up these software systems?
Secure by Design5:48
Right, and I want to take a quick detour to some of the secure-by-design work that I kicked off with others in government. Right, this is a paper that we put out in March of 2023. So just as, you know, LLMs were starting to become more readily available, but,right, their application in coding at that time wasn't much more than, you know, autocomplete.
And while that's useful, it wasn't necessarily the step change that we have now. And what we focused on kind of laying out with this vision,right, was this idea that it isn't really rocket science when it comes to preventing vulnerabilities in software.
Right, while it's true that it's hard to build a perfectly secure system, we do know how to build systems that are fundamentally more resilient to common classes of vulnerabilities. And just to, you know, make this concrete, this is a set of vulnerability classes coming from MITRE.
It's the top classes that are exploited in CISA's Known Exploited Vulnerabilities catalog. Right, and if you go down this list, you'll, you might notice,right, that pretty much all of these are basic types of vulnerabilities that not only have we known about for decades, but we've known how to prevent at scale for decades.
Right, take buffer overflows,right, number two on that list. And by the way, these are the same vulnerabilities that models like Mythos are finding in software. And buffer overflows were first documented about, I believe, 30 plus years ago. Right, so we've had documented instances of how to find and exploit these vulnerabilities, and we also now have languages that are memory-safe.
Right, languages like Rust, Go, pretty much any language that's not C or C++ is built in a way such that it's impossible to introduce memory-safety vulnerabilities. Right, they have guarantees that prevent those from being introduced. So we have techniques by which we can prevent them, and yet they continue getting introduced over and over again.
Right, so let's look at memory safety, for instance. There's, you know, the statistics range but approximately 60 to 70% of vulnerabilities in products written in memory-unsafe languages can be completely prevented using memory-safe languages. Right, and this is, you know, based on CVE data out there.
And not only that,right, we've seen a lot of companies—Google, Microsoft, Amazon, even, you know, open-source software—the Linux kernel is being rewritten in parts in Rust. We've seen real evidence that by shifting to memory-safe languages, you can reduce overall vulnerabilities.
Right, on theright here is a chart from Google showing the rate of memory-safety vulnerabilities over time in the Android operating system. And what's interesting,right, is that this isn't even, you know, they're not even necessarily rewriting code in a memory-safe language, they're just writing new code in a memory-safe language.
And even then,right, the percent of memory-safety vulnerabilities has dropped quite dramatically from, you know, about 75% in 2019 to maybe 30% in 2022. So to me, that's personally quite exciting,right, because it means that it's not a given that we're going to continue having these basic vulnerabilities over and over again.
Right, and part of the, you know, high-level policy conversation, I think, as a result, has to be not just how can we deploy these frontier models to find one-off vulnerabilities in software. That is something that we should be doing, but at the same time,right, I don't want to miss out on opportunities to make our software fundamentally more secure.
Systemic Fixes9:24
Right, we could pour millions of dollars into essentially playing whack-a-mole with vulnerabilities and patching them one-off in some of the open-source libraries that we all rely on, or we could do a one-time rewrite, for instance, to move some of these critical libraries into a language like Rust.
Right, and then that will pay dividends for years to come. So this is really at the core of how I'm thinking about this,right, is what are some of the fundamental changes that companies, that open-source developers can be making that can reduce exploitation, both by models today,right, and models to come.
Because the advantage,right, of doing a rewrite, for instance, is that if you have some of these fundamental guarantees, then even if the models get smarter,right, Rust has programmatic guarantees such that we know that memory-safety vulnerabilities in those circumstances won't be possible to be introduced or discovered.
Right, and all of this comes in the context too of the fact that AI is increasingly capable at, of course, both writing code and then introducing vulnerabilities. You might have seen a couple months ago one example where Opus 4.6,right, by all accounts, a very smart model, introduced a vulnerability in a smart contract that led to a couple million dollars being stolen.
AI's Bugs10:44
Right, so while the models are very smart and capable, oftentimes security is very contextual, and the model just might not have the context in order to know that it's introducing a vulnerability. Right, and this is reflected in academic benchmarks.
One, for instance, here, Backsbench, you can find that at backsbench.com, by researchers at ETH Zurich and UC Berkeley, finds that even the best models introduce vulnerabilities about 20 to 40% of the time when writing code. Right, and this shouldn't necessarily come as a surprise.
For one,right, models are trained on all of the world's existing code, and humans haven't been great at not introducing vulnerabilities in code in the past. But two,right, increasingly, and this kind of lines up with some of what we're seeing among our customers, is that the vulnerabilities being introduced are often less so the basic one-liner vulnerabilities and more so contextual issues.
Right, things like authorization bugs that require an in-depth understanding of a company's business logic. And that's something,right, even if the model is very smart, it's not being trained on your company's proprietary information or how your own kind of, you know, threat model works.
And that is why, you know, I believe we're still seeing quite a high rate of vulnerability introduction, even by, you know, by all accounts, very intelligent models.
So let's now think about, okay, given that the vast majority of software development is being done with AI, how can we make sure that AI is capable of writing secure-by-design software? Right, and part of this is a shift we're seeing in the level of autonomy that AI is now given when it comes to software development tasks.
Corridor's Approach12:38
Right, we're kind of moving up this ladder that started with autocomplete to, you know, agents within Cursor or Claude code that can synchronously produce code, to now increasingly these autonomous agents that can work for an hour, hours at a time, and produce quite large code changes.
Of course, the next step then becomes agents that are reviewing code. And we at Corridor believe that, you know, within the next 6 to 12 months, the majority of code that is being shipped will be reviewed not by humans, but by AI.
I think that's just a kind of natural consequence of the rate at which companies need to move, given that code review is now the bottleneck, and I don't think we're going to accept that for very long. So really,right, our perspective at Corridor is around preventing vulnerabilities before the pull request, as well as giving visibility into how AI coding tools are being used.
And I think that's really essential,right, is that security cannot be the blocker when it comes to companies accelerating their development. Right, acceleration is always going to win out. So when we talk to security teams, the conversation is less around, should you allow your, you know, development teams access to coding agents?
The answer is obviously yes. Right, it's more around how can you do that with guardrails in place? Right, because what we're seeing is that without guardrails, yes, the coding agents can introduce vulnerabilities. And in order to get to a point where, you know, development can be more autonomous, that code can start to be reviewed by AI and merged in without as much human oversight, we really need to have tooling in place that allows security teams to have that assurance and to give the blessing to their engineering team to accelerate.
Policy14:53
I want to close with some of the policy perspective,right, and this is in part tied to the recent export controls on Mythos and Fable models. Right, as part of a letter led by my colleague Alex Damos, where weurged the White House to lift the export controls on these models.
And the perspective there is that the benefit to defenders far outweighs the risk. Right, these are very powerful, and let's face it,right, dual-use models that can both be used to secure systems and also to exploit them. To Anthropic's credit, they have done a lot of work with the Fable release,right, to have some safeguards in place such that they're more skewed towards defenders than adversaries.
But this is also coming in the face of,right, increasingly powerful open-weight models. You've probably seen, you know, documented distillation attacks where open-weight model providers can train on the output of closed-weight models, and that, as a result, is quickly shrinking the, you know, timeline between when a frontier closed-weight model comes out and when open-weight models catch up to that.
So whether we like it or not,right, adversaries already have access to incredibly powerful models, and they're already using them today to exploit systems. Right, so to me, it becomes more a question of how can we rapidly get the kind of capabilities in the hands of defenders, and I think that requires having these models be more widely available.
One cool thing I had the opportunity of doing a couple weeks ago was testifying to the U.S. Congress on the, you know, risks of both frontier models as well as AI coding. My recommendations had a couple elements,right? One was to prevent vulnerabilities in new code going forward.
I think this is something that both every company, as well as the U.S. government, should be focusing on and making sure that as development accelerates,right, security isn't being left behind there. Second is to harden the open-source foundation. This is incredibly important,right, especially since open-source software is going to be the kind of proving ground for a lot of adversaries,right, who want to test out these models and exploit vulnerabilities they find due to,right, the exact nature that's open-source.
So you can just go and run a very smart model on them and, in all likelihood, find many novel vulnerabilities. So I think both the U.S. government, but then private companies as well, have a responsibility to help shore this up.
And like I mentioned,right, it's not just about one-off, you know, vulnerability discoveries or patches. It really has to be more systemic and start to get into rewrites that can fundamentally reduce the risk of vulnerabilities that can be found, whether by models today or in the future.
And then the last area of my recommendations was to foster an ecosystem of American-made open-weight models. Right, I think in order for us to stay competitive here, it can't just be closed-weight models alone. Right, there's a number of reasons here.
You know, one of those is that for many companies, while there's a place for closed-weight models, you also might want to do things like fine-tuning models, and that is only possible with an open-weight model. So I think it is really essential,right, that we have frontier open-weight models coming out of the United States.
We haven't seen as much of that to date, but I think that's a critical element of American competitiveness when it comes to AI. So those were my overall recommendations,right? And of course, all of this is in the context of these increasingly powerful models.
The hearing was, I believe, a few days before, you know, Mythos and Fable came out, and then, of course, all of the export control actions that were taken. So this is an incredibly rapidly evolving space, but I think that's why it's all the more important to go back to the basics,right?
What are the fundamental controls that can protect against any vulnerabilities that can be discovered by models today or in the future? And I think that's where we really ought to be spending our time, using these models to make our systems more resilient.
So that's my talk. Happy to be reached by emails here, and thanks, everyone, for tuning in.





