# AI-Driven Vulnerability Discovery and Supply Chain Security

**Podcast:** The AI Native Dev - from Copilot today to AI Native Software Development tomorrow
**Published:** 2026-11-26

## Transcript

The most famous one that they was probably PHP to shell.
We can kind of get into that one.
It went back 10 years and there was like zero mitigation available.
We have frontier models and do our own research and stuff like that.
Let's see if we can find a vulnerability in PHP.
And within four hours found the exact same thing.
Cloudflare, a bunch of the others started seeing actual attack traffic happen.
We made a call to ship the fix to get it out there.
The maintainers weren't happy with our decision to ship them early.
It's just the nature of if you tell 100 people, it's going to leak probably 19 times.
And it really just means you have to do this all very quickly.
The AI Native Dev is a podcast for developers and engineering leads at the cutting edge of AI and agentic coding.
Join your hosts, Guy Pajani, and me, Simon Maple, every week as we chat with the most exciting voices in AI and tackle the biggest questions facing developers today.
This is the AI Native Dev.
AI DevCon is coming back to London.
Our first London event sold out in June.
After our second New York event this November, we're heading back to the brewery Moorgate in 2027 with a bigger line-up and two full days of talks from the people actually building with agents.
You'll hear honest takes on where the industry's at, real stories from teams adopting AI, the wins as well as the messy bits, and where they think things are heading next.
It's on June 7th and 8th.
And don't tell anyone, but we've got a really great deal for you.
Scan this QR code to grab an early bird ticket for just £100.
See you in London.
Hello, everyone.
Welcome back to the AI Native Dev podcast.
Today, we're going to talk about this topic that was a little bit in the news, which is open source security vulnerabilities and PHP to shell and various others.
And we really have one of the top people to talk about this domain on it, which is Dan Lawrence, who's the founder and CEO of ChainGuard.
Thanks, Dan, for coming on.
Thanks for having me at the conference.
Thanks for having me on.
And indeed, we are recording this at the AI DevCon event on it.
So if you hear some clapping and cheering and such from outside, as I think I mentioned in a previous episode, this is just common occurrence here in DevCon.
So come check out the next one.
So let's sort of start by just explaining a little bit this sort of reality, right?
Like October has been dubbed Black October.
A lot of security people have all these memes going on around not sleeping for the entire month on it.
Maybe catch us up a little bit of like what has been happening in the last, it's probably more than a month, but notably the last few weeks.
Yeah, I think to really get it, you have to zoom back about six months to when Project Glasswing and Mythos and...
The next generation of frontier AI models that were very, very, very good at finding vulnerabilities in software came out.
Anthropic quickly realized it wasn't safe to just give this to anyone.
They started limited release programs.
OpenAI did something similar.
And they gave these out to try to create a defender's advantage.
They gave it to...
critical infrastructure, things like that, to try to scan their software, find vulnerabilities before attackers got those same tools that could be used to exploit them.
And even back then, not to sort of foreshadow a little bit future conversation, but even back then there was a bit of a question of like, who gets it?
Who gets it?
And then also, is this thing even real?
Is this like the world's best marketing stunt before an IPO?
I mean, you still see some of that.
I think what happened in October, to kind of summarize it in short, was the vulnerabilities that they had found months and months ago were finally starting to come out.
And everybody that kind of didn't get access is now starting to get a taste of what it found.
And the Glasswing transparency tracker website, where they have thousands and thousands, but only like 30 going public.
That stream is starting to flow.
Yeah, Black October, there was one week where there were five, at least, vulnerabilities that each would have been a vulnerability of a year, like a Wikipedia page and a marketing campaign around it.
And they all happened in one day.
And people didn't even realize there were that many because each one of them was so big in its own regard.
Yeah.
Maybe let's tell a few of these stories on it because actually each of them is like a little bit of a novel on it.
You can write a little short story collection a little bit for each one of these things.
Yeah, the most famous one that day was probably PHP to Shell.
We can kind of get into that one, which was a zero day in PHP, a programming language.
It went back 10 years, and there was like zero mitigation available, so pretty bad.
But I wouldn't even put it in the top three that day in what actually came out.
It just kind of got the most marketing kind of around it.
There's another one in Broatly, which is a compression algorithm.
I think Google made it.
It's used for HTTP, faster compression that way.
There's another one in...
Brokley is like, just to contrast a little bit, like PHP, kind of ancient software, powers like WordPress, Drupal, like all the sort of...
All the sort of the CMS.
Yeah, but it's sort of the slow-moving 60% of the internet and oftentimes the sort of SMB.
Brokley, almost the opposite.
It's sort of like a modern-day compression algorithm.
I think like a few years old, I remember when it came out, you know.
Yeah, and this was just a basic memory safety issue in Broly that could lead to remote code execution again, kind of the worst case scenario.
Then there was a 10.0 in GitLab going back 10 years as well, a vulnerability in GitLab that could lead again to full remote code execution.
That one was an interesting one because it wasn't really in GitLab.
It was in the regular expression engine inside of Ruby, which GitLab runs.
And so it was kind of one of these examples of a chained attack where somebody pointing at GitLab could build a whole exploit chain down into, you know, a C component inside of the programming language interpreter that GitLab was using.
It affected a lot more than GitLab.
process around disclosing that hasn't really gone very well, so a lot of people still don't even know to upgrade.
Then there's the certificate authority issue we're talking about, where the private key of a certificate every laptop in the world trusts was just the number four.
It was kind of overwhelming that day, all of these things that came out.
Was that also a mythos one, or was that just happened to be disclosing?
I don't know.
Somebody tried to brute force elliptic curve cryptography.
I don't know why you would try that.
It doesn't work, but it just stopped right away and was like, we got it.
We guessed the key.
It was just four.
counting up naively, they got it.
Maybe it was a frontier model or something.
But yeah, and then there was light LLM malware attack that day.
There's been Linux kernel RCs every week.
It was kind of overwhelming.
There was a pretty good meme summarizing it.
And it was just like, hey, is the number four a lot?
And it depends.
Vulnerabilities in PHP?
Yes.
Bytes in a secret gate?
No.
Yeah.
Just the breadth of it kind of spanned pretty much all software.
Every security team everywhere needed a hug that day.
And just to kind of highlight a bit the pain that this inflicts on it, like these vulnerabilities come along and they've been detected, but they've been around for many, many years.
And so they're kind of prevalent across your estate.
So most organizations really have anywhere between terrible and mediocre understanding of which...
what software is running in their system, let alone componentry and versioning and all that.
So, you know, we've been sort of preaching both Snyk and Jengard and others have been sort of preaching open source security for quite a while, over a decade.
But it's still like it's a work in progress.
And many of these organizations are not necessarily at the top of their sophistication, right, in terms of tech sophistication.
And these are, they're also like very easily exploited.
vulnerabilities.
Once you know the pattern, you can just run them.
And so the result of that is a bit of a mass hysteria inside an organization to find out, are we running this piece of software?
And when this piece of software becomes these pieces of software, things start to compound.
Yeah, and they're all very different.
Broatly was challenging for a lot of organizations because It's a single C file that C doesn't really have a package manager the same way a lot of other languages do.
You can pull it in and you can use kind of CMake systems and stuff like that.
But for the most part, there wasn't like an NPM lock file you could just run to upgrade.
And in fact, a lot of organizations and other open source projects just copied it into their source code.
They've entered it in.
And so even if you know you're running a web server, you don't know if that web server has a copied in version of that same C file that's exploitable.
And so it kind of bypassed and evaded almost every SCA tool out there.
Maybe Snyk would have found it.
But yeah, it was very challenging because it kind of propagated.
by copy paste rather than real lock files and normal dependency best practices.
It's a challenge.
It's a challenge.
So this is all in the world of like supply chain security or software supply chain security and tracking it out or tracking down.
Just before we talk about sort of practices and all of those.
There's yet another compounding factor over here, which is sort of the speed of attack.
So what we've also seen, I know with PHP to Shell, we've seen some stats on it, on just basically within a couple of hours, attacks start getting close to like millions.
I don't know if this is like, this is a cloud for data.
I don't know if it's per hour or like, I don't know per what time, but just it's a massive drove of attacks.
Yeah, it's nation states doing nation state things and probing, finding spots that are running the vulnerable version and then picking their targets and hitting them.
The US government, there's just a disclosure of 25.
servers were completely compromised and chained down from the PHP vulnerability down to a kernel vulnerability, which they turned it into full remote code execution through a Palo Alto firewall or something like that, ironically.
The management console was running PHP.
And so it was like a three-layer chain.
Security vendors are not immune to having vulnerabilities.
Yeah, so this has been a trend forever, though.
Not forever, but I'd say for the last 12 to 18 months, the time to exploit has kind of fallen negative.
It's gotten too easy to find things and exploit them before the CVE system can even keep up.
So maybe let's talk a little bit about this sort of like a formal recognition.
First, just to clarify, so you were saying that these are kind of downstream from like six months ago mythos.
and maybe later sort of OpenAI Cyber model started finding these vulnerabilities on it.
And we're sort of seeing the disclosure waves start coming along.
So I guess in your view, there's another, there's basically a backlog of disclosures that is waiting to come down.
Yes.
We're sitting on hundreds ourselves.
We're working with the Acritis Foundation inside the Linux Foundation where we're trying to coordinate and get an orderly process upstream because kind of one of the other ironic pieces of this was the last 12 to 18 months open source maintainers were just kind of getting slop thrown at them.
Anybody that wanted a bug bounty or a CV for their resume or some t-shirt was just opening up models saying find vulnerabilities and then emailing people directly without any real knowledge.
And it kind of DDoSed the normal open source maintainer and vulnerability reporting process.
And so it was like after a year when everyone just got exhausted and started to give up, all of a sudden the slop stopped being slop and started being like weapons-grade slop at this point.
And it's very hard to swing that pendulum back.
And it didn't start from a very kind of healthy situation.
Like open source maintainers were already, you know, like underpaid or not paid on it and sort of exhausted and, you know, definitely swallowing in noise.
And it's not even just the single maintainers that are running into this.
Like Google just shut off their open source bug bounty program for their own.
open source projects.
They were just getting too much crap sent in to deal with every single day.
And that was just recently as a month ago.
So even with effective models, if anything, the volume is still too much for them to keep up with.
So let's maybe talk a little bit about the mechanisms to deal with this today, right?
So the fact that there are open source vulnerabilities is not new and that there's a disclosure process around them.
But the processes around that have been I guess they've been built for a smaller or slower flow of those.
Maybe you can describe a little bit about how it works today.
Yeah, there's no single answer for how it works.
Every project does things differently.
Some have a process, some don't, some do things in public.
Some use a portal like HackerOne or something like that to deal with intake of vulnerability reports.
So it all really varies.
But the typical flow is somebody's a researcher is looking at a project, finds a vulnerability inside of it, writes up a report.
Some projects want a POC built with it.
Some want you to help them try to patch it, some don't, they just want the report.
And you try to contact them privately.
Sometimes they'll have a mailing list, sometimes they have a portal like HackerOne or something like that.
There's some capability that I've been built, like GitHub as I think a security disclosure piece to it, Linux Foundation at some point.
I think it never really took off, but they tried to build a portal.
around those.
And so you try to let them know privately.
And that doesn't always work.
And I think that's sort of the backlog people are seeing today on the Glasswing transparency tracker, where they say they found 10,000 and they managed to actually disclose maybe about 300 of them upstream.
It's just hard to find, wait through the noise, even get email addresses or tell if a project is still healthy.
But in the happy path, you find the people, you contact them, you tell them about the vulnerability.
work on a patch together with them, maybe they just work on it themselves.
And then at some point they'll get that out into the project, they'll get it out into a release, and then users know to upgrade.
Depending on where the software sits, that second half can be a lot longer and more complicated.
The Linux kernel in particular, just because they release a patch on the Linux kernel Git repo, doesn't mean anyone is protected.
There's a complicated list of distributors and other people downstream that have to take the patch and backport it to different versions and stuff.
So they can try to do more in private and let certain people know about these so they can start to apply the patches and get things ready to try to shorten the time between everyone in the world knowing about the vulnerability and actually having patches available.
Right.
And that gap is important to highlight, right?
Because it's...
Once you release, you might naively think, okay, just fix the vulnerability and release the update.
But when you release an update that has a fixed vulnerability, you are implicitly disclosing the vulnerability because it's much easier to just reverse engineer what has happened.
And so attackers can clue into it.
And so because the update mechanism...
by default, people don't update as soon as it releases.
There's indeed a cascade.
There's also just like change management process within the enterprises.
They need to be alerted to the fact that there is a vulnerability.
And so that's the cat and mouse.
Like I release a vulnerability or I alert people to the existence of vulnerability some period of time and then patch becomes available or I make the patch available to them secretly.
Yeah.
And now that whole timeline is compressing and in some ways inverting, right?
Because when you disclose the vulnerability, you're not putting it there.
You're telling people it was there, right?
It's always been there.
And other people can go around and look and find these things too.
And so there's kind of this assumption that if you found it, There's some likelihood someone else already found it too.
And there's nation states and people with a lot of money and time also looking at these same projects and not necessarily notifying everyone else when they find things.
They just keep it in their pocket in case they need it someday.
And so that time that you have as the only one that knows about it is also limited.
And that's, you know, maybe in the past 30 days was acceptable.
Today, it's less likely, right?
There's also this weird phenomenon about...
independent discovery.
It's kind of unexplainable.
It's this weird magical thing in the universe, but it happens all the time.
If you go back to Heartbleed, two completely unrelated groups found Heartbleed within three days of each other.
Even though it was there for years.
It's been there a decade, and nobody found it, and then all of a sudden, two people that had never met found it.
It's weird.
It's magical.
The same thing happened with PHP 2-Shell.
Califf is a great red teaming company.
They do a bunch of security research.
They're the ones that found this first.
The OpenAI team found it two or three days later completely without contacting each other.
And then Wiz researchers found it a couple of weeks after that, all completely independently for a vulnerability that's been around for a decade.
I think today it might have to do with the model's capabilities, right?
Like today it might be that basically we're all getting these tools that are available to us in a period.
And it showed a couple other, I guess, depressing things about the way this works.
The Califf researchers...
knew about this vulnerability but didn't quite know how bad it was back in 2024.
They found this bug, they knew there was like a use after free kind of thing in this one area of the code base.
They thought it could probably be exploited and they tried for a little bit but they weren't able to and they talked to the PHP folks and they knew about it.
But it was hard to fix and nobody really knew if the bug was a real vulnerability that could be exploited and so it kind of sat there.
And then that's where the models came in, where if a person sat there for six months with the right tools and they were one of the maybe 30 people in the world that can turn one of these into an exploit for long enough, they probably could have done it.
And then people would have taken it seriously earlier.
But they didn't because they didn't have the time.
Labor is scarce.
Yeah, the attention span.
But now that's where agents can turn things into exploits.
And so there's a lot of these everywhere, these use after freeze, these basic memory safety issues where...
A person maybe could in six months and they just haven't yet to now.
Anybody with a frontier model can.
And just sort of run and create the exploit.
So it's kind of like it's elevating the risk of every one of these bugs, where before you could just run a static analyzer, it would find all of these and you could fix them.
Now every one of these findings is potentially a 9.6 CVSS vulnerability.
It's people aren't even reporting them to projects unless it's RCE now.
It's like the bar has risen so much that you're kind of numb to anything that you haven't been able to turn into a real chain.
I want to dig maybe a little bit into this sort of disclosure exercise because this is something that even at SNCC we dealt with a fair bit, which is you have a research team, you find vulnerabilities, this is even pre-LLMs, and you now kind of have a question about who do you tell them.
You want to tell the good guys, you want to tell them first, but the more people you tell, the more likely it is to leak.
And so you find yourself in this...
kind of conundrum, which is, you know, who's on the list, right?
Who's under a good list?
You know, when you're a vendor, maybe it's a little bit of, well, it's your top customers.
I don't know, like it's also tricky when you're a vendor.
But when you're not a vendor, when you're sort of open source, even more tricky.
And so today that is, it's fairly kind of oddly managed, right?
Today, who gets told about a vulnerability ahead of time?
And how does that get disclosed?
Yeah, again, there's no real standard playbook here.
Some projects just don't do any disclosure.
They just publish.
Some projects have a whole playbook for this because they do it constantly.
OpenSSL, that foundation, very standard process for exactly who they tell about vulnerabilities in cryptography, exactly how far in advance, exactly what happens, at which moment, all of that, because they've been through it a lot of times.
And that's a piece of software where, yeah, look back at Harpleat, just how critical a vulnerability in the cryptography library that powers the internet can be.
Others don't, and they're kind of making it up on the fly.
The curl project just changed their policy actually where they're no longer doing any private reporting for mediums and lows.
They used to do that stuff privately.
There's just too many.
Now they're only doing private work for highs and criticals.
They're moving more toward the open.
Linux distros coordinate.
There's a mailing list that somebody runs just completely ad hoc on some of these where they just set a max time of seven days.
Send it to us within seven days, it's going public.
So it kind of sets this deadline as a forcing function.
Because to your point, once you tell three, four people, it's going to make it out whether you want to or not.
So I want to dig a little bit into like for PHP to Shell, this kind of really manifested this sort of like who should know right now for it.
And I know, you know, in Chain Guard, you had a bit of some hard decisions that you sort of made.
Can you tell us a little bit the story of what happened there?
Yeah, the disclosure process, I think, started with Califf and OpenAI finding this two or three months ago and reporting it to the PHP Foundation around the same time.
The PHP Foundation said, oh yeah, somebody else just told us about this yesterday.
Let's work on it together.
And it took them a while to develop a patch.
This wasn't a simple one-line thing.
Coming back to Heartbleed again, that was just a one-line security fix.
It was one thing.
They had to switch a true to a false or something like that on one line of code.
This one was like an elaborate fix.
Yeah, it was like 400 changed files.
They had to rewrite a core part of how memory allocation is.
Interesting.
So it took a while to get the patch right.
And then they started a disclosure process.
OpenAI was coordinating it.
They've kind of written this on the blog of kind of how they led the process.
But they, about six or seven days ahead of time, they started kind of bringing folks into this coordinated release.
We got a heads up, yeah, about six days before the plan released that there was a vulnerability in PHP and they were going to set up a process for it.
What's the order of magnitude of like how many organizations knew about it?
If I had to guess, by the end, probably about 100 people, 100 different organizations.
So it was a lot.
That night, before we actually got the information, we have frontier models and do our own research and stuff like that.
We kind of wanted to test and benchmark our finding.
But yeah, we just pointed it at PHP and said, let's see if we can find a vulnerability in PHP.
And within four hours, found the exact same thing, right?
It kind of validated that, yeah, three people all found this same thing with frontier models.
If you point them at it, you'll find this thing.
So we worked with them over the weekend testing the patch to make sure the patch was good.
That's also a challenging problem where we've seen it, I don't know if you saw it ever at Sneak, but you report something, the maintainers patch it, the patch didn't hold.
It was an invalid patch and then people have to patch twice.
It fixes one scenario, but it basically doesn't, it fixes the symptom, not the problem.
Log4j was another interesting one where there was no disclosure for Log4j.
It was an accident.
The person that found it didn't realize it was a security issue and sent a PR to fix it.
It was like an open issue.
It was just like a big deal.
Yeah, they just sent a PR to fix a bug.
And an hour later, somebody realized, oh, this isn't just a bug.
This is the worst security vulnerability in the history of software.
And so they just had to rush.
There was no taking it back at that point.
It was already public.
And so, yeah, through the weekend, worked to validate the fix.
And then news started to leak.
It was like all over hacker news by Sunday.
Things were getting posted and deleted.
The PHP Foundation originally wasn't going to announce it ahead of time.
It kind of had to announce it at that point.
Enough people were talking about it that something was coming Thursday.
Califf, one of the researchers, accidentally published a whole video showing their exploit ahead of time and had to delete it.
They were off by a day.
The PHP Foundation had to pull up the date to Wednesday instead of Thursday.
And then I think by Monday night, Tuesday night, there were about 100 different companies in the channel kind of coordinating.
That one, the scale sort of started to make sense at that point because this was 60% of the internet.
A lot of the people had a patch.
And a lot of these would be like the hosted providers of like a substantial number of these sites.
Especially it's sort of infrastructure and platform providers that by them patching, they actually...
sort of safe and secure like a wide variety of a wide number of sites.
Yeah, and not even just people patching down at that level.
There are folks like Cloudflare who could develop WAF rules and help block things.
They can block the attacks in a different spot.
Yeah, to give people time to patch.
And these WAF rules, they're not perfect like a web app firewall.
You know, they can stop obvious attacks, but attackers can usually route around them.
Yeah, but they take the simple attacks away.
Yeah.
And so more and more folks were getting that kind of stuff ready.
And then later that night, everybody in the network stack kind of did a final check.
No one was seeing any exploit traffic yet, but POCs were flying around on GitHub.
Everyone was publishing these.
Most were fake and bogus, but some looked kind of real.
And then very late Tuesday night, Cloudflare, a bunch of the others, started seeing actual attack traffic happen.
And their WAF was hitting and stopping a lot of this stuff.
And so it was kind of a coordinated disclosure at that point with time zones and urgency and stuff.
But based on seeing actual evidence of attacks in the wild, we made a call to ship the fix to get it out there because that's usually the trigger for something like this.
Which for you, because I guess we didn't introduce Chain Guard, you have kind of a registry of secured objects on it.
So you'll kind of ship a new binary.
Yeah.
We shipped a binary for folks that needed to do the update once active attacks happened in the wild.
I mean, coordinated disclosure, that's usually the trigger, right?
You know, you keep these things private to try to...
get an orderly process out.
But if attackers found the vulnerability first, normally you just skip that whole process and just work to get fixes out as fast as possible so folks can patch or at least take action, turning off systems, things like this.
Even if there is no patch, a lot of cases, vendors will still disclose the vulnerability.
Which was the case here.
A bunch of people took their site down.
Yeah.
And you see it in closed source software a lot.
It was like, you know, somebody finds Project Zero will find something in Microsoft and they have a hard policy of 90 days.
you get to fix it.
Otherwise, we just tell people about the vulnerability.
At least they can set a registry key in Windows or turn something off if they really need this to protect themselves while they're waiting on the next patch Tuesday from Microsoft.
And yeah, that kind of happened that night.
Yeah, late Tuesday night and Wednesday, the official patches went out.
The maintainers weren't happy with our decision to ship them early.
It kind of led to a lot of debate and critique around, you know, were that exploits successful?
Does that really matter?
How can you tell?
All of these kind of things.
And to an extent, who makes the call?
Right.
Yeah.
Because like when you're in that type of group on it, you know, is it on one hand you have like...
multiple allegiances a little bit of you know you need to work with a group on it but also you're looking there to protect your customers.
Yeah and you know we made them available for free it wasn't just for customers you know we wanted to get them out for anybody that could download the PHP version and stuff like that.
It's kind of it's a challenging one because nobody has a global view of what's happening across the entire internet and stuff to look for these attacks or see what's actually happening or successful and everybody sees a different you know side of it and a different view so folks try to coordinate.
But at that point, you know, the embargo would probably leak 19 times by the time anybody was even in a position to have to do that, which is how the attacks and everything were happening.
It's just the nature of if you tell 100 people, it's going to leak probably 19 times.
And it really just means you have to do this all very quickly.
And I think that's what we're seeing as an industry.
the Slack channels and manual WAF creation and stuff like that aren't really going to scale.
The folks like Palo Alto are setting up whole API versions of this where they can generate these protections without a human even noticing or seeing it.
And so maybe you can do the whole coordinated disclosure process in two hours instead of two weeks just by sending them, this is what the IOs are for this vulnerability.
By requiring every player to be equipped with sort of agentic handling of the disclosure and therefore maybe.
So maybe, first of all, thanks for kind of walking through the story on it.
And I feel maybe like echoing back a little bit of the reality that we're describing here.
So we have open source software that is and continues to be and probably will continue to be very widely used on it, which is a great thing.
We want that to happen.
We don't want everyone to reinvent the wheel.
It is easier to find vulnerabilities in it now, and it is easier to exploit vulnerabilities out there.
So the urgency of...
of patching increases, but even before then we have a challenge around this disclosure process.
And today we have these, you know, because historically even in closed source software you would file for a CVE, for some common vulnerability enumeration number, and you'd have it so that everybody can coordinate across this.
These are all designed for like a small number.
They've been like, frankly, even back in 2015 when I founded Snyk on it, like even back then it was already like, hey, CV is not fit for purpose, you know, for the volume and for open source vulnerabilities.
They don't have a vendor behind them.
So I think today we're probably seeing, okay, very much the system, like it's no longer straining under the load.
It is just kind of broken.
What do you think should happen?
Maybe we'll start with talking about what do you think ecosystem should happen, and then we'll try to give folks a little bit of a microcosm of your organization and what should you do.
Every part of the system has been creaking and crumbling for a while.
The CVE program itself has run out of money several times over the last four or five years and just didn't have enough people to run the database.
The vulnerability metadata is hard to match and it's hard to know even if you're affected by a lot of these things.
That part's not keeping up.
The patching side isn't keeping up.
There's a lot of challenges kind of across the board.
but for whatever reason, many of you have yet to subscribe to the channel.
If you're enjoying the podcast and want us to continue to bring you the very best content, please do us a favor and hit that subscribe button.
It really does make a difference and lets us continue to improve the quality of our guests and build an even better product for you.
All right, back to the episode.
So for starters, let's talk about as an ecosystem, what do you think should happen?
From a disclosure process and all of this responsible, can you describe a reality that you think is a good reality we should aspire to reach?
I think, so when you look at the benefits and challenges and where open source really fits in, right?
You know, open source by every metric is more secure than first-party software, all of these things.
Like Linus Torvalds' law, many eyes make all bugs shallow.
That holds.
Per line of code in the Linux kernel, it's going to have way fewer than, you know, any other piece of software.
But there's a lot of lines of code there.
And there's a lot of open source.
And it's 90-plus percent of any one stack.
And so...
by any metric, most of the vulnerabilities are going to be in the open source that you have to deal with, even if it's better by line of code, just because there are so many more lines of code.
But I think the real challenge and where vulnerability disclosure and stuff comes in is there's a concentration of risk in open source, right?
If you have a bug in your product, it's in your product, and you could probably fix it in your product, but that same bug isn't going to be in everyone else's product.
And that's where a bug in your...
login page or profile page on your app only affects you and your customers, but a bug in PHP or Log4j could affect enough of critical infrastructure to pose a systemic risk to financial system or the energy grid or something like that.
So the concentration risk angle, I think, makes it a little bit more challenging.
There's one other angle on open source where I think the system has kind of failed.
This is where organizations really have to take action today.
But it's the amount of silent vulnerability fixes.
It's kind of been a term for a while, but a lot of vulnerabilities have been fixed without anyone even knowing they were a vulnerability.
Like take the Log4j example.
projects just refactor some code or delete something or run a linter and fix all the linter errors.
But they don't file 300 CVs when they fix those linter errors, even though some of them might have been vulnerabilities that they went through at the time.
This is like internal organizations fixing their fork of an open source project?
Even open source projects.
I mean, like, you know, pretend you're an open source project and you run, you change your compiler and now run it with different hardening flags and there's a bunch of errors.
So you just made some modifications and without intending you've...
You know, you're trying to make it better, but you didn't know if any one of those was a vulnerability.
So you didn't.
file a vulnerability.
But anybody looking at the commit log now knows that, hey, version 4.1.2 had this vulnerability in it.
Today, they can do that with these AI tools that they couldn't have done before.
And maybe the projects on version 6 today, and anybody that didn't upgrade because there was never a CVE telling them to upgrade is now sitting on something vulnerable where there's nothing in the system that expresses that to them today.
And so I think- A magnification because again, a decade ago, we were talking about the same thing, kind of starting a sneak on it.
But today there's just that much easier to find them and more of them.
So a lot of these are just sitting in plain sight and the disclosure process, you know, just doesn't make any sense.
This thing's been sitting in the plain sight forever.
The Ruby vulnerability inside of GitLab, like to zoom in on that one, was kind of a case of this.
The Ruby team fixed a bug.
in the regular expression engine inside of Ruby back in April, and it sat there on their dev branch since April.
They never actually shipped it in a Ruby release because it was just some bug in the regular expression engine.
It never made its way in.
And then an attacker, it wasn't an attacker, it was a researcher, but then chained that into a full RCE in GitLab.
And so GitLab...
Found that the fix was sitting there and grabbed it cherry picked it into their build of Ruby shipped a new version of GitLab with the CVE filed The next day the Ruby team shipped a new release of Ruby with that same fix in it Yeah But never filed a CVE because they said they don't actually know if that's inside of their threat model or not So they said the blog post said please upgrade but we're not filing a CVE and so unless you read the blog You're vulnerable out there.
You didn't know this today.
What's the solution or like what's the what's the conclusion is it like Are you making the case that basically we just need to give up on vulnerability disclosure and just sort of expedite our sort of rate of adopting upgrades?
I mean, what's the...
I don't think we can give up on vulnerability reporting and disclosure.
I think every organization should be accelerating their updates, though.
Even if there's not a vulnerability known today in that old version, you should update.
But before, I think we should get to the organizations themselves, but I do want to...
Just try to imagine, what is a reality from an ecosystem perspective that is good?
You alluded to one before a little bit, which is anticipating agentic early disclosures.
It's like, hey, anyone amidst maybe a larger even organization can get a short notice about the vulnerability from whatever sources that plug into that, and then agentically they have an opportunity to respond.
Yeah, I think AI is the cause of and solution to all of our problems here in a lot of ways.
And everyone has to get better at updating and dealing with breaking changes and just assuming all software is vulnerable.
Because even if it isn't, somebody might find a way to make it vulnerable yesterday.
The new software you're upgrading to is probably vulnerable too, but at least you're on the same thing everybody else is and everyone with their Frontier models is scanning and trying to patch the vulnerabilities in.
If you're on these old EOL builds and EOL releases hoping for backports, you're probably exposed to 30 times as many things that are sitting there that you just don't even know about today that no one ever filed a CV for.
I think the database probably isn't going to work, but if you look at the way the Linux kernel handles vulnerabilities now, I think it's sort of the future, but if everyone did that, everything would fall over today.
But the Linux kernel changed their process.
They used to just not file CVs, and they used to just refuse to accept CVs in the Linux kernel because the system was broken.
But about two years ago, they changed it and kind of did like a malicious compliance approach the other way where every single bug fix in the Linux kernel, they now file a CVE for.
So they went from zero CVEs to everything as a CVE.
Because it kind of is at the end of the day, especially when you're looking at the Linux kernel.
They have no idea how people use it.
It's such a deep attack surface running in such a privileged context.
Let me kind of interpret that a little bit, which is every change to your code.
is a vulnerability fix in some compilation or some kind of constellation.
So you might rank it with a CV that is like a low severity because you can't quite figure out ease of exploit.
But they're basically all logs of vulnerabilities, which...
And it's not every change.
I get the point about malicious compliance because they're not necessarily...
Yeah, they do it for every bug fix.
And they've got some scripts and probably agents now.
But when they first rolled it out, it was a script for anything with bug fix in the title.
Once a month, got a CV filed.
And people were saying it was going to break everything and ruin the world and put a bunch of work on everyone.
But we're seeing it, especially for software like the Linux kernel.
Any memory safety issue could be exploited by someone later.
And so they file them all and treat them that way.
And so for an organization, you can either just wait for millions of these CVs to come in, or you can just update.
Either way, you get to the same spot.
So I guess what I'm sort of hearing, like ecosystem-wise, I think...
I think you're sort of advocating for just like you do when you identify something that has some risk involved in it, try to disclose the fact that that has occurred.
The exact threshold TBD.
But if you've kind of concluded that there's some risk here, then it's still a service to the world coming out of that.
What about the vulnerability disclosure piece, like the private disclosure?
I guess maybe for that we have the agentic path, but do you think of those other things we should do kind of group-wise or again should we kind of give up a little bit on that?
I think there's two halves to it again.
One is the first half of a private disclosure, which is you find something, you want to report it to the maintainers privately and give them a chance to fix it.
There's a happy path there, which is that they respond to your email, you work together on a fix, they eventually get something out.
Whether they tell people privately or not doesn't really matter to some extent in the long run.
The fix got out, people know about it, now they can patch.
That first part, I think, is the bigger challenge, is how do you actually get to the top of their inboxes after two years of slot being filed.
And what happens if there is no maintainer anymore?
There's a lot of these critical projects.
Take LibXML2, for example.
It's the XML parsing library.
It's written in C that powers pretty much every programming language today that deals with XML or HTML.
It's been unmaintained for a year.
The maintainer just gave up, said he was done.
A couple other people came and kind of started working on it, but it's not maintained anymore.
There is no disclosure process for that repository.
If you want to, you can file a public issue, but there is no way to tell them about anything private.
I do wonder though, like I feel, and maybe we'll kind of get a bit off this topic of it, but I guess trying to kind of imagine a positive sort of destination, trying to think about maybe, you know, kind of agentic handling of disclosures.
So like, fine, the bottleneck here is labor, like the bottleneck here is kind of maintainer labor and expertise.
And so we could potentially, if every open source repo or open source project had an agent wrapping it, so it could process any input that comes along and it will analyze it, you know, if it's for a sufficient kind of pedigree, decide to doing it and publish and decide if it's a vulnerability to fix it.
And I guess in those cases, we sort of flip a little bit the risk of making a modification that might break versus fixing it.
I feel like that might be just trying to kind of imagine about how do we drive ourselves to a location that is not just accepting, I guess, of the, I don't know who foots the bill for this.
OpenAI and Anthropik are doing big giveaways that patch the planet programs and stuff like this, but you can't force people to take it and you can't force people to spend the time anyway.
And a bunch of open source maintainers are not necessarily like positive minded right now about this type of ownership.
Yeah.
I think there's probably going to be some kind of bifurcation and some healthy divergence in open source, I would say.
There's been the memes of rewrite it in Rust for decades and stuff like this, but there's a lot of software that should be rewritten in Rust now.
It shouldn't be.
We've got our vulnerability harness.
We have just run straight through every C program we have pointed this thing at, except for curl.
The curl maintainer, Daniel Stenberg, he's proven it is possible to write.
safe code and a memory on safe language, but unless you're him, I would not recommend it.
I don't think the average person or even average agent can do this.
And it wasn't easy.
He's been the most fuzz, the most scanned, invested the most time in making this software safe.
for decades.
It's not a scalable model.
Right, it's not.
Look at him as, wow, okay, he can do it, but no one else should.
Don't look at him as looking as possible.
Everyone should be able to do that.
There's a lot of software that I think should just be rewritten in memory-safe languages or ways to just get rid of entire classes of vulnerabilities.
It kind of sounds silly, but some agents can do that too, and they can migrate people to it, which I think is a lot of the challenge.
A lot of organizations were panicking and begging for back ports of the CV vulnerability fixed to like version five, which has been end of life for 12 years, right?
You're exposed to at least 30 other more severe RCE issues that you've been exposed to for the last decade and choosing not to upgrade.
And it's get your agents, point your agents at doing the upgrades.
They're very good at these upgrades.
And they can approach it in a way no person would, right?
You wouldn't go from 5.2 to 7.4 overnight.
You would go 5.2 to 5.3 to 5.4 and test it every step of the way in ways that humans would just never do.
And I think...
That also gives you the freedom to start migrating to safer frameworks and safer libraries at the same time.
In the process.
So maybe indeed let's sort of close off a little bit on that point.
So if you're a defender and you're dealing with this unfortunate reality of it, what would you say is kind of the key guidance to, and even trying to keep in mind someone with kind of a software state that has baggage, like some sort of decades of it.
Like, what would you say is like, hey, this is how I will, if I were in your shoes, this is what I would do now.
Yeah, point your clods, point your codexes at those old things and tell them to start upgrading.
Don't wait until there's a vulnerability.
The closer you get to today's version, the easier it's going to be when there is a vulnerability, right?
Like, look back at Log4j.
It affected 10 plus years of versions, and the maintainers backported it very far, but there were some they couldn't backport it to.
And there were some where they did do backports, but people were on such an old version of Java, they couldn't even take the new build.
Yeah, do the upgrades on your own time, 9 to 5 during the work week, not at midnight on a Sunday night, because that's when the vulnerability gets disclosed, and that's when attacks start hitting.
And at the same time, figure out better versions of software.
Trim your estate.
Do you really need 17 different?
CMS systems, maybe you'd be fine with four.
So you're patching less often.
But yeah, figure out how to move at machine speed.
I guess you're going to have to because attackers are.
I think that's good, very practical.
I sort of feel like I see a campaign of I upgraded today.
You're sort of sitting here with I voted today on election day in the US.
I need a little bit of this sort of I upgraded today.
So this is great.
Maybe, I guess, for anybody on the podcast on it, we're going to switch now to actually have a sort of related but not the same topic conversation in Dan's talk here at DevCon that he had just given over here.
It would have been done by the time you hear this.
Tell us a little bit about what the talk was about.
Just a tidbit, and then people will switch to see it.
Yeah, my talk was kind of meant to be an ecosystem-level view of what happens as...
we start moving at machine speed.
You and your organization might be rolling out agents and moving fast, but you're just one node in this broader supply chain.
And if some parts move a lot faster than other parts, that causes friction, it causes backlogs.
We need everyone to start moving at the same speed together.
And it's going to be a messy 6 to 12 months as we all get there, I think.
Good, good.
Well, stay tuned and listen to Dan's talk to hear a more structured version of it and more details about how to get this right.
Yes, I'm Dan Lawrence, co-founder and CEO of a company called ChainGuard.
We do open source software supply chain security.
Like I said, I want to talk about what starts to break as we start moving at machine speed.
I'm not going to be talking about inside of a single organization, CI systems falling over, going down, that kind of thing.
I'm going to be doing this more from an ecosystem perspective.
We sit in the middle of a bunch of different supply chains at ChainGuard.
You all do as well.
The open source software that you build, the products that you ship to your customers.
As everyone starts moving faster and faster at different rates and different speeds, that friction in the supply chain starts to cause a lot of issues.
So that's kind of what I'm going to zoom in on today.
So in case you didn't notice, last month was Cybersecurity Awareness Month.
And to celebrate, we got probably the roughest week for anybody paying attention to software vulnerabilities in recent memory.
On one day of that week, the week of, I think it was the 19th, there were at least five of some of the most severe software vulnerabilities in open source software reported all in one day.
There have been worse ones, but in any normal year, any one of these would have been a headline vulnerability of the year candidate.
And there were five all in one day.
The week after, there was another massive one in the Linux kernel.
This is kind of the new normal.
I don't know why everyone picked Cybersecurity Awareness Month, but they did for this.
But this is kind of a taste for the industry of what's been happening inside of the frontier labs and the folks with these vulnerability research teams that are pointing these models at open source software.
The main interesting point and kind of the scary point for all of this is that all of these vulnerabilities, the one that's found in PHP, the one in the compression algorithm Broatly, the one in GitLab, which was actually a vulnerability down in Ruby's regular expression engine that was chained up through GitLab, the product, they had all been discovered months ago.
Some of them even fixed months ago, but no one realized they were software vulnerabilities.
I think the most recent discovery here...
It was actually the PHP one, which was discovered simultaneously by a couple different research groups three months ago.
The GitLab one had been public on Ruby's branch since April.
The Broatly one, similar.
People knew about these for a long time before anybody realized that there were vulnerabilities and before the CVEs got filed for these.
And so if you take a look at this from the Defenders advantage that Anthropic talks about as they launched the Glasswing program and stuff, we need to give people that are trying to patch these libraries a head start before attackers get these same capabilities in their models.
These were all found three plus months ago.
And if the open models are behind the frontier models by some curve, we're already starting to kind of run out of time here for the Defenders to actually get open source patched before people can start finding these and using them to attack companies.
And so I like to use this diagram here to kind of talk through the pace of vulnerability management and where everyone sits in a supply chain historically.
Everyone sits at some point in this.
It's a bunch of different buckets that are all kind of filling up.
And we've kind of had equilibrium here for the last couple of decades.
People are finding vulnerabilities.
They get them patched.
The patches get released, security teams everywhere, grab those patches, rebuild, redeploy your software systems.
All of these have kind of been flowing at the same rate.
Some software is harder to patch than others, depending on how you deploy.
Some is easier.
Sometimes some projects fall behind if the maintainers are overworked, or sometimes the projects even get abandoned.
But when you kind of zoom out and take an ecosystem-specific view of it, things kind of flow through like this.
But unfortunately, as different parts of this start speeding up at different rates, you kind of get this, you know, the future is here, but it's not evenly distributed yet effect, where we're starting to see some bottlenecks and some of these wells filling up a lot faster than others.
And this is sort of where we are today.
If you zoom in here, some of these things start to overflow.
Anthropic on the Glasswing public disclosure site is talking about thousands and thousands that they've found.
And you can see that they've actually stopped looking.
They stopped trying to find more because they realized the bottleneck was actually getting this stuff fixed.
And now it's not actually hard to get this stuff fixed from a technical sense.
These same agents that can find these vulnerabilities can generate pretty good patches for these vulnerabilities.
But these are open source projects.
You having a patch of it on your fork locally doesn't actually help you because you have to get this out and release to the world.
Maintainers might have a different take on how to patch some of this.
There's different trade-offs involved.
Sometimes you can break compatibility.
Sometimes you have to do it a different way to not break compatibility.
So it's not really generating the patch that's the issue.
It's generating a patch that the community and the open source projects accept that takes a while.
Sometimes you can't even find the maintainers.
Sometimes the maintainers' inboxes are so full from all of the slop reports that they've been getting over the last couple of years that they don't bother to read the real ones that are kind of hitting us right now.
And so that first backlog, a couple months ago, I would have said that that first well on the left was the one that was about to overflow, but it overflowed.
We figured out how to get these things reported, and even the ones that projects haven't been able to acknowledge in time.
The vulnerability disclosure window is starting to run out on those, and so they're going to start making their way public.
You're going to start seeing more and more of these getting released, kind of like what happened a couple weeks ago.
That's going to be the new normal, and we're going to start seeing that level of vulnerability.
release almost every single week for the foreseeable future.
We just have to because these wells are going to overflow.
This third one is now the one that has to catch up, and that's kind of where everyone that builds software sits.
This is going to be a pretty violent catch-up because it's not just adjusting to the new state of vulnerability discovery.
It's catching up to three to six months of accelerated vulnerability discovery that just hasn't reached everyone yet.
People here, this is AI native DevCon, people here probably ship pretty quickly.
I've got agents running right now that are probably shipping to production while I'm tabbed away from the terminal.
But not all software can ship that fast.
Critical infrastructure.
There's software running on the Mars rover.
You can't really do continuous integration on the Mars rover in outer space.
The grocery store attacks all over Europe.
You can update firmware in a refrigerator, but you can't do that 50 times a day.
These things are all connected to the Internet.
And as parts of the industry start moving faster and discovering more vulnerabilities, some folks are going to be able to keep up and they're going to be able to ship and they're going to be able to take these patches as fast as they need to.
But other parts are really going to struggle.
And that's where things start to get challenging from an ecosystem perspective.
And so this is what's about to happen here, right?
These dams don't leak.
They're going to start to break.
We can't keep finding and sitting on these vulnerabilities inside of all of the frontier labs forever.
They have to make their way public.
We're also starting to run out of time on the other end as attackers get these same models.
They're getting independently discovered and a lot of these fixes are also sitting in plain sight.
People just don't realize how bad they are until somebody puts a full exploit chain together.
So this is kind of the final graph here of the supply chain itself.
Everyone here sits somewhere in this and you don't really get to pick your spot.
If you ship software, you're somewhere here in the middle because you're depending on other software to ship it.
People are finding vulnerabilities in the software.
They've always been there.
They're not injecting them.
It's not their fault.
But they're finding things that have been around for a decade.
They're reporting them.
Things are getting released.
Other distributions have to pick them up.
Vendors package that into their software.
You have to update all of this.
I call this the human centipede of vulnerability disclosure.
Everyone here is kind of sewn into it in a depressing way.
You don't get to get out of it.
And if you get a nice break for a month or two, you're going to regret that later as the backlog starts to flow.
So breaking this down a little bit more into a nice two-by-two.
There's a lot of stuff that has to change as an industry, and there's a lot of stuff that has to change in the way that we ship software.
So we can kind of look at this from a macro and a micro perspective, what you can do to prepare yourself.
Then also what we have to do as an industry to get off of this treadmill.
And then there's a couple lenses here too, both from security and development.
So we're going to start here with the macro view as an industry.
One of the scariest and most surprising pieces of all of this.
A lot of the vulnerabilities and a lot of the attacks and a lot of the chaining that's happening with the Frontier models when you zoom in is on invisible vulnerabilities.
These are things where projects just refactored stuff away or fixed something that they thought was a bug.
But it turns out that that code was actually vulnerable.
They fixed that vulnerability, but nobody downstream knew that was a vulnerability, so they didn't know they had to upgrade.
A famous example of this is actually kind of like Log4j.
Log4j did not go through a nice private, coordinated disclosure process or anything.
Somebody just pushed a pull request up to fix what they thought was a bug in that repository.
A couple hours later, one of the maintainers realized that that was not just a bug, that was a terrible vulnerability that had just been disclosed by accident, and everyone had to race to fix it.
This kind of thing is happening every single day.
The Linux kernel took a different approach where for every single bug fix in the Linux kernel, they file a CVE because they don't know which ones are vulnerabilities or not, so they just call everything a vulnerability because it kind of is possibly a vulnerability down at that level, depending on how the kernel is configured and what you're running on it.
But most applications don't do this.
They just merge fixes.
They don't really pay attention, and they only disclose things that they actually know about.
So if you look at a couple of the examples from last month, the 10.0 full remote code execution vulnerability in GitLab, that was fixed upstream in Ruby six or eight months prior to anybody noticing that that caused a vulnerability in GitLab.
Because nobody knew that that fixed a vulnerability.
It never actually got shipped into any downstream Ruby release, and GitLab never pulled up the fix.
They would have done that six months ago if they had known.
If you just take any kind of commodity open model, even a bash script, you can look around at project commit history and find things that are likely vulnerabilities that can be chained into larger vulnerability chains without anybody even realizing that they fixed a security bug.
And so if you're sitting downstream of this waiting for patches to come, or waiting for vulnerabilities to get filed before you upgrade, you're just going to fall even further behind.
Most of the exploitable vulnerabilities never have a CVE filed for them.
And the second big one from an industry perspective, the more you dig in here and the more you run Mythos or GBT Cyber or any of these, you realize that some of this old software that we're on is just unpatchable.
You can run one of these frontier models, find 10 vulnerabilities, patch those 10 vulnerabilities, run it again, and find 20 more.
There are just too many unsafe design patterns that are still out there in all of the software we're running today.
get it perfectly right under perfect conditions, maybe you can keep vulnerabilities out.
But most people can't do that.
And we have to start thinking as an industry on how to get rid of these patterns.
This is something that we've done dozens of times as a software industry.
Back in the...
mid to late 2000s, early 2010s, cross-site scripting was everywhere.
If you clicked the wrong link in a Facebook DM, JavaScript could export your entire friend list and spam everyone on your timeline.
These were incredibly hard to get right.
If you wrote any JavaScript, you were probably introducing this by accident.
New frameworks, new technologies in the browser came out, and now these are pretty much a thing of the past.
You don't have to worry about these the same way as you write code today.
Same thing for TLS on the Internet.
Outside of the eMudra certificate incident of that same week with all of these vulnerabilities, you can mostly rely on the green checkbox being set across the browser.
You don't have to worry about going to a Starbucks or a conference and logging on to the Wi-Fi here and somebody sniffing your password in plain text.
And we've invented new technologies time and time again to get rid of entire classes of vulnerabilities.
That's what we have to continue doing here.
There's the meme of rewrite it in Rust, all of this stuff.
But memory safety issues are everywhere.
I can count on one hand the number of C or C++ programs that we've looked at or scanned with our harness that did not actually have any remote code execution or similar bugs inside of it.
It's possible.
It's just so hard that almost no one without superhuman programming abilities can do this.
Multi-factor authentication, all of this.
Phishing attacks basically don't exist anymore with these technologies.
We need to start doing this across all of the code and all of the libraries that we're using.
It's broader than just rewrite it in Rust, though.
There's Java template libraries that are basically just dynamic code execution as a service.
The Python, YAML deserialization, where pickling is basically just running unsafe code.
We have to look forward and think about new technologies that can get rid of these so we're not just patching everything every single day as they keep getting found.
The good news here, though, this isn't all scary.
This stuff is actually kind of fun, if you get it right.
These same AI technologies that are kind of causing us to all panic right now and finding vulnerabilities faster than we can fix them, these same things can be used to upgrade our software.
They can be used to modernize all of these tech stacks.
And not just inside of startups, inside of some of the largest organizations and the most critical infrastructure in the world.
It's the farthest behind.
It has the highest benefit there.
I think AI is probably the best business model ever invented because it's the cause of and solution to all of our problems at this point.
What's slowing all of this down right now is just a lack of focus and a lack of a destination to get to as part of all of this modernization and all of these upgrades.
OpenAI, a bunch of the labs have started these patch the planet initiatives where they're funding maintainers to give away free tokens, free agent tools and everything to start patching these vulnerabilities, which is half of the problem.
We do have to do that, but we also have to start thinking about what new libraries look like, what new frameworks look like, and how to migrate to them.
Because these same technologies that are used for all of this can also be used to do the upgrades, right?
So as a piece of advice for everyone when we start to look at the micro view, the best thing anybody can do right now is just start upgrading all of the software that you have.
It's going to get you closer to the edge.
It's going to get you past all of the silent vulnerabilities that are getting found every day and not really reported.
And at the same time, it's getting you new features.
It's getting better performance.
All of these libraries are moving fast.
If you're staying on older ones and hoping for LTS releases to backport vulnerability fixes, you're giving up years of development, years of feature work in those projects, too.
And you're going to have to upgrade them someday, so why not today?
That's kind of the moral of that story.
Like I mentioned before, it's not all scary, right?
This stuff can be fun, and it's going to be exciting once we figure out how to do it and we get everyone starting to move at machine speed.
Once everyone's doing that together, I think software is going to be a lot better.
The industry is going to be a lot more fun, and we're going to be doing a lot more.
We're all going to be shipping a lot more.
Like this quote, right?
You know, Linus Torvalds, the maintainer of the Linux kernel, on his battle cry to kernel maintainers everywhere is that we never break user space.
And that makes sense down at that level of the stack.
But just imagine you and your users, if you could ship software without having to worry about a decade of backwards compatibility issues.
I think that's what we're going to get to, machine-readable change logs, where agents can take every one of those breaking changes without people having to worry about it.
We've done a bunch of experiments here.
Agents are great at doing these upgrades.
If you're on a nine-year-old version of some framework and ask the agent to do it all in one shot, it's probably going to make a mistake.
But you wouldn't do that.
You would ask the agent to do every single dot upgrade by itself over weeks and then come back at the end.
That's something an agent can do that a person would never do.
People would just put this off until they absolutely have to because the project goes end of life.
And then probably just throw the thing out and rewrite it instead of actually ever doing this upgrade.
But if you start thinking about this in smaller pieces, agents do an incredible job at this.
We also prototyped a bunch of this ourselves.
We've got a Java template library for generating HTML that we built in a couple weekends just with tokens.
This gets rid of every class of vulnerability in every Java template library that we could find.
It's completely backwards incompatible, though.
There's no way to click a single button to migrate to this.
That was a benchmark that we set up.
How fast can a Claude Sonnet 5 class agent with a single prompt of migrate me to this do it without breaking anything?
It's not hard.
This is kind of the pill that everyone stuck on these old frameworks is going to have to swallow.
You can't stay on Spring Boot 2 for the next 10 years and hope that you're going to get enough backports to keep yourself secure.
So you're just going to have to figure out how to get agents to do all this migration work for you.
Here are some of the stats.
Most apps could be migrated for $9.
The most expensive, cruftiest Java app that we could find on GitHub got migrated to this throwaway, completely incompatible library and fixed hundreds of vulnerabilities for $35, which is a lot of Sonnet 5 tokens, but it was still a lot cheaper than somebody doing this themselves over a couple days.
So to take this away, and to leave it, this is going to be a lot of change coming at everyone very quickly.
The only way out is actually it's going to be to upgrade faster, get used to upgrading, and then start to think about better software components that you can use without having to worry about these backwards compatibility guarantees anymore.
Three months ago, this would have sounded crazy.
Today, it's definitely doable.
Three months from now, it's going to be even better.
So, yeah, this is probably the most exciting time to be in software in my career because we can start to think bigger.
In addition to patching the planet, we can figure out whole new frameworks, new operating systems, new libraries that aren't just more secure, they're faster and better and more fun at the same time.
So I'll leave it here.
It's for everyone.
Start upgrading everything now.
You're going to have to do it.
Don't wait until there's a vulnerability on Hacker News telling you that you have to today.
Plan it around your own schedule instead.
And start thinking about what it looks like to rebuild the planet.
What programming languages would be around?
What libraries?
What frameworks?
What do you want to exist that doesn't exist yet?
Because you can start to do that now.
We can all think a lot bigger and bolder.
And if you get all this right, you can put all of your tokens into shipping your own product instead of patching vulnerabilities and upgrading everything every day.
I think we have a bunch of time for questions now.
We have a microphone.
What's that?
How much time do we have?
Perfect.
It's small enough.
You can probably just talk.
Where are you at on recommending a cool-down on an update to a library?
Obviously, if everyone does it, it's no good for anybody.
What's the practical takeaway?
And then as a follow-up, how often are you recommending that people rebuild just the tiny part of the library that they're doing in-house instead of exposing themselves surface area-wise to a larger charting library, remote code execution?
So two questions there.
The first was cool-down periods, which is a common tactic for kind of waiting out the malware attacks that are also happening at the same time.
Security teams are in a tough spot right now where you have to be ready to upgrade for zero days every single day, but also if you upgrade, there might be malware in the thing that you're grabbing.
Cool-down periods can work.
It kind of depends how long you want to wait, but at the same time, you could also be sitting on known vulnerabilities that you have to grab.
It can work fine, but you then end up in the position of reviewing all of that stuff, too, to allow things through if you do need to get one of these critical patches through.
So it's important.
A lot of people are doing it.
GitHub has built-in features.
PyPI and Pip just added one.
I've heard seven days.
Some people are doing 14 days.
That's the trade-off you have to make.
How long do you want to wait versus how long or how fast do you actually have to patch?
It starts to get really hard when you're cherry-picking.
Don't take anything except for this one, but that one has transitive dependencies that are also newer.
So it's more complicated than it sounds at first.
The second one was what about just forking and copying parts of a library that you need rather than the entire thing.
Again, it's hit or miss.
There are some kitchen sink frameworks where you want one function and you pull in a million of them at the same time.
The other side of it is the JavaScript ecosystem where there are entire libraries that are just one function.
You can copy that stuff yourself, but then you're on the hook for maintaining it.
You're going to lose all the metadata about knowing where the vulnerabilities are.
If there is one in that library and you forked it and renamed it and you only have a part of it, you're losing all of the machine-readable metadata that would tell you whether that's in the part that you forked and forgot about.
I know Mitchell Hashimoto is a big fan of that approach and stuff and keeps promoting it.
I wouldn't recommend it.
It's too scary.
It's too hard.
You're going to end up maintaining more code than you realize.
Yeah, most languages already have decent enough tooling where you're not pulling every single thing into your library.
It's only pulling in the things that you actually need at the end of the day.
Hey, yeah, I want to kind of build on that because there was a talk earlier today from Jeff Huntley.
I was looking around to see if he was here.
That was basically like, stop using anyone else's dependencies.
And it's, I mean, I get that we don't know the answer right now, right?
Both of those things.
But I think the metadata piece of like...
now I don't even know that I copied something or like I got the agent to build something.
So, you know, a lot of work, I guess that's just a comment on that one.
A lot of work has gone in recently to, you know, are we actually using this part of the library?
Do we need to make an update?
You know, and it sounds like you're advocating just keep everything up to date because that's actually the easiest way to manage it.
Is there, this is going to be the most ridiculous question, but now that I got to it.
How do you manage that with auditors, GRC?
The kinds of people that are driving these decisions tend to be 10 years plus outdated in the way that they think about them.
So what kind of advice do you have for managing not the actual security, which I totally get, but the process around that and the process of working with your customers and that sort of thing?
Yeah, I'd love to go have some debate over beers with Jeff on that one.
I don't think everyone should be rewriting all of their dependencies, right?
I know you can sometimes, it's fun.
But I don't think we're ever going to get to a world, or at least that's a terrible thing to say in today's world.
I don't think in the next 18 months we're going to get to a world where even AI is writing perfect software.
And I'll back that up a little bit.
Opus 5.5 today is writing better software than most engineers, almost every engineer.
But the gaps and the bugs come in between the sessions.
When you look at model performance, it's getting better and better every day, but the context windows aren't getting any longer.
We've been at kind of the 400K, 1 million token context window for the last couple of years.
I'm not a hardware expert, but I think that's a harder needle to move than the model performance itself.
And until you can get to a spot where you can load your entire program into the context window, I don't see how you avoid those seams and the gaps.
And, you know, I ran it today.
It was perfect code.
I added a feature tomorrow.
It didn't have the entire context in there.
And now the vulnerability or the bugs show up in those gaps and those seams.
So I think we're still in a world of Venus's old law, many eyes make all bugs shallow.
I think we'll all be better if everyone is pointing their agents at one thing rather than everybody ignoring them and building their own versions.
I do think open source will probably change a little bit, though.
You're not going to Vibecode a database.
You're not going to build your own Nginx or proxy or any of these security critical libraries.
That stuff becomes even more important, and you can build better ones and make them even better and faster if everybody's collaborating on those things together.
The stuff in the middle, the ORMs and all of these frameworks that you pull in because everyone else is, but you end up fighting against them half the time anyway.
Agents are great at writing SQL.
You don't need an ORM anymore to help you write SQL.
I think a lot of those things in the middle are going to become less important, and you're probably better off just doing some of that stuff raw rather than building your own ORM or something like that.
Your second question.
I forgot it now.
Sorry.
I rambled.
Oh, yeah.
for the most part, they love seeing no vulnerabilities.
The CV accounts for a while are kind of garbage and made up anyway, but nothing makes them happier than seeing a zero there.
So for the most part, there's not really a lot of friction.
They kind of like it.
It depends what industry you're in.
They're like, if you still have change review boards and stuff like this, or a bunch of execs in a room have to decide whether it's okay to upgrade that thing, you probably have to go solve that culturally.
And that's what you're going to have to do to start moving at machine speed as well.
Yeah.
In the back.
And tell people that, you know, updating their software is a thing.
And it's even ironic, you know, when you see governments still running PHP, especially the old PHP, like, why?
Why are you there?
Do you think maybe it's like a cultural thing and we finally need to start doing what we were, like, supposed to be doing for the last 15 years since AI allows us?
Yeah, I think it's both sides there.
The question is, why do we have to give this talk about upgrading?
It's the most boring thing in the world.
It's depressing.
The amount of customers I had to talk to that were begging for backported PHP vulnerability fixes to stuff like PHP 5, you can do it.
But if you're still running PHP 5, there's at least 30 other even worse vulnerabilities that have been known for the last decade that you somehow didn't.
bother worrying about.
You're just worried about this one because it was in the news, which is a terrible way to do security and risk management.
But I think it's the same thing you talked about.
Upgrading is hard.
It's scary.
If you upgrade stuff, it might break.
But what's great at doing these upgrades and looking at every single line and making sure you didn't miss any of these steps, it's AI.
The same organizations that haven't upgraded are also probably the slowest to start adopting these tools, which is where the friction starts to come in.
But I think the cause of insolution to all of our problems, I guess, is kind of to sum it up.
All the way in the back.
Thoughts on the EU Cyber Resiliency Act?
Yeah, it's very long.
And a lot of it is still to be determined how it's going to play out, right?
You know, it's not as bad as it looked like it was going to be from an open source perspective.
Some of the first couple drafts were...
There was just a fundamental misunderstanding of how open source works and how open source licenses work.
Some of the first couple drafts actually put legal liability on open source maintainers, whether or not they have any commercial relationship with the people using it.
If you put something up on GitHub, some bank in Europe uses it and gets hacked, it's your fault somehow.
That's been softened.
It hasn't been completely removed.
I think it's going to take a couple examples and actual judges to decide how to actually apply it in some of these cases.
But for the most part, it's getting people to pay attention to what's in their software, which is a good thing.
Thank you, everyone.
Dan, thanks for coming on and both to give the talk and for this podcast and for, in general, the good work you do to help secure open source.
Yeah, thanks for having me.
It's been a great conference.
And for everyone listening, if you liked Dan's talk and this conversation, you can check out many other great talks on aidevcon.io.
You can register to a virtual conference of this conference that is now finished, but that would give you access to many great talks so you can learn.
And I hope you join us for the next podcast.
The AI Native Dev is brought to you by TESL, the package manager for skills and context.
Your hosts are Guy Pajani and me, Simon Maple.
Our producer is Tom Dowler.
The AI Native Dev is not just a podcast, it's a community, and we host monthly meetups at the TESL offices in central London.
Visit tesl.io forward slash community to learn more, and I hope to see you there.
