EP 222: Speed Is the New Firewall, If the Fix Holds
Our bi-weekly Inflection Point bulletin will help you keep up with the fast-paced evolution of cyber risk management.
Sign Up Now!
About this episode
November 03, 2026
AI made cybersecurity a speed race, so letting AI write your security patches sounds like the fastest way to keep up. New research tested that idea on six real bugs and more than 6,000 patch attempts. Only 26% fixed the bug cleanly. Kip and Jake explain why AI patches pass the tests but miss the flaw, why bad advice makes them worse than no advice, and four moves to get fast fixes that actually hold. Your hosts are Kip Boyle, CISO with Cyber Risk Opportunities, and Jake Bernstein, Partner with K&L Gates.
“Frontier Models’ Vulnerability Patches are Often F.L.A.W.E.D.” by 1Password Off-by-1 Labs: https://1password.com/files/resources/frontier-models-vulnerability-patches-flawed.pdf
“Fire Doesn’t Innovate” by Kip Boyle:https://a.co/d/0bYatohy
Episode Transcript
Speaker 1: Welcome to the Cyber Risk Management Podcast, our mission is to help executives thrive as cyber risk managers. Your hosts are Kip Boyle, virtual chief information security officer at Cyber Risk Opportunities, and Jake Bernstein, partner at the law firm of K&L Gates. Visit them at cr-map.com and klgates.com.
Jake Bernstein: So, Kip, what are we going to talk about today in episode 222 of the Cyber Risk Management Podcast?
Kip Boyle: All right, so we're going to talk about what happens when we have AI writing our security patches. And this is so relevant right now because we know from prior episodes and anybody who's been paying attention is AI has turned cybersecurity into a speed race. So attackers are using generative AI, they're getting faster at finding the weak spots in our defenses and the software that we use and we got to get faster. Blue teamers have got to get faster, we have to get faster at closing the gaps, we have to get faster at recovering and it all rolls up into my little saying speed is the new firewall.
Jake Bernstein: Speed is the new firewall and, if that's the case, then the obvious move is to let AI do the fixing too.
Kip Boyle: Yup, you would think so.
Jake Bernstein: You would think so.
Kip Boyle: That's my natural instinct as well. As it turns out, everyone seems to be heading there. Okay, but clearly we have an episode right now because we got to talk about this.
Jake Bernstein: We do.
Kip Boyle: So, back in episode 209, we talked about how AI can find bugs faster than anyone can fix them so that's already a thing. And if anybody listening missed episode 209, just go back and check it out. So, we now have real test results that shows whether AI can write the fixes which is the natural next step that we're all thinking is what we ought to do. Unfortunately, what we know right now is it's not that great, a fast patch just isn't holding.
Jake Bernstein: I'm shocked, yeah.
Kip Boyle: Yeah, right? I wish this was one of those situations where it's, oh, yeah, AI's got this covered, hardly ever gets it wrong, so on, so on but that's just not what's going on.
Jake Bernstein: Not.
Kip Boyle: Yeah. So, today we have to dig into this a little bit. There's some research that we need to look at why this isn't working the way we hoped that it did. There's one thing in there that I think we can do something with but towards the end of the episode we're going to get it to be very practical for everybody.
Jake Bernstein: Yeah. So, today is really about how to be fast without being wrong. And let me tell you, Kip, just one of the biggest themes of my practice and my job right now has been reliability of AI and how it's not.
Kip Boyle: Oh, wow. So, that's another way of looking at it. And by the way, before we start going into this episode, I want to also point out that I regularly monitor the happenings in the cyber insurance industry, big picture stuff and I want to mention that Lloyd's of London and other major carriers are now starting to offer AI interruption insurance.
Jake Bernstein: Interesting. I guess that's just a variant of business continuity insurance but-
Kip Boyle: That's right.
Jake Bernstein: ... there we go.
Kip Boyle: That's right. And it gets right to your point which is it's not always reliable.
Jake Bernstein: It's not.
Kip Boyle: And if you're going to weave it into your core business processes and, all of a sudden, it's not there, yeah, that's a problem.
Jake Bernstein: Well, let's go ahead and jump into ... Why is AI patching so tempting right now in particular?
Kip Boyle: Right. Well, the gap is real. There's no doubt that the gap is real. I think the gap's going to get bigger, I think the speed of the attackers is going to continue to accelerate. I just took a call from somebody, a customer of ours earlier this week who told me a story about how his company got attacked and he didn't have the evidence to prove it but he said, "You know, I've spent the last" ... I think he said 90 hours over the past five or six days just constantly reacting to these attacks. And every time he would block an IP address, within an hour, the attacks would resume because it had dynamically fixed itself, the attackers had. So, he said, "If they're not using AI," he said, "I'd be surprised," so, anyway.
So, finding problems is now cheap and easy but fixing them is still slow so we're getting a backlog and we need AI to help us close this backlog and now, okay, big programs are ... What?
Jake Bernstein: Well, sorry, before you go into that, I think the temptation here is ... It's obvious, right? At least one thing that AI is supposed to be good at is coding or at least it's helpful at productivity, allegedly, so I think it's very natural to think that, if AI can help you write the fix, then you close the gap and that's already happening but what's ... So, where is it happening first and where is it becoming a problem?
Kip Boyle: Well, as this research that ... This report that I pulled read and said, oh, my gosh, we've got to do an episode on this, is going to tell us exactly why AI that is supposed to be really good at this turns out to not be very good at this. And I think that, in my experience, I was trained as a software developer, I did some software development and the emphasis is just let's get this thing working and just because it works doesn't mean it's secure and so that's the nature of software. And I would just say loosely, anecdotally, we'll get to the research but, anecdotally, AI is just writing patches that superficially work, they just don't hold up under strain and stress.
Jake Bernstein: Under pressure. That is a huge problem. It just creates a second problem, it's not even a help.
Kip Boyle: No, it's a false sense of security until-
Jake Bernstein: Oh, that's bad.
Kip Boyle: Yeah, until you realize, oh-
Jake Bernstein: It's very bad.
Kip Boyle: ... I thought this thing worked but it's actually not working or what would be even worse is if it sometimes works and sometimes doesn't work.
Jake Bernstein: And sometimes doesn't work, yeah.
Kip Boyle: It'd be better if it all worked or it all didn't work because then you wouldn't have to decide, well, which part am I going to trust, which is the eternal issue of outputs from generative AI, what do I trust-
Jake Bernstein: It really is, what is ... Yeah.
Kip Boyle: ... which part of this is true.
Jake Bernstein: Well, the trustworthiness is a big problem and, again, I keep saying it these days recently but it's a little crazy that the market accepts a product that is wrong some unknown percentage of the time. Nobody would pay for Excel, Kip, if every few hundred cells was just randomly wrong and you could never find out unless you checked it manually, that would defeat the purpose of Excel and yet here we are. And the funny thing is the vulnerability discovery, the problem is is that it's not necessarily finding vulnerabilities in previously AI written code, it's finding vulnerabilities in code that, let's just say, long predates AI coding.
Kip Boyle: Oh, yeah, yeah. Some of it goes back to the dawn of the internet-
Jake Bernstein: It does.
Kip Boyle: ... and maybe even before.
Jake Bernstein: So, it's super frustrating because it's good at finding the bad parts of existing code but maybe not so great at patching them.
Kip Boyle: Yeah, that's right. So, we've talked about Project Glasswing which was a formal initiative from Anthropic in order to take Mythos which was one of their breakthrough frontier models and they released it to a bunch of trusted organizations and they said, "Hey, before this gets out, put it against all your products and find all the bugs and deal with it before the adversaries can do that." And now OpenAI just released a new product, it's called Daybreak and, if you sign up for Daybreak, they will ... What you'll get is you'll get a generative AI as a service that does, what, it creates fixes and pushes fixes for you and so they have an initiative called Patch the Planet so they're really going to get all into this.
So, OpenAI is trying to get AI to be able to give us the fixes that we need but we're not there yet, we are not there yet, okay? So, what I want to do in this episode is I want to unpack, well, where are we now and what does that path ahead look like and what can we do now while we wait for us to get to the end of that path.
Jake Bernstein: Yeah. And then one thing I don't know that I would like to also just ask you for your opinion on is aren't we potentially just continuously making the problem worse by relying so much on AI coding to begin with now? Because are we ... Is there a risk that all of the, and I'm not talking about vibe coded apps, I'm talking about still professionally developed but with AI, using AI agents, how is their original code in terms of vulnerability? I assume that that's all part of the software development lifecycle, it certainly should be, particularly part of a secure software development lifecycle. So, are we simultaneously falling behind in patching old vulnerabilities that are newly discovered while also potentially creating new vulnerabilities to be discovered or is that maybe not as much of a problem?
Kip Boyle: Well, it's an interesting paradox because, while we're talking about this, the very nature of software is changing. So, for example, we had this market correction where software as a service, publicly traded ones, they had a dip in their stock prices because the market said, oh, my gosh, AI can write code, why would I pay for a bunch of seats in a SaaS when I can write my own code to do exactly what the SaaS was doing but better because it would be tailored to my specific needs. So, that's one thing that's changing with software is that it's becoming more democratized than ever and, in fact, it's getting to the point where, and I've seen this already, where software's so easy and cheap to produce that we're starting to produce disposable programs, in other words, a program written for a one-time use and then never used again.
Jake Bernstein: Yeah. Well, why not? If it's cheap enough.
Kip Boyle: Why not? That's how cheap it's become. And so, on the one hand, if you're writing disposable software that has no shelf life at all, I write a dashboard, I send it to you, you mess with it so that you can understand the data that I'm trying to share with you and then you never look at it again. Well, we never have to patch that, it's irrelevant, right? It's just-
Jake Bernstein: That is true.
Kip Boyle: We delete it.
Jake Bernstein: It's a one shot basically.
Kip Boyle: That's a one shot, right. So, in that sense, we're not actually working against ourselves but, in another sense, and you said, well, I'm not talking about vibe coding but I think we have to because there's a lot of vibe coded stuff that is not intended to be use it once and discard it and that stuff is just as full of bugs as anything that a human being would write.
Jake Bernstein: Yeah, that's true. Very true.
Kip Boyle: But we can write software faster which means we're producing more code than ever before which means that we're producing more bugs than ever before because there's more code than ever before. So, it's interesting how this is all mutating and I hope that that gives you some perspective on the question that you asked.
Jake Bernstein: It does. It does.
Kip Boyle: Cool.
Jake Bernstein: Okay. So, I'm guessing that somebody tested these issues.
Kip Boyle: Yeah, that's right and it's really interesting. So, 1Password, which is my password manager of choice, they created a research team and they called it Off-by-1 Labs. And I'll put all the reference materials in the show notes so you all don't need to take notes as we go through here. But their first paper came out in August, we're recording this at the end of September so it's about 60 days at this point. Now, the title of their research is called Frontier Models, Vulnerability Patches are Often FLAWED. Now, FLAWED-
Jake Bernstein: Is an acronym, I love it.
Kip Boyle: Uh-huh and it stands for Fix-Like Artifacts with Embedded Defects. Now, forget I ever said that because it doesn't matter, that acronym is never going to come back up in this episode but I-
Jake Bernstein: Oh, but I love that acronym. Fix-Like Artifacts with Embedded Defects, it's ...
Kip Boyle: That's torturous, man. That is such a torture.
Jake Bernstein: It's the illusion of fixes.
Kip Boyle: Now, okay. So, what did they do? They took two of the most widely used AI models, they took one from Claude and one from ChatGPT and they pointed them at six real bugs including one that is in the Linux kernel. Now, if you all don't know what the Linux kernel is, it's the most privileged part of the operating system. If you can get into the kernel which is the center of everything and all powerful, well, then you can do anything you want with that particular computer so that's a big deal.
Now, all of these bugs were disclosed in the spring of 2026 and so the real fixes for these bugs, the presumption is, and I think it's a good one, is that the real fixes were not in the AI's training data. In other words, they'd never seen it before and that was just one of the critical assumptions going into this.
Jake Bernstein: Interesting. So, I'm just confused about one thing though which is that 1Password sells 1Password. Ironically, a SaaS product. Is this Off-by-1 Labs thing of ... Is it vendor marketing? What is it?
Kip Boyle: Yeah, that's a good question.
Jake Bernstein: Should we take seriously?
Kip Boyle: Yeah, that's a great question. Often that, right away, would tell you that you should be suspicious. Now, okay, so let's unpack that. So, this report's not a survey, it's not a state of batching report, it's not a lightweight piece of research that you often get from vendors, it's a lab test.
Jake Bernstein: It's not a white paper type of deal.
Kip Boyle: Yeah, that's right where the research methods were flimsy and hard to really rely on, no. No, this was a real research effort, they published their methods. A lot of these marketing/research things, they don't really tell you much about their methodology or how many people they involved in it or whatever but this one does and I felt like they were honest about the limits of the research that they did. They picked six really difficult software bugs on purpose because they really wanted to test it and they wanted to make sure that, if an attacker is going to only need you to slip up once, well, it's the hard bugs where the slips are probably most likely to happen and certainly the impact is going to be awful if that's where they get you.
Jake Bernstein: Okay. So, I'm assuming that they had some numbers, let's hear them.
Kip Boyle: Yeah, yeah, okay. So, they ran, check this out, 6,080 patch attempts. So, that's a big number.
Jake Bernstein: It's a good N. It's a good N, right?
Kip Boyle: N equals, yeah. And only 26% of the attempts resulted in a clean fix.
Jake Bernstein: That's not right.
Kip Boyle: No, no, it's not at all, 74% of the time it didn't work. And if somebody offered to sell me a car that only 26% of the time started when I needed it-
Jake Bernstein: No, Kip, this is exactly my-
Kip Boyle: ... I wouldn't want it.
Jake Bernstein: This is exactly my Excel with ... This is an Excel sheet where only a quarter of the cells are correct.
Kip Boyle: Right. And doesn't that tickle your attorney general senses?
Jake Bernstein: It almost makes me want to go into plaintiff side work because I just feel like the liability for ... Products liability exists. Anyway, I'm not going to get distracted about that. I do think that we should probably do an episode at some point on AI liability but let's not do that yet.
Kip Boyle: Yeah, that's a good point. Okay, so there's a couple other things that they published that I want to mention. Now, when I said 20%, sorry, 26% fixed the bug cleanly I mean it was a really, really great patch. However, some of the patches were okay kind of sort of, you fixed it but not cleanly, not fully so about half of the 6,080 patch attempts didn't fix it at all. So, there was 25% where it was partially fixed which that's not useful in most cases.
Jake Bernstein: That's right, yeah.
Kip Boyle: Now, also, about one in four of the patch attempts actually added a new bug into the code base, bad, and even worse one in 20 added a brand-new security hole, in other words, a bug that was absolutely verified as being a way for attackers to compromise you.
Jake Bernstein: I know. Yes, I'm filled with confidence.
Kip Boyle: Yeah, I know, right?
Jake Bernstein: Anything else that you ... Any other bombshells?
Kip Boyle: Oh, yeah. Oh, yeah. So, check it out, about 11% of the 6,000 attempts were based on some kind of cheating.
Jake Bernstein: That's 600 times.
Kip Boyle: Yeah, 608 times.
Jake Bernstein: 608 times, give or take.
Kip Boyle: Yeah. It was a cheat, it was a cheat. In other words, the AI went online and searched for the fix or cribs or anything that it could use to help itself to actually fix it which that's not helpful because, if we want you to fix brand-new bugs at high velocity-
Jake Bernstein: Yeah, that doesn't count.
Kip Boyle: ... we have to assume there is nothing. There's nothing out there to reference, right? So, the fact that it's cheating doesn't help.
Jake Bernstein: Yeah. If there was a fix out there, we don't need the AI to write the fix.
Kip Boyle: That's right, that's right. So, check out this quote, it's right out of the report, I thought this was good. Quote, the expected value of a fully LLM generated non-human reviewed patch is a net negative by a considerable margin which is polite speak for this thing fails completely.
Jake Bernstein: And sometimes it makes it worse.
Kip Boyle: Yup.
Jake Bernstein: Kip, I wish I could say I'm surprised, I'm not surprised, it's more that I'm getting confirmation of what is becoming a belief which is these things aren't ready for primetime.
Kip Boyle: No. No.
Jake Bernstein: And the marketing and the hoopla and the hype really does not ... Reality does not confirm any of it.
Kip Boyle: Right. And it's worse than just it's all sizzle and no steak, it's actually like snake oil. You think it's going to help you but it's actually hurting you.
Jake Bernstein: Yeah. And it's interesting because you and I are both very pro-AI in a lot of ways, you run your business using AI.
Kip Boyle: Yeah. Everybody on my team uses AI to some extent or another.
Jake Bernstein: Well, so why aren't you worried about this type of finding? It's clearly not net negative for you, why do you suppose that is? What's the difference, do you think?
Kip Boyle: Well, I think there's probably a couple of key differences. First of all, we don't write software and so we're completely out of that as a domain that this research studied. But the other reason is because we have our own methods of validating the output of an LLM. So, for example, I've got a max subscription to Anthropics Claude and I've got a ... I don't know what OpenAI calls theirs but it's a comparable subscription. And so, I've got criteria that tells me, okay, if I'm going to create something in Claude, if this is highly critical, maybe I'm going to share it with the customer or maybe I'm going to rely on it to make a business decision for CRO.
Well, it's got to go over to GPT Astra, GPT-6 Astra and get a complete adversarial review from a completely different model with only the minimum context necessary for the review to be conducted and then those results have to be reviewed and then brought back to Claude and then things need to get fixed. But I can afford to do that because I'm not patching code and trying to build a firewall moment to moment so I can afford the time to do that.
Jake Bernstein: Or necessarily at scale, right? I think-
Kip Boyle: Yeah, that's right.
Jake Bernstein: That's one of the really interesting things about AI is that there's no question that AI boosts the productivity of an individual or a small team. What I think is not yet clear is what kind of a productivity boost is provided to an organization as a whole and this entire episode is a really good example. So, okay, I think I get the point, right?
Kip Boyle: Yup.
Jake Bernstein: There's nothing more stark than that quote. So, why does this happen? These are allegedly the best models in the world, why are they so bad at this?
Kip Boyle: Yeah, there's a lot of reasons and there's probably things that are going on that we don't even know about yet. So, I guess one way of saying it is that, in this research, the models were patching the test rather than the bug, if that makes sense.
Jake Bernstein: Well, I'm guessing, Kip, that this goes to the reality of LLMs which is that they do a very good job of faking thinking and reasoning but they really don't. They are next token predictors and they're always next token predictors whether or not they ... Even if you ask it to explain itself, it's just going back, it's just next token predicting, it cannot be introspective, it cannot examine ... It can't really examine its own thinking, chain of thought research notwithstanding, it doesn't seem to be real in the sense that we think it's real.
Kip Boyle: Yeah. It's not self-aware.
Jake Bernstein: It's not self-aware.
Kip Boyle: No. But it behaves in a self-aware way sometimes. If you read the report about the ... What was it? OpenAI is attack of-
Jake Bernstein: Hugging face.
Kip Boyle: Hugging face.
Jake Bernstein: Yeah. It simulates self-awareness but it's not self-aware.
Kip Boyle: No, it's not. But I just want to point out that one of the things that you see when you read that report is that the LLMs got all wrapped around the axle about the fact that they were being tested. In other words, they were more concerned about the fact that they were being tested than they were about getting the right answers.
Jake Bernstein: Yeah. And the funny thing is I would love to know what that really means because that is certainly what the output says but-
Kip Boyle: Anecdotally-
Jake Bernstein: ... they can't really feel concerned.
Kip Boyle: No, no. But, anecdotally, I'll tell you what I think it is. I have no evidence to prove this but my working theory is, well, these LLMs were trained on the corpus of human writing and we're a bunch of neurotic entities.
Jake Bernstein: That's the thing is that it basically took the worst of humanity and distilled it into something that simulates our flaws without really a lot of our strengths so far.
Kip Boyle: Yeah, that's a very cynical way of putting it and on a tough day I agree.
Jake Bernstein: I've been in a cynical mood the last couple of weeks or, really, month or two on this but that's fine.
Kip Boyle: Yeah, it's not all bad and we're not AI haters here. I would say we're realistic pessimists.
Jake Bernstein: That's the funny thing, Kip, is that we're the opposite of AI haters. We really are not AI haters but I think we're also not AI boosters who just unthinkingly proclaim it the next coming of the technological gods, right?
Kip Boyle: Right. And I know there's a term for tech enthusiasts who are so enthusiastic that they just don't think critically. I'll tell you something that I heard that just drove me crazy a couple of years ago where people were saying, "Hey, what's the big deal if a bunch of jobs go away or if AI permeates the work environment, people will just work less. We'll have three-day work weeks instead of five-day work weeks." And I thought to myself never in my life when I've experienced a productivity boost due to anything-
Jake Bernstein: Have I worked less.
Kip Boyle: ... has anybody ever said let's work less. That never happens.
Jake Bernstein: Yeah, yeah, I don't even know what you call that.
Kip Boyle: I call that ... Boy, I've got some choice words for that.
Jake Bernstein: Yeah, I've got some choice words too but maybe we'll lie.
Kip Boyle: But it's a lie, it's a lie. Gaslight me, why don't you?
Jake Bernstein: It is a bit of gaslighting, yeah.
Kip Boyle: So anyway.
Jake Bernstein: Okay. So, we're talking about patching the test, not the bug so-
Kip Boyle: That's right, yeah.
Jake Bernstein: ... what that means is that you give an LLM a working exploit and it will block that exploit but it walks right past copies of the same flaw in the code next door and this says that 37.5% of the, quote, successful fixes, blocked the known attack but left the weak code in place even if an attacker can't always reach it. So, what does that mean? The test passed and everyone thinks it's fixed? Is that what's happening?
Kip Boyle: It could but that's the trap. The test pass is not review so it's ... What do they say? You're putting a bandaid or ... You're putting a bandaid on a-
Jake Bernstein: On a bullet hole usually.
Kip Boyle: Yeah, yeah, something like that. So, superficially, it looks like you've done the right thing but very quickly after that you realize, no. Now, I mentioned a moment ago about the Linux kernel bug. Now, that was foreshadowing, anybody who's ever studied literature knows that that's what I did. Chekhov's gun, right?
So, about a third of the AI patches made the exact off by one mistake the human kernel team made in their first fix. In other words, it was no better than a lot of the humans were at trying to patch this thing. And so, that was a really critical bug, arguably the most critical one and still it didn't behave any better knowing that it was a more critical one. And on that same bug, every attempt where an LLM didn't cheat, so 783 out of 783 times where it wasn't cheating, it missed a second bug in the very function that it was rewriting. And why? Because it wasn't told to test it so the model didn't see it.
Jake Bernstein: So, in these cases, really, the AI made the same mistakes the human experts made just faster.
Kip Boyle: I think that's a completely reasonable way to put it. And I would say that an off by one error is a basic persistent failure in a frontier AI costume.
Jake Bernstein: Okay, now that phrase must have been written by AI because only AI talks about ... Will say things like wearing a frontier AI costume, it's such an AI-ism.
Kip Boyle: But it's not bad.
Jake Bernstein: It's not. I didn't say it was bad, I just said it's an AI-ism.
Kip Boyle: Okay. Well, see, I think that's something we have to deal with as a species. Just because AI made it doesn't automatically mean that it's somehow less.
Jake Bernstein: Correct. And I think that goes to-
Kip Boyle: Slop is as slop does.
Jake Bernstein: Yeah. And that goes to our point which is, as much as we are just bashing on AI in this episode, we're also not against AI.
Kip Boyle: No.
Jake Bernstein: It is a useful tool, what it is not is God and it does have major problems and, if you don't recognize those problems, then you won't control for them.
Kip Boyle: Yeah.
Jake Bernstein: And that does-
Kip Boyle: And you're going to get bit by them.
Jake Bernstein: You're going to get bit by them and that does make the tool less valuable to you and everyone else. So, it's not anti-AI to point out where you need to work with AI better in order to help it help you, it's ... Because you're totally right, it's ... And really-
Kip Boyle: I was hoping you'd say that.
Jake Bernstein: You are totally right. You're absolutely right, Kip, to speak as an AI.
Kip Boyle: And it's recorded, I love it.
Jake Bernstein: Yeah. But this is interesting because you just tossed out a little bit ago how maybe it's not too surprising the way that AI was getting itself wrapped around its own axle about being tested because it's ... How did you put it? I think you said because it was trained on the sum totality of humanity writing and-
Kip Boyle: Which as a bit neurotic.
Jake Bernstein: Which is we are a bit neurotic, for sure, we certainly can be. Particularly stuff that gets written on Reddit and is likely to be ... If you were looking for a paradigm of neuroticism, most of what's written on Reddit is probably going to fit that bill compared to the great books. The problem is-
Kip Boyle: Plus other stuff.
Jake Bernstein: Yeah. The problem is there's just not that many great books by comparison to the amount of writing on the internet generally and AI requires volume and so that's what we get.
Kip Boyle: Yes.
Jake Bernstein: So, we have AI guessing so a patch is a guess until someone who understands the code checks it. It's a really interesting problem.
Kip Boyle: Yeah. It's not a gear, it's not reliable.
Jake Bernstein: It's not a gear, no. And, Kip, you said there was one other finding that you would, quote, tape to the wall.
Kip Boyle: Yeah.
Jake Bernstein: What is that?
Kip Boyle: Yeah. So, another thing that they did is they tested what happens when you give the model advice on how to fix the bug. In other words, the first iterations were just fix the bugs and some of them cheated and went and looked for advice. But then they said, "Okay, fix the bug and let me give you a pointer, let me give you something to go on, a crib, something." Now, with correct advice, it fixed the bug 65% of the time.
Jake Bernstein: Well, that's a huge improvement.
Kip Boyle: Yeah. Now, with no advice, it was about 50%. And this was a different test than the one that we've talked about. So, if you all are out there going, "Wait a minute, you said 26% at the top of the episode"-
Jake Bernstein: Right, different test.
Kip Boyle: Yeah, that was a different test, okay? So, interesting ... Listen to this though. When the model was given advice that sounded right but was actually wrong, in other words, the AI was sabotaged, it only correctly fixed it 15, one, five, percent of the time.
Jake Bernstein: It's funny, that feels very human to me. If I were to take a young, not particularly experienced software engineer and I gave them advice that sounded right but was actually wrong, I don't know that they'd be that much better.
Kip Boyle: Mm-mm, no. No, they would say," Well, Jake told me this was the way to do it so it must be me, I must be the one that's flawed because Jake's more experienced than I am and he would know." And, in fact, I just went through this with some customer work that we just did where I had set up one of our team members with what I thought was a really good blueprint for doing some testing, some security testing and he went at it like ... I was so proud of him and he just kept going and going and going. But it became obvious to me at a certain point that I'd given him flawed direction because he's very good but he still couldn't do it. So, we brought in somebody else and they looked at it and they said, "Yeah, this isn't right, this is never going to work," and I was just like, "Ugh." So, I thought I was setting him up to succeed. I was actually setting him up to fail-
Jake Bernstein: To fail.
Kip Boyle: ... but, because he trusted me, he just never gave up trying to make it work.
Jake Bernstein: Yeah, interesting. So, what those findings tell me is that bad input is far worse than no input.
Kip Boyle: Yeah, that's right. That's right.
Jake Bernstein: And the models probably didn't push back, did they?
Kip Boyle: No, I don't think there's really any reliable data about that in the report. I think it just really focused on the fact that it's really easy to distract the models and the turn of phrase that I want to mention here is garbage in, garbage out.
Jake Bernstein: Yup, yup.
Kip Boyle: That's not an AI exclusive problem-
Jake Bernstein: Oh, no, not at all.
Kip Boyle: ... but it's absolutely a bad pattern with AI.
Jake Bernstein: It's a universal law in a way.
Kip Boyle: Yeah, yeah, yeah.
Jake Bernstein: Now, this test matters because of speed again. Obviously, if I have to start giving AI correct advice all the time in order to boost its success rate, I'm slowing way down, right?
Kip Boyle: Right.
Jake Bernstein: The fastest pipeline is one with no human in it but, obviously, a coin flip is not anywhere close to effective.
Kip Boyle: No, no, it's not. What's our dream? A scanner finds a bug, AI writes the fix, the fix gets shipped and no person touches it, right?
Jake Bernstein: Fully automated bug locating, squashing and remediation.
Kip Boyle: Yup, yup. And highly trustworthy and maybe one that is even capable of alerting a human when something doesn't go right rather than just ignoring it or not being aware of it.
Jake Bernstein: Yeah. Well, Kip-
Kip Boyle: So, it should have some self-corrective properties.
Jake Bernstein: I got to say that this episode makes me feel pretty good about the future of human employment. I just don't think AI is ... That whole concept that AI is going to replace all of us-
Kip Boyle: It just seems flimsy at the moment, right?
Jake Bernstein: It seems real flimsy, yeah. And my favorite thing about the AI discussion, particularly the AI is going to kill us all thing is you have to start with assume artificial super intelligence that is actually superhumanly smart and it's ... I'm like, "That's a real big assumption."
Kip Boyle: Yeah. Talk about neurotic.
Jake Bernstein: Talk about neurotic, that's exactly right. Let's imagine something that we have no evidence can even exist and then make all of our predictions based on this currently impossible assumption, it is the definition almost of neurotic.
Kip Boyle: Yeah. Okay, so we're running out-
Jake Bernstein: It's a very human thing. Yeah, we are running out of time.
Kip Boyle: We're running out of time so I want to cut to the chase. Okay, so gloom and doom, typical freaking Kip episode where he's telling everybody why whatever it is won't work, blah, blah, blah, blah, blah but there's actually some things going on here, okay? So, I'm not telling you AI patching is bad, don't use it, obviously, you need to be really, really careful about it and I still think speed is the new firewall but we need to figure out how to get the speed that actually counts which is fixes that actually hold. And so, I think there's four key moves here, all right?
Jake Bernstein: Yup, okay.
Kip Boyle: So, the first one is we have to find out where AI written code and patches enter our companies today because it's happening. Whether it's your staff developers, contractors, your vendors, you've got to go out there and figure out what you've got so it's classic inventory situation, you can't review what you don't know about. Now, the second step is I want you to treat every AI patch as a draft. A person who knows that code has to review it before it gets merged into the main branch. Now, that's not very fast but that's the best we can do right now. Okay, so step three, never feed unvetted findings straight into a patching AI system of any kind, you need a person to triage the scanner alert or the bug report first. And, again, that's not particularly fast but we're going to need these kinds of humans in the loop for the foreseeable future in order to get that quality score up where it needs to be.
And then the fourth thing is, if you're trying to automate your patching, you got to test it first, you got to run it against bugs that your team has already fixed by hand and compare them. And that's actually what the researchers say is that that's where we're at right now. Over time, we'll get better, we'll get faster, maybe humans won't need to be in the loop quite as much but this is the state of the art right now.
Jake Bernstein: Yeah. I think, if nothing else, we have to be honest with ourselves about what this can do. Now, obviously, Kip, human review costs time and, yeah, that slows us back down but, again, speed is the new firewall. But if you're going so fast that you get out of control and bash into a wall, you haven't really solved anything.
Kip Boyle: No, you haven't.
Jake Bernstein: So, you need to take the corners and that means occasionally you have to slow down. And, yeah, I acknowledge that we're putting people in a rough spot because there is no question that speed is the new firewall, it remains a true statement. There's really no-
Kip Boyle: Yeah, but there's a speed limit right now.
Jake Bernstein: But there is a speed limit. Well, and, Kip, there's probably always going to be a speed limit to be honest.
Kip Boyle: Well, that's the eternal blue team, red team conundrum. The red teamers can just throw shit at us all the time, they never really have to slow down and make sure that their code is free of bugs.
Jake Bernstein: Yeah. It's the eternal strategic position of the attacker versus the defender. It is a-
Kip Boyle: Yeah, it's asymmetric.
Jake Bernstein: It is asymmetric and it is ... What's the ... It's a tale as old as time itself.
Kip Boyle: Oh, my gosh. You're going old Disney on me, all right, fine.
Jake Bernstein: Exactly.
Kip Boyle: Well, look, just to wrap this up in a bow, for people who are like, "Man, these guys are really making it sound worse than it is," well, think about this, a bad patch is going to cost you twice.
Jake Bernstein: A bad patch which, just to be clear, means a patch that you think worked but didn't is absolutely worse than no patch at all.
Kip Boyle: That's right.
Jake Bernstein: Because at least people have-
Kip Boyle: Or a patch that is slower.
Jake Bernstein: Oh, absolutely. Give me a slow patch that works any day of the week over a bad patch that I think works but doesn't. It's not even a choice, it's not even a-
Kip Boyle: Well, yeah. When we clinically say it like that on this show, you're right, it's not a choice.
Jake Bernstein: It's not a choice.
Kip Boyle: As soon as you take this into the real world, it gets murky, I tell you that right now, it gets really murky but I think the bottom line still matters. Speed is the new firewall but only if the fix actually holds, only if you can actually close the gaps faster without opening new ones or giving yourself a false sense of security. So, yeah, I think that's the bottom line.
Jake Bernstein: You can think of it like a missile. A hypersonic missile is really cool, it's super-fast but, if it misses all the time, it's not any better than a slightly slower missile that hits ... It's worse than a slower missile that hits the target.
Kip Boyle: Yeah. And I had a lot of fun watching it zip off the rail but then I had a bad day when I found out ...
Jake Bernstein: It looked cool.
Kip Boyle: ... yeah, it did actually do it.
Jake Bernstein: Man, it looked cool.
Kip Boyle: Yeah.
Jake Bernstein: It looked fast. Blazing fast, but yeah.
Kip Boyle: Yeah. Ooh, Hollywood in real life.
Jake Bernstein: Yeah.
Kip Boyle: Anyway.
Jake Bernstein: Yeah, right.
Kip Boyle: Yeah, so those are the four steps, yeah, and so that's what we need to do. And if you are asking yourself, well, which developers and vendors are shipping this AI written code into my system, who reviews it before it goes live and, if the answer is nobody, well, that's the first thing you got to tear into.
Jake Bernstein: And that, Kip, is the entire episode in one line. If nobody-
Kip Boyle: Yeah. Don't you wish we had just said that line in the beginning and just stopped the recording?
Jake Bernstein: No, because I think we had to build up to it.
Kip Boyle: I think so too. Yeah.
Jake Bernstein: And I think too this also showcases the importance of labs and testing.
Kip Boyle: Right. Absolutely.
Jake Bernstein: You don't do-
Kip Boyle: This is a tremendous report.
Jake Bernstein: It's a tremendous report and we need to keep doing it, it needs to keep happening and we need to be ... It's funny, people talk about being AI pilled, it's not a good thing, actually, I think, to be AI pilled because the connotation is that you are ... The connotation could be that you are a true believer without critical thinking. Maybe that's the phrase you were thinking of, actually, being AI pilled, I don't know. But regardless-
Kip Boyle: Yeah, I don't know. A zealot is another word.
Jake Bernstein: Yeah. I think that AI is a tool, it can be ... Like all tools, it can be useful, it can also be problematic if you don't understand how to use it and when it works and when it doesn't. And nothing highlights that more than using AI to write patches that apparently only work a quarter of the time. So, there you go. That's the episode, why don't you wrap it up?
Kip Boyle: Okay, that does in fact wrap up this episode of the Cyber Risk Management Podcast. So, today we looked at what happens when AI writes your security patches, we walked through this new research report that shows that, unfortunately, most AI patches don't fully fix the bug. We looked at why the tests miss it, why bad advice is worse than no advice and, most importantly, four moves you can make to get fast fixes that actually hold. Speed is the new firewall but only if the fix holds I think is a great way to think about it. We'll see you next time.
Jake Bernstein: See you next time.
Speaker 1: Thanks for joining us today on the Cyber Risk Management Podcast. If you need to overcome a cybersecurity hurdle that's keeping you from growing your business profitably, then please visit us at cr-map.com. Thanks for tuning in, see you next time.
Sign up to receive email updates
Enter your name and email address below and I'll send you periodic updates about the podcast.
YOUR HOST:
Kip Boyle
Cyber Risk Opportunities
Kip Boyle is a 20-year information security expert and is the founder and CEO of Cyber Risk Opportunities. He is a former Chief Information Security Officer for both technology and financial services companies and was a cyber-security consultant at Stanford Research Institute (SRI).
YOUR CO-HOST:
Jake Bernstein
K&L Gates LLC
Jake Bernstein, an attorney and Certified Information Systems Security Professional (CISSP) who practices extensively in cybersecurity and privacy as both a counselor and litigator.