TRANSCRIPTIE 🔗
WEBVTT
00:00:00.000 --> 00:00:02.000
The most famous one that did was probably PHP to shell.
00:00:02.080 --> 00:00:02.959
We can kind of get into that one.
00:00:03.120 --> 00:00:05.599
It went back 10 years and there was like zero mitigation available.
00:00:05.759 --> 00:00:08.160
We have frontier models and do our own research and stuff like that.
00:00:08.400 --> 00:00:10.640
Let's you know see if we can find a vulnerability in PHP.
00:00:10.720 --> 00:00:12.320
And within four hours, found the exact same thing.
00:00:12.480 --> 00:00:16.079
Cloudflare, a bunch of the others, uh started seeing actual attack traffic happen.
00:00:16.239 --> 00:00:18.399
We made a call to ship the fix to get it out there.
00:00:18.559 --> 00:00:20.960
The maintainers weren't happy with our decision to ship them early.
00:00:21.039 --> 00:00:25.839
It's just the nature of if you tell 100 people it's going to leak, probably 19 times.
00:00:26.239 --> 00:00:29.440
And uh it really just means you have to do this all very quickly.
00:00:30.640 --> 00:00:37.280
The AI Native Dev is a podcast with developers and engineering leads at the cutting edge of AI and agentic coding.
00:00:37.520 --> 00:00:47.359
Join your hosts, Guy Fajani, and me, Simon Maple, every week as we chat with the most exciting voices in AI and tackle the biggest questions we're facing developers today.
00:00:48.240 --> 00:00:50.399
This is the AI Native Dev.
00:00:54.560 --> 00:00:57.200
AI DevCon is coming back to London.
00:00:57.439 --> 00:00:59.600
Our first London event sold out in June.
00:00:59.759 --> 00:01:11.359
After our second New York event this November, we're heading back to the brewery Moorgate in 2027 with a bigger lineup and two full days of talks from the people actually building with agents.
00:01:11.680 --> 00:01:21.280
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.
00:01:21.439 --> 00:01:23.040
It's on June 7th and 8th.
00:01:23.120 --> 00:01:26.000
And don't tell anyone, but we've got a really great deal for you.
00:01:26.159 --> 00:01:29.760
Scan this QR code to grab an early bird ticket for just£100.
00:01:30.480 --> 00:01:31.760
See you in London.
00:01:35.280 --> 00:01:38.719
Hello everyone, welcome back to the AI Native Dev podcast.
00:01:38.799 --> 00:01:48.640
Uh today we're going to talk about this topic that was a little bit in the news, which is uh open source security vulnerabilities and PHP to Shell and various others.
00:01:48.719 --> 00:01:55.200
Uh and we really have one of the sort of the top people to talk about this domain on it, which is Dan Lawrence, who's the founder and CEO of ChainGuard.
00:01:55.280 --> 00:01:56.239
Thanks, Dan, for coming on.
00:01:56.480 --> 00:01:56.640
Thanks
00:01:56.640 --> 00:01:57.439
for having me at the conference.
00:01:57.599 --> 00:01:58.400
Thanks for having me on.
00:01:58.640 --> 00:02:02.879
Uh
Load full transcript
and indeed uh we are recording this at the AI DevCon uh event on it.
00:02:02.959 --> 00:02:11.199
So if you hear some clapping and cheering and such uh from uh from outside, uh, as I think I mentioned in a previous episode, this is just common occurrence here uh in DevCon.
00:02:11.439 --> 00:02:13.039
So come check out the next one.
00:02:13.199 --> 00:02:18.319
Um let's sort of start by just explaining a little bit this sort of reality, right?
00:02:18.400 --> 00:02:20.879
Like October has been dubbed Black October.
00:02:21.039 --> 00:02:25.759
Uh a lot of security people have all these memes going on around not sleeping for the entire month on it.
00:02:25.919 --> 00:02:33.199
Uh maybe catch us up a little bit of like what has been happening in the last uh it's probably more than a month, but notably the last few weeks.
00:02:33.680 --> 00:02:47.759
Yeah, uh 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 and software came out.
00:02:47.919 --> 00:02:51.919
Um, Anthropic quickly realized it wasn't safe to just give this to anyone.
00:02:52.000 --> 00:02:54.159
Um, they started limited release programs.
00:02:54.319 --> 00:02:56.240
Uh, OpenAI did something similar.
00:02:56.319 --> 00:02:59.280
Um, and you know, they gave these out to try to create a defender's advantage.
00:02:59.360 --> 00:03:08.000
You know, they gave it to um you know 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
00:03:08.000 --> 00:03:08.000
them.
00:03:08.479 --> 00:03:13.439
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.
00:03:13.759 --> 00:03:14.240
Who gets it?
00:03:14.319 --> 00:03:15.599
And then also, is this thing even real?
00:03:15.680 --> 00:03:18.159
Is this like the world's best marketing stunt before an IPO, right?
00:03:18.400 --> 00:03:19.840
I mean, you still see some of that.
00:03:20.000 --> 00:03:39.039
Um and you know, it I think what what happened in October to kind of summarize it in short, was uh the vulnerabilities that they had found months and months ago are 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.
00:03:39.199 --> 00:03:42.319
Like um, that's that stream is starting to flow.
00:03:42.479 --> 00:03:56.000
Um, and so yeah, at Black October, there was one week where there were five at least um you know vulnerabilities that each would have been a vulnerability of a year, like with a Wikipedia page and a uh marketing campaign around it, and they all happened in one day.
00:03:56.080 --> 00:04:00.639
And people didn't even realize there were that many because each one of them was so big in its own regard.
00:04:00.800 --> 00:04:00.960
Yeah.
00:04:01.039 --> 00:04:06.159
Um, maybe let's uh tell a few of these stories on it because actually like each of them is like a little bit of a novel on it.
00:04:06.240 --> 00:04:11.280
It's uh you can write like a little a little um kind of books, short story collection a little bit for each one of these things.
00:04:11.680 --> 00:04:14.159
Yeah, the the most famous one that did was probably PHP to shell.
00:04:14.240 --> 00:04:15.280
We can kind of get into that one.
00:04:15.439 --> 00:04:19.279
Um uh which was it was a zero day in PHP a programming language.
00:04:19.360 --> 00:04:23.199
Um it went back 10 years and there was like zero mitigation available, so pretty bad.
00:04:23.279 --> 00:04:26.399
Um but I wouldn't even put it in the top three that day in what actually came out.
00:04:26.480 --> 00:04:29.040
It just kind of got the most marketing kind of around it.
00:04:29.120 --> 00:04:34.800
Um there's another one in Broatly, which is an uh compression algorithm used, uh I think Google made it.
00:04:34.879 --> 00:04:37.839
It's used for HTTP, faster compression that way.
00:04:38.079 --> 00:04:39.439
Um there's another one in
00:04:40.000 --> 00:04:48.959
Broatly is like uh just to contrast a little bit, like PHP, kind of ancient software powers like WordPress, Drupal, like in all the sort of the CMS.
00:04:49.199 --> 00:04:54.639
Yeah, but it's but it's it's sort of the it's the slow moving 60% of the internet, and oftentimes the sort of SMB.
00:04:54.879 --> 00:04:56.079
Broatly almost the opposite.
00:04:56.160 --> 00:05:00.160
It's sort of like a modern day compression algorithm.
00:05:00.720 --> 00:05:01.439
Like a few years old.
00:05:01.519 --> 00:05:03.120
I remember when it came out, you know, the uh
00:05:03.600 --> 00:05:10.240
Yeah, and this was just a basic memory safety issue in Broatly that can lead to remote code execution again, kind of the worst case scenario.
00:05:10.399 --> 00:05:18.800
Um then there was uh 10.0 in GitLab, um going back 10 years as well, a vulnerability in GitLab that could lead again to full remote code execution.
00:05:18.959 --> 00:05:26.000
Um that one was an interesting one because it wasn't really in GitLab, it was in uh the regular expression engine inside of Ruby, which GitLab runs.
00:05:26.319 --> 00:05:37.040
And so it was kind of one of these examples of a chained attack where somebody pointing at GitLab uh could build a whole exploit chain down into a C component inside of the programming language interpreter that GitLab was using.
00:05:37.279 --> 00:05:39.040
Um affected a lot more than GitLab.
00:05:39.120 --> 00:05:43.839
The process around disclosing that hasn't really gone very well, so a lot of people still don't even know to upgrade.
00:05:43.920 --> 00:05:44.240
Yeah.
00:05:44.399 --> 00:05:44.560
Um
00:05:44.639 --> 00:05:52.560
then there was 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.
00:05:52.639 --> 00:05:55.600
Um you know, it's it was kind of overwhelming that day, all of these things that came out.
00:05:55.680 --> 00:05:57.120
There was a like Was that also a mythos
00:05:57.279 --> 00:05:58.959
one, or was that just happened to be disclosed in the system?
00:05:59.199 --> 00:05:59.519
I don't know.
00:05:59.680 --> 00:06:02.560
Uh somebody tried to brute force you know elliptic curve cryptography.
00:06:02.639 --> 00:06:06.879
I don't know why you would try that, it doesn't work, but like it just stopped right away and was like, we got it, we guessed the key.
00:06:06.959 --> 00:06:07.920
It was it was just four.
00:06:08.000 --> 00:06:10.639
If like if you're counting up naively, um they got it.
00:06:10.720 --> 00:06:13.360
Um I don't maybe it was a frontier model or something.
00:06:13.519 --> 00:06:16.480
Uh but yeah, and then there was light LLM malware attack that day.
00:06:16.560 --> 00:06:18.639
There's been Linux kernel RCs every week.
00:06:18.720 --> 00:06:19.600
It was kind of overwhelming.
00:06:19.680 --> 00:06:24.319
Um there was a pretty good meme summarizing it, and it was just like the hey, um, is the number four a lot?
00:06:24.399 --> 00:06:25.600
And it was it it depends.
00:06:25.680 --> 00:06:27.839
Um, vulnerabilities in PHP, yes.
00:06:28.720 --> 00:06:30.079
Bytes in a secret key?
00:06:30.240 --> 00:06:30.480
No.
00:06:30.959 --> 00:06:31.120
Yeah.
00:06:31.360 --> 00:06:31.759
Uh yeah.
00:06:31.839 --> 00:06:34.560
Um just the breadth of it kind of spanned pretty much all software.
00:06:34.639 --> 00:06:36.959
Um, every security team everywhere needed a hug that day.
00:06:37.439 --> 00:06:48.560
And just to kind of highlight a bit the pain that this inflicts on it, like these vulnerabilities come along and uh they they've been detected, but they've been around for many, many years.
00:06:48.800 --> 00:06:51.360
And so they're kind of prevalent across your estate.
00:06:51.519 --> 00:07:04.399
So most organizations really have anywhere between terrible and mediocre uh understanding of which uh what software is running in their system, let alone componentry and versioning and all that.
00:07:04.480 --> 00:07:13.839
So, you know, we've been sort of preaching both sort of Sneak and Chainguard and and others have been sort of preaching open source security for for quite a while, over a decade, but it it's sort of it's still like it's a work in progress.
00:07:14.000 --> 00:07:23.120
And many of the many of these organizations are not uh uh necessarily at the top of their sophistication, right, in terms of tech sophistication.
00:07:23.279 --> 00:07:29.360
And and these are uh they're also like very easily exploited uh vulnerabilities.
00:07:29.519 --> 00:07:32.560
They're like once you know the pattern,
you can just sort of run them.
00:07:32.639 --> 00:07:40.959
And so the result of that is is a bit of a mass hysteria inside an organization to find out are we running this piece of software?
00:07:41.120 --> 00:07:44.800
And when that this piece of software becomes these pieces of software,
00:07:44.959 --> 00:07:45.519
yeah, you
00:07:45.519 --> 00:07:47.439
start things start to compound, yeah.
00:07:47.519 --> 00:07:47.680
Right?
00:07:48.160 --> 00:07:49.680
Yeah, and they're all very different, right?
00:07:49.759 --> 00:07:59.120
You know, Broatly was challenging for a lot of organizations because um it's a single C file that you know, C doesn't really have a package manager the same way a lot of other languages do.
00:07:59.279 --> 00:08:06.879
And you can pull it in and you can use kind of C make systems and stuff like that, but for the most part, there wasn't like an NPM lock file you could just run to upgrade.
00:08:07.199 --> 00:08:12.160
And in fact, a lot of organizations and other open source projects just copied it into their source code, they vendored it in.
00:08:12.240 --> 00:08:19.680
And so when 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.
00:08:19.839 --> 00:08:20.000
Right.
00:08:20.160 --> 00:08:24.160
Um and so it kind of bypassed and evaded almost every SCA tool out there.
00:08:24.240 --> 00:08:25.199
Maybe Sneak would have found it.
00:08:25.279 --> 00:08:26.000
Um but I don't know.
00:08:26.160 --> 00:08:27.439
Uh yeah, it was very challenging.
00:08:27.519 --> 00:08:33.919
Um propagated by copy paste rather than um real lock files and normal dependency best practices.
00:08:34.159 --> 00:08:34.559
Yep.
00:08:35.279 --> 00:08:36.080
It's a challenge.
00:08:36.320 --> 00:08:37.200
It's it's a challenge.
00:08:37.440 --> 00:08:46.320
So so so this is all in the world of like supply chain security or software supply chain security uh and tracking it out or tracking down.
00:08:46.720 --> 00:08:54.320
Just before we we talk about sort of practices and all of those, uh, there's yet another compounding factor over here, which is sort of the speed of attack.
00:08:54.399 --> 00:08:54.799
Yeah, right.
00:08:54.879 --> 00:08:55.919
So what we've also seen, I
00:08:55.919 --> 00:08:55.919
know
00:08:56.000 --> 00:08:58.399
with PHP to shell, we've seen some stats on it.
00:08:58.480 --> 00:09:11.600
Uh on just basically within a couple of hours, attacks start getting close to like millions, you know, of uh don't know if this is like this is a cloud for a 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.
00:09:12.000 --> 00:09:21.600
Yeah, it's nation states doing nation-state things and uh you know, probing, finding uh spots that are running the vulnerable version, and then picking their targets and hitting them.
00:09:22.000 --> 00:09:37.679
Um the US government, there's just a disclosure, 25 you know, um 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 uh firewall or something like that, ironically.
00:09:37.919 --> 00:09:40.159
The management console was running PHP.
00:09:40.320 --> 00:09:42.720
Uh and so it was like a three-layer chain.
00:09:43.039 --> 00:09:47.120
Security vendors are not assumed to uh to uh to having vulnerabilities.
00:09:47.440 --> 00:09:47.679
Yeah.
00:09:47.759 --> 00:09:51.039
Um yeah, so like uh this has been a trend forever, though.
00:09:51.279 --> 00:09:56.480
Not forever, but I'd say for the last 12 to 18 months, the the time to exploit has kind of fallen negative.
00:09:56.559 --> 00:10:02.639
Uh it's gotten too easy to find things and exploit them before the CV system can even keep up.
00:10:02.799 --> 00:10:03.039
Um
00:10:04.159 --> 00:10:07.840
so maybe let's talk a little bit about you know this sort of like uh formal recognition.
00:10:08.080 --> 00:10:21.360
First, just to clarify, so like you were saying that these are kind of downstream from like six months ago, Mythos uh and maybe later sort of OpenAI cyber model started finding these vulnerabilities on it, and we're sort of seeing the disclosure waves you know start coming along.
00:10:21.440 --> 00:10:27.360
So I guess in your view, there's another, there's basically a backlog of disclosures that is just waiting to come down.
00:10:27.600 --> 00:10:28.080
Yes.
00:10:28.320 --> 00:10:30.480
Um we're sitting on hundreds ourselves.
00:10:30.720 --> 00:10:39.039
I we're working with the Acritis Foundation and side of the Linux Foundation, where we're trying to like coordinate and get an orderly process upstream.
00:10:39.120 --> 00:10:46.559
Um, 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.
00:10:46.639 --> 00:10:56.879
Um anybody that wanted a bug bounty or a CV for their resume or some t-shirt uh was just opening up models saying find vulnerabilities and then emailing people directly and like without any real knowledge.
00:10:57.039 --> 00:11:02.639
Uh and it kind of DDoSed the normal open source maintainer and vulnerability reporting process.
00:11:02.799 --> 00:11:11.679
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.
00:11:11.840 --> 00:11:14.720
And it's uh it's very hard to swing that pendulum back.
00:11:15.039 --> 00:11:26.159
And it didn't start from a very kind of healthy situation, like open source maintainers were already, you know, like uh underpaid or not paid on it and sort of exhausted and you know, definitely swallowing in noise uh in a second.
00:11:26.480 --> 00:11:29.600
And it's not even just the single
maintainers that are running into this.
00:11:29.679 --> 00:11:33.679
Like Google just shut off their open source bug bounty program for their own open source projects.
00:11:33.759 --> 00:11:33.840
Yeah.
00:11:33.919 --> 00:11:36.879
They were just getting too much crap sent in to deal with every single day.
00:11:37.039 --> 00:11:39.759
Um, and that was just recently as a month ago.
00:11:39.840 --> 00:11:44.720
So even with effective models at finding things, the volume is still too much for them to keep up with.
00:11:45.440 --> 00:11:50.000
So let's maybe talk a little bit about the mechanisms to deal with uh with this today, right?
00:11:50.080 --> 00:11:57.679
Like, you know, today so so the the the fact that there are open source vulnerabilities is not new uh and that there's a disclosure process around them.
00:11:57.840 --> 00:12:06.240
But the processes around that have been um, you know, like I guess they've been built for sort of a smaller uh or slower flow of those.
00:12:06.399 --> 00:12:09.200
Uh maybe can describe a little bit about how it works today.
00:12:09.519 --> 00:12:11.200
Yeah, there's no single answer for how it works.
00:12:11.279 --> 00:12:12.480
Every project does things differently.
00:12:12.559 --> 00:12:20.000
Some have a process, some don't, some do things in public, some use a portal like Hacker One or something like that to deal with intake of vulnerability reports.
00:12:20.080 --> 00:12:21.279
So it all really varies.
00:12:21.600 --> 00:12:34.720
Um but the typical flow is somebody's a researcher is looking at a project, finds a vulnerability inside of it, uh, 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.
00:12:34.879 --> 00:12:35.039
Right.
00:12:35.360 --> 00:12:37.759
Um and you try to contact them privately.
00:12:37.919 --> 00:12:43.120
Um sometimes they'll have a uh mailing list, sometimes they have a portal like Hacker One or something like that.
00:12:43.519 --> 00:12:50.639
There's some capability that I've been building like uh GitHub as I think or like a security disclosure piece uh to it, Linux Foundation at some point.
00:12:50.720 --> 00:12:53.759
I think it never really took off, but they tried to build a portal around those.
00:12:54.320 --> 00:12:56.559
And so you try to let them know privately.
00:12:56.720 --> 00:12:59.360
Um and uh that doesn't always work.
00:12:59.440 --> 00:13:09.600
Um and I think that's sort of the backlog people are seeing today on the classwing transparency tracker where they say they found 10,000 and they managed to actually disclose maybe about 300 of them upstream.
00:13:09.759 --> 00:13:14.799
Um it's just hard to find way through the noise, even get email addresses or tell if a project is still healthy.
00:13:15.200 --> 00:13:22.559
Um 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.
00:13:22.799 --> 00:13:31.039
Um and then uh at some point they'll get that uh out into the project, they'll get it out into a release, uh, and then users know to upgrade.
00:13:31.120 --> 00:13:35.200
Um depending on where the software sits, that second half can be a lot longer and more complicated.
00:13:35.279 --> 00:13:42.080
Um the Linux kernel in particular, if they just because they release a patch on the Linux kernel git repo doesn't mean anyone is protected.
00:13:42.159 --> 00:13:48.159
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.
00:13:48.320 --> 00:13:59.440
So they can try to do more in private and let uh you know 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.
00:13:59.840 --> 00:14:00.080
Right.
00:14:00.240 --> 00:14:02.960
And and and that gap is important to highlight, right?
00:14:03.039 --> 00:14:08.720
Because it's um once you release, like you might naively think, okay, just fix a vulnerability and release the update.
00:14:08.879 --> 00:14:20.480
But it is like 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.
00:14:20.639 --> 00:14:32.559
And so because the update mechanism, you know, by default, people don't update as soon as it releases, there's indeed a cascade, there's also just like a change management process within the enterprises, they need to be alerted to the fact that there is a vulnerability.
00:14:32.639 --> 00:14:34.159
And so that's the cat and mouse.
00:14:34.320 --> 00:14:46.559
Like I release a vulnerability or I alert people to uh to the existence of vulnerability some period of time and then the patch becomes available, or I can I make the patch available to them secretly.
00:14:46.879 --> 00:14:47.120
Yeah.
00:14:47.360 --> 00:14:50.480
And now that whole timeline is compressing and in some ways inverting, right?
00:14:50.559 --> 00:14:55.039
Because when you disclose the vulnerability, you're not putting it there, you're telling people it was there, right?
00:14:55.120 --> 00:14:59.679
Um it's always been there, and uh other people can go around and look and find these things too.
00:14:59.840 --> 00:15:05.840
And so there's kind of this assumption that if you found it, there's some likelihood someone else already found it too.
00:15:06.000 --> 00:15:15.360
Um 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.
00:15:15.679 --> 00:15:20.559
Um, and so
that time that you have uh as the only one that knows about it is also limited.
00:15:20.639 --> 00:15:24.399
Um, and that's you know, maybe in the past 30 days was acceptable.
00:15:24.559 --> 00:15:26.159
Today it's less likely, right?
00:15:26.480 --> 00:15:32.159
Um there's also this weird phenomenon uh about um uh independent discovery.
00:15:32.320 --> 00:15:37.279
Uh it's kind of unexplainable, it's this like weird magical thing in the universe, but um, it happens all the time.
00:15:37.519 --> 00:15:42.799
Um if you go back to Harplead, like two completely unrelated groups found Harplead within three days of each other, even
00:15:42.879 --> 00:15:43.759
though it was there for years or something.
00:15:43.840 --> 00:15:44.320
It's been there
00:15:44.320 --> 00:15:47.919
a decade, and like nobody found it, and then all of a sudden two people that had never met found it.
00:15:48.080 --> 00:15:49.840
Um it's weird, it's magical.
00:15:50.159 --> 00:15:52.799
Um the same thing happened with PHP2 shell, right?
00:15:52.879 --> 00:15:56.799
Um uh Caliph uh is a great red teaming company.
00:15:56.879 --> 00:15:58.240
They do a bunch of security research.
00:15:58.320 --> 00:16:00.080
They they're the ones that found this first.
00:16:00.320 --> 00:16:04.320
The OpenAI team found it two or three days later, completely without contacting each other.
00:16:04.480 --> 00:16:10.159
And then Wiz researchers found it a couple weeks after that, all completely independently for a vulnerability that's been around for a decade.
00:16:10.559 --> 00:16:13.039
Today it might have to do with the model's capabilities, right?
00:16:13.200 --> 00:16:18.320
Like today it might be that basically we're all getting these tools that are available to us in uh in a pre-minute.
00:16:18.399 --> 00:16:18.480
Yeah.
00:16:18.879 --> 00:16:22.240
And it it showed a couple other, I guess, depressing things about the way this works.
00:16:22.320 --> 00:16:29.600
Um, the Caliph researchers knew about this vulnerability, but didn't quite know how bad it was back in 2024.
00:16:29.759 --> 00:16:35.360
They they found this bug, they knew there was like a use after free kind of thing in this one area of the code base.
00:16:35.600 --> 00:16:41.440
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.
00:16:41.519 --> 00:16:47.600
Yeah, 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.
00:16:47.840 --> 00:17:05.920
And then that's where the models came in, where you know 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 or scare the
um the attention span.
00:17:06.079 --> 00:17:08.960
Uh but now that's where agents can turn things into exploits.
00:17:09.039 --> 00:17:25.519
And so there's a lot of uh a lot of these everywhere, these use after freeze, these basic memory safety issues where uh a person maybe could in six months and uh they just haven't yet, to now anybody with a frontier model can and just sort of run around.
00:17:26.079 --> 00:17:26.640
Create the exploits.
00:17:26.880 --> 00:17:34.640
So it's kind of like it's elevating the uh 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.
00:17:34.880 --> 00:17:40.319
Now every one of these findings is potentially a you know 9.6 CVSS uh vulnerability.
00:17:40.720 --> 00:17:41.359
Max severity.
00:17:41.599 --> 00:17:44.319
It's people aren't even reporting them to projects unless it's RCE now.
00:17:44.400 --> 00:17:49.039
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.
00:17:49.759 --> 00:18:07.680
It's so so I want to dig maybe a little bit into the sort of disclosure uh exercise because um like this is something that you know even at like at SNC we we dealt with a fair bit, which is you know, you have a research team, you you find vulnerabilities, this is even pre-LLMs, and you now kind of have a question about who do you tell that.
00:18:07.920 --> 00:18:16.319
You want to tell the good the good guys, you know, like uh you want to tell them first, uh, but that um the more people you tell, the more likely it is to leak.
00:18:16.480 --> 00:18:21.519
And so you find yourself in this in this kind of conundrum, which is you know, who's on the list, right?
00:18:21.759 --> 00:18:22.640
Who's on their good list?
00:18:22.880 --> 00:18:27.119
You know, when you're a vendor, maybe it's a little bit of uh, well, it's your top customers.
00:18:27.279 --> 00:18:33.519
I don't know, like it's also tricky when you're a vendor, uh, but when you're when you're not a vendor, when you're sort of open source, even more tricky.
00:18:33.680 --> 00:18:38.000
And so today that is it's fairly kind of oddly managed, right?
00:18:38.160 --> 00:18:44.240
Today, who gets told about a vulnerability ahead of time and how does that get disclosed?
00:18:44.559 --> 00:18:44.720
Um
00:18:45.359 --> 00:18:47.519
yeah, again, there's no real standard playbook here.
00:18:47.680 --> 00:18:50.799
Um some projects just don't do any disclosure, they just publish.
00:18:50.960 --> 00:18:55.279
Um some projects have a whole playbook for this because they do it constantly, right?
00:18:55.440 --> 00:19:05.920
You know, OpenSSL, that foundation, a very standard process for exactly who they tell about vulnerabilities in cryptography, exactly how far in advance, exactly what happens, at which moment, um, all of that.
00:19:06.000 --> 00:19:07.359
Because they've been through it a lot of times.
00:19:07.519 --> 00:19:15.759
And uh that's a piece of software where yeah, like look back at Heartbleed, like just how critical a vulnerability and the cryptography library that powers the internet can be.
00:19:16.160 --> 00:19:18.480
Um others don't, and they're kind of making it up on the fly.
00:19:18.640 --> 00:19:25.119
Um the curl project just changed their policy actually, where they're no longer doing any private reporting for mediums and lows.
00:19:25.279 --> 00:19:27.519
Um they used to do that uh stuff privately.
00:19:27.759 --> 00:19:28.559
There's just too many.
00:19:28.640 --> 00:19:31.279
Now they're only doing private work for uh highs and criticals.
00:19:31.359 --> 00:19:33.200
Um they're moving more toward the open.
00:19:33.759 --> 00:19:36.319
Um Linux distros coordinate.
00:19:36.400 --> 00:19:44.319
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, you know, send it to us within seven days it's going public.
00:19:44.400 --> 00:19:47.119
So it kind of sets this deadline um as a forcing function.
00:19:47.279 --> 00:19:52.240
Because to your point, once you tell three, four people, it's gonna make it out, whether you want it to or not.
00:19:52.400 --> 00:19:52.640
Yeah.
00:19:53.440 --> 00:20:01.039
So um I want to dig a little bit into like for PHP to shell, this kind of really manifested the sort of like who should know right now for it.
00:20:01.119 --> 00:20:05.039
And I know you know in ChainGuard you had a bit of uh some hard decisions that you've sort of made.
00:20:05.200 --> 00:20:07.119
Can you tell us a little bit the story of what happened there?
00:20:07.519 --> 00:20:17.599
Yeah, the uh disclosure process I think started with Caliph and OpenAI finding this two or three months ago um and reporting it to the PHP Foundation around the same time.
00:20:17.839 --> 00:20:21.279
The PHP Foundation said, Oh yeah, somebody else just told us about this yesterday.
00:20:21.359 --> 00:20:22.400
Let's work on it together.
00:20:22.559 --> 00:20:24.480
Um and it took them a while to develop a patch.
00:20:24.559 --> 00:20:26.480
This wasn't a simple, you know, one-line thing.
00:20:26.559 --> 00:20:29.839
Um coming back to Heartbleed again, that was just a one-line security fix, right?
00:20:29.920 --> 00:20:33.359
It was one thing they had to switch a true to a false or something like that on one line of code.
00:20:33.599 --> 00:20:34.799
This one was like an elaborate fix.
00:20:35.119 --> 00:20:36.720
Yeah, it was like 400 changed files.
00:20:36.799 --> 00:20:40.240
They had to rewrite a core part of how memory allocation DHP.
00:20:40.319 --> 00:20:41.839
So it took a while to get the patch right.
00:20:42.240 --> 00:20:45.440
Um and then they started uh uh disclosure process.
00:20:45.599 --> 00:20:48.720
Um uh OpenAI was coordinating it.
00:20:48.799 --> 00:20:52.240
They've kind of written this on the blog uh of kind of how they led
the process.
00:20:52.400 --> 00:21:00.640
Um but they uh about six or six or seven days ahead of time they started kind of bringing folks into this uh coordinated release.
00:21:01.359 --> 00:21:08.880
Um we got a heads up about six days before the plan released that um there was a vulnerability in PHP and they were gonna set up a process for it.
00:21:09.359 --> 00:21:13.039
What's the order of magnitude of like how many organizations knew about it?
00:21:13.599 --> 00:21:20.000
Um it for if I had to guess, uh by the end, probably about a hundred people, uh a hundred different organizations.
00:21:20.240 --> 00:21:20.960
So it was a lot.
00:21:21.119 --> 00:21:27.359
Um uh that night before we actually got the information, you know, we have frontier models and do our own research and stuff like that.
00:21:27.599 --> 00:21:30.079
We kind of wanted to test and benchmark our our finding.
00:21:30.319 --> 00:21:34.640
Um yeah, we just pointed it at PHP and said, let's you know, see if we can find a vulnerability in PHP.
00:21:34.720 --> 00:21:36.799
And within four hours found the exact same thing, right?
00:21:36.960 --> 00:21:41.119
Um it kind of validated the yeah, three people all found this same thing with frontier models.
00:21:41.200 --> 00:21:43.519
If you point them at the at it, you'll find this thing.
00:21:44.000 --> 00:21:48.160
Um so we worked with them over the weekend testing the patch to make sure that the patch was good.
00:21:48.240 --> 00:21:51.839
Um that's also a challenging problem where uh we've seen it.
00:21:52.000 --> 00:21:58.480
I don't know if you saw it ever at Sneak, but you report something, the maintainers patch it, they didn't the patch didn't hold, you know, it was an invalid patch, and then people have to patch twice.
00:21:58.720 --> 00:21:59.039
Well, it
00:21:59.039 --> 00:21:59.759
fixes one scenario.
00:22:00.400 --> 00:22:04.240
But it doesn't, it basically doesn't uh it it fixes the symptom, not the problem.
00:22:04.480 --> 00:22:04.799
Yeah.
00:22:04.960 --> 00:22:09.119
Um Log4j was another interesting one where there was no disclosure for Log4j.
00:22:09.279 --> 00:22:09.920
It was an accident.
00:22:10.000 --> 00:22:14.079
Um the person that found it didn't realize it was a security issue and sent a PR to fix it.
00:22:14.400 --> 00:22:15.039
It was like an open issue.
00:22:15.119 --> 00:22:15.519
It was just like a
00:22:16.319 --> 00:22:23.920
they just sent a PR to fix a bug, and you know, an hour later somebody realized, oh, this isn't just a bug, this is the worst security vulnerability in the history of software.
00:22:24.000 --> 00:22:25.440
Um and so they just had to rush.
00:22:25.519 --> 00:22:27.680
There was no taking it back at that point, it was already public.
00:22:28.400 --> 00:22:32.960
Um and so uh yeah, they through the weekend worked to validate the fix.
00:22:33.119 --> 00:22:35.200
Um and then news started to leak.
00:22:35.359 --> 00:22:40.240
It was like all over hacker news by Sunday, things were getting posted and deleted.
00:22:40.319 --> 00:22:44.799
Um the PHP Foundation originally wasn't going to announce it ahead of time, it kind of had to announce it at that point.
00:22:44.960 --> 00:22:48.160
Enough people were talking about it that something was coming Thursday.
00:22:48.559 --> 00:22:55.039
Um Caliph, one of the researchers, accidentally published a whole video showing their exploit ahead of time uh and had to delete it.
00:22:55.119 --> 00:22:56.480
Um they were off by a day.
00:22:56.559 --> 00:23:01.359
Um the PHP Foundation had to pull up the date uh to Wednesday instead of Thursday.
00:23:01.519 --> 00:23:08.960
Um and then I think by Monday night or Tuesday night, there were about a hundred different companies in the channel kind of coordinating.
00:23:09.119 --> 00:23:15.359
Um, that one, the scale sort of started to make sense at that point because you know this was 60% of the internet, right?
00:23:15.440 --> 00:23:16.559
A lot of the people that had a patch process.
00:23:16.799 --> 00:23:17.039
And a
00:23:17.039 --> 00:23:29.920
lot of these would be like the hosted providers of like a substantial number of these sites, kind of you know, especially it's sort of infrastructure and platform providers that by them patching, they actually sort of save and secure like a wide variety of levels.
00:23:31.440 --> 00:23:31.519
Yeah,
00:23:31.599 --> 00:23:33.519
and not even just people patching down at that level.
00:23:33.599 --> 00:23:38.400
There are folks like uh Cloudflare who could develop WAF rules and help block things in the
00:23:38.400 --> 00:23:38.400
code.
00:23:38.720 --> 00:23:39.359
They can block the
00:23:39.359 --> 00:23:40.319
attacks in a different spot.
00:23:40.640 --> 00:23:42.559
Yeah, uh to give people time to patch.
00:23:42.799 --> 00:23:46.160
Um and these WAF rules are not perfect, like a web app firewall.
00:23:46.240 --> 00:23:46.319
You
00:23:46.319 --> 00:23:46.319
know,
00:23:46.400 --> 00:23:49.759
they can stop obvious attacks, but attackers can usually route around them.
00:23:49.920 --> 00:23:50.000
Yeah,
00:23:50.319 --> 00:23:52.160
but they but they take the simple attacks away.
00:23:52.480 --> 00:23:52.720
Yeah.
00:23:52.880 --> 00:23:55.440
Um and so more and more folks were getting that kind of stuff ready.
00:23:55.519 --> 00:24:02.559
Um and then uh later that night, you know, everybody with uh in the network stack kind of did a final check.
00:24:02.640 --> 00:24:10.480
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.
00:24:10.799 --> 00:24:18.400
Uh and then very late Tuesday night, um uh Cloudflare, a bunch of the others uh started seeing actual attack traffic happen.
00:24:18.480 --> 00:24:21.519
Um and their WAF was hitting and stopping a lot of this stuff.
00:24:21.680 --> 00:24:28.799
Um, and so uh it was kind of a
discoordinated, coordinated disclosure at that point with time zones and urgency and stuff.
00:24:28.880 --> 00:24:35.759
But uh based on seeing actual evidence of attacks in the wild, you know, we made a call to ship the fix to get it out there because that's usually the trigger for something like this.
00:24:36.240 --> 00:24:43.279
Which for you, because I guess within introduced genguard, you have uh kind of a registry of secured objects on it, so you'll you'll kind of ship a new binary.
00:24:43.599 --> 00:24:43.920
Yeah.
00:24:44.079 --> 00:24:49.359
Um shipped a binary for folks that needed to do the update once active attacks happened in the wild.
00:24:49.599 --> 00:24:52.000
I mean, coordinated disclosure, that's usually the trigger, right?
00:24:52.079 --> 00:24:55.440
You know, you keep these things private to try to get an orderly process out.
00:24:55.599 --> 00:25:03.920
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, right?
00:25:04.000 --> 00:25:05.519
Turning off systems, things like this.
00:25:05.599 --> 00:25:08.799
Um even if there is no patch, a lot of cases vendors will still disclose the vulnerability.
00:25:09.119 --> 00:25:09.680
Which was the case here.
00:25:09.839 --> 00:25:10.960
A bunch of people took it upside
00:25:11.119 --> 00:25:11.279
down.
00:25:11.359 --> 00:25:11.519
Uh
00:25:11.839 --> 00:25:12.079
yeah.
00:25:12.400 --> 00:25:21.680
And you see it in closed source software a lot of 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.
00:25:21.759 --> 00:25:23.759
Otherwise, we just tell people about the vulnerability.
00:25:23.839 --> 00:25:24.000
Yeah.
00:25:24.240 --> 00:25:31.920
Because 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.
00:25:32.079 --> 00:25:40.960
Um and uh yeah, um that kind of happened uh that night, I guess, yeah, late Tuesday night and Wednesday um the official patches went out.
00:25:41.119 --> 00:25:43.920
Um the maintainers weren't happy with our decision to ship them early.
00:25:44.000 --> 00:25:48.319
Um it kind of led to a lot of debate and critique around you know, were the exploits successful?
00:25:48.480 --> 00:25:49.359
Does that really matter?
00:25:49.519 --> 00:25:50.319
How can you tell?
00:25:50.400 --> 00:25:51.200
Um all of these kind
00:25:51.200 --> 00:25:51.200
of
00:25:51.279 --> 00:25:51.440
things.
00:25:51.680 --> 00:25:52.000
And to an
00:25:52.000 --> 00:25:52.799
extent, who makes the call?
00:25:53.039 --> 00:25:53.440
Right, yeah.
00:25:53.759 --> 00:26:04.000
Because like when you're in that type of uh of group on it, you know, is it on one hand you have like multiple allegiances, a little bit of uh, you know, you need to work with a group on it, but also you're look there to protect your customers.
00:26:04.319 --> 00:26:06.319
Yeah, um, and you know, we made them available for free.
00:26:06.400 --> 00:26:07.599
It wasn't just for customers, you
00:26:07.599 --> 00:26:07.599
know,
00:26:07.680 --> 00:26:11.759
we wanted to get them out for anybody that could download the PHP version um stuff like that.
00:26:12.079 --> 00:26:26.079
Um it's 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.
00:26:26.160 --> 00:26:27.519
So folks try to coordinate.
00:26:27.839 --> 00:26:35.759
Um but at that point, you know, the embargo would probably leak 19 times uh by by the time anybody was even in a position to have to do that, which is how the attacks and everything were happening.
00:26:35.920 --> 00:26:36.079
Yeah,
00:26:36.400 --> 00:26:41.920
it's just the nature of if you tell 100 people it's going to leak probably 19 times.
00:26:42.079 --> 00:26:52.400
Yeah, and uh it really just means you have to do this all very quickly, and I think that's what we're seeing as an industry, like the Slack channels and manual WAF creation and stuff like that aren't really going to scale.
00:26:52.640 --> 00:27:00.160
And you know, the folks like Palo Alto are setting up whole API versions of this where you know they can generate these protections without a human even noticing or seeing it.
00:27:00.240 --> 00:27:06.880
And so, you know, maybe you can do the whole coordinated disclosure process in two hours instead of two weeks just by sending them, you know, this is what the I.O.
00:27:07.039 --> 00:27:07.920
starts requiring every
00:27:09.119 --> 00:27:13.599
player to be to be equipped with sort of agentic handling of the disclosure, and therefore maybe.
00:27:13.920 --> 00:27:17.519
So so maybe, first of all, tells thanks for kind of walking through the story on it.
00:27:17.599 --> 00:27:22.640
And I feel maybe like uh echoing back a little bit of like the reality that we're describing here.
00:27:22.799 --> 00:27:30.559
So we have uh we have open source software that um is and continues to be and probably will continue to be uh very widely used on it, which is a great thing.
00:27:30.640 --> 00:27:34.000
Like we want that to happen of it, we don't want everyone to reinvent the wheel.
00:27:34.079 --> 00:27:40.480
Uh it is easier to find vulnerabilities uh in it now, and it is easier to exploit vulnerabilities out there.
00:27:40.559 --> 00:27:50.000
So the urgency of uh of patching increases, but even before then, we have we have a challenge around this disclosure process, right?
00:27:50.079 --> 00:28:00.000
And today we have these, you know, because like historically, even in closed source software, you would file for a C V E for sort
of a common vulnerability enumeration number, and you'd have it so that everybody can coordinate across this.
00:28:00.240 --> 00:28:02.640
These are all designed for like a small number, right?
00:28:02.880 --> 00:28:14.480
They've been like, frankly, even back in 2015 when I uh founded Sneak on it, like even back then it was already like, hey, CVE is not fit for purpose, you know, for the volume and for open source vulnerabilities that don't have a vendor behind them.
00:28:14.720 --> 00:28:21.839
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.
00:28:22.240 --> 00:28:24.079
How what do you think should happen?
00:28:24.240 --> 00:28:34.160
Maybe we'll we'll we'll start with talking about like what do you think ecosystem should happen, and then we'll we'll try to give folks a little bit of a in your microcosm of your organization, what should you do?
00:28:35.039 --> 00:28:40.559
Um there's yeah, it it every part of the system has been creaking and crumbling for a while.
00:28:40.799 --> 00:28:48.480
Um you know, the CVE program itself has like run out of money several times over the last four or five years and just didn't have enough people to run the database.
00:28:48.640 --> 00:28:54.880
Um the vulnerability metadata is hard to match and it's hard to know even if you're affected by a lot of these things.
00:28:55.279 --> 00:28:58.640
Um it's not that part's not keeping up, the patching side isn't keeping up.
00:28:58.720 --> 00:29:01.039
Um there's a lot of challenges kind of across the board.
00:29:01.599 --> 00:29:04.400
Hey everyone, hope you're enjoying the episode so far.
00:29:04.640 --> 00:29:12.720
Our team is working really hard behind the scenes to bring you the best guests so we can have the most informative conversations about agentic development.
00:29:12.960 --> 00:29:18.319
Whether that's talking about the latest tools, the most efficient workflows, or defining best practices.
00:29:18.480 --> 00:29:22.079
But for whatever reason, many of you have yet to subscribe to the channel.
00:29:22.319 --> 00:29:29.119
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.
00:29:29.279 --> 00:29:36.640
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.
00:29:36.880 --> 00:29:38.480
Alright, back to the episode.
00:29:38.720 --> 00:29:41.200
So for starters, like let's talk about like as an ecosystem.
00:29:41.279 --> 00:29:41.359
Yeah.
00:29:41.519 --> 00:29:42.880
What do you think should should happen?
00:29:43.119 --> 00:29:54.160
Like what do you uh from from a from a disclosure process and all of this responsible, like can you describe a reality that you think is a is a good reality and we should sort of aspire to reach?
00:29:54.319 --> 00:29:54.559
Yeah.
00:29:54.799 -->
00:30:00.480
I think in so when you look at the the benefits and challenges and where open source really fits in, right?
00:30:00.559 --> 00:30:08.079
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.
00:30:08.319 --> 00:30:13.200
That holds per line of code in the Linux kernel, it's gonna have way fewer than you know any other piece of software.
00:30:13.279 --> 00:30:18.960
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 anyone's stack.
00:30:19.039 --> 00:30:26.640
And so by any metric, most of the vulnerabilities are gonna 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.
00:30:27.039 --> 00:30:33.440
But I think the real challenge and where vulnerability disclosure and stuff comes in is uh there's a concentration risk in open source, right?
00:30:33.839 --> 00:30:40.559
If you have a bug in your product, um it's in your product, and you could probably fix it in your product, but that same bug isn't gonna be in everyone else's product.
00:30:40.880 --> 00:30:58.319
Um that's where uh a bug in you know 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 uh financial system or the energy grid or something like that.
00:30:58.480 --> 00:31:02.559
Um so the concentration risk angle I think makes it um a little bit more challenging.
00:31:03.279 --> 00:31:13.039
Um there's one other angle on open source where I think the system has kind of failed, and I think this is where organizations really have to you know take action today, but it's the amount of silent vulnerability fixes.
00:31:13.119 --> 00:31:20.000
It's kind of been a term for a while, but uh a lot of vulnerabilities have been fixed without anyone even knowing they were a vulnerability.
00:31:20.160 --> 00:31:21.839
Like take the log4j example.
00:31:22.160 --> 00:31:27.599
Projects just refactor some code or delete something or run a linter and fix all the lint errors.
00:31:27.680 --> 00:31:33.519
Um, but they don't file 300 CVs when they fix those lint errors, even though some of them might have been vulnerabilities that they went through at the time.
00:31:33.839 --> 00:31:36.880
This is like internal organizations fixing their fork of an open source project.
00:31:37.119 --> 00:31:38.000
Even open source projects.
00:31:38.079 --> 00:31:44.240
I mean, like uh 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.
00:31:44.593 --> 00:31:45.175
So you just made some
00:31:45.195 --> 00:31:47.528
modifications and without intending you've...
00:31:47.680 --> 00:31:47.759
You
00:31:47.759 --> 00:31:52.559
know, it's uh 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.
00:31:52.720 --> 00:31:58.960
Um but anybody looking at the commit log now knows that hey, version 4.1.2 had this vulnerability in it.
00:31:59.440 --> 00:32:02.240
Today they can do that with these AI tools that they couldn't have done before.
00:32:02.640 --> 00:32:13.279
Um and maybe the projects on version six 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.
00:32:13.839 --> 00:32:14.559
Uh and so I think
00:32:15.200 --> 00:32:20.720
a magnification because again, a decade ago we were talking about the same thing, kind of uh starting a sneak on it.
00:32:20.880 --> 00:32:24.160
But but today there's just that much easier to find them and more of them.
00:32:24.559 --> 00:32:28.720
So a lot of these are just sitting in plain sight, and the disclosure process you know just doesn't make any sense.
00:32:28.880 --> 00:32:30.799
This thing's been sitting in the plain site forever.
00:32:31.200 --> 00:32:37.359
Um the Ruby vulnerability inside of GitLab, like to zoom in on that one, was was kind of a case of this.
00:32:37.599 --> 00:32:45.680
Uh 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.
00:32:45.839 --> 00:32:52.000
Um they never actually shipped it in a Ruby release because it was just some bug in the regular expression engine, and it never made its way in.
00:32:52.240 --> 00:32:59.279
Um and then an attacker, it wasn't an attacker as a researcher, but then chained that into a full RCE in GitLab.
00:32:59.839 --> 00:33:08.160
Um and so GitLab found that the fix was sitting there, grabbed it, cherry-picked it into their build of Ruby, shipped a new version of GitLab with this CVE filed.
00:33:08.400 --> 00:33:16.720
Um the next day, the Ruby team shipped a new release of Ruby with that same fix in it, but never filed a CVE because they said they don't actually know if that's inside of their threat model or not.
00:33:16.960 --> 00:33:20.160
Um so they said the blog post said please upgrade, but we're not filing a C V.
00:33:20.319 --> 00:33:22.799
And so unless you read the blog, you're vulnerable out there.
00:33:23.200 --> 00:33:23.759
You didn't know that.
00:33:24.240 --> 00:33:25.119
You still don't know this today.
00:33:25.519 --> 00:33:27.920
What's the solution or like what's the what's the conclusion?
00:33:28.079 --> 00:33:38.559
Is it like are you making the case that basically we just need to give up on vulnerability disclosure and just just sort of ex expedite our sort of rate of adopting upgrades?
00:33:38.640 --> 00:33:39.599
I mean, what's the I
00:33:39.599 --> 00:33:42.480
don't think we can give up on vulnerability reporting and disclosure.
00:33:42.640 --> 00:33:45.920
I think you every organization should be accelerating their updates, though.
00:33:46.160 --> 00:33:51.440
Um even if there is not a vulnerability known today in that old version, you should update.
00:33:51.519 --> 00:33:52.240
Um, but
00:33:52.240 --> 00:34:01.759
before I I think we we should we should get to the organizations themselves, but I do want to just sort of try to to imagine like what is a reality from an ecosystem perspective that is good?
00:34:01.920 --> 00:34:09.519
Like should we have uh you you alluded to one before a little bit, which is you know anticipating an agentic uh early disclosure.
00:34:09.599 --> 00:34:23.599
So 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 they have an opportunity to respond.
00:34:24.000 --> 00:34:27.840
Yeah, I think it's you know AI is the cause of and solution to all of our problems here, right?
00:34:27.920 --> 00:34:28.639
In a lot of ways.
00:34:28.719 --> 00:34:35.280
And um, everyone has to get better at updating and dealing with breaking changes and just assuming all old software is vulnerable.
00:34:35.440 --> 00:34:39.760
Um because even if it isn't, it's somebody might find a way to make it vulnerable yesterday.
00:34:39.920 --> 00:34:49.360
And 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.
00:34:49.599 --> 00:35:01.280
Um if you're on these old EOL builds and EOL releases hoping for backports, you're probably exposed to you know 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.
00:35:02.079 --> 00:35:11.280
I think the database probably isn't gonna work, but I think 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.
00:35:11.360 --> 00:35:13.840
Um the Linux kernel changed their process.
00:35:14.000 --> 00:35:19.440
They used to just not file CVs and they used to just refuse to accept CVEs in the Linux kernel because the system was broken.
00:35:20.000 --> 00:35:29.519
But about two years ago they changed it and kind of did like a malicious compliance approach in the other way where every single bug fix in the Linux kernel they now file a CVE for.
00:35:29.599 --> 00:35:33.840
Um so they went the uh from zero CVEs to everything as a CVE.
00:35:33.920 --> 00:35:37.039
Uh because it kind of is at the end of the day, especially when you're looking at the Linux kernel.
00:35:37.119 --> 00:35:38.960
Um they have no idea how people use it.
00:35:39.039 --> 00:35:41.679
It's such a deep attack surface running in such a privileged context.
00:35:42.239 --> 00:35:52.639
Let me kind of uh interpret that a little bit, which is every uh every change to your code is is uh is a vulnerability fix in some compilation or some kind of constellation.
00:35:52.880 --> 00:35:57.039
So you might rank it with a CV that is like a low severity because you can't quite figure out ease of exploit.
00:35:57.280 --> 00:36:04.239
But they're basically all logs as vulnerabilities, which which is malicious compliance because it's uh they're not necessarily uh
00:36:04.719 --> 00:36:11.360
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.
00:36:11.440 --> 00:36:13.280
Uh once a month got a C V E file.
00:36:13.920 --> 00:36:22.800
Um and you know, it people were saying it was gonna break everything and ruin the world and put a bunch of work on everyone, but we're seeing it like it's kinda especially for software like the Linux kernel.
00:36:22.880 --> 00:36:27.119
Um, any memory safety issue could be exploited by someone later.
00:36:27.199 --> 00:36:29.440
And so they file them all and treat them that way.
00:36:29.519 --> 00:36:33.920
And so for an organization, you can either just wait for millions of these CVs to come in, or you can just update.
00:36:34.239 --> 00:36:35.599
Either way, you get to the same spot.
00:36:36.800 --> 00:36:52.800
So um I guess uh what I'm sort of hearing, like ecosystem-wise, I think I think you're sort of advocating for just just like you do when you identify something that had some risk involved in it, try to like disclose the fact that that has occurred.
00:36:53.119 --> 00:36:55.360
Uh exact threshold uh TBD.
00:36:55.440 --> 00:37:02.800
But you know, if you've kind of concluded that there's some risk here, then uh it's still a service to the world coming uh like to coming out of that.
00:37:03.039 --> 00:37:06.239
What about uh the vulnerability disclosure piece?
00:37:06.400 --> 00:37:09.199
Like the the the the private disclosure.
00:37:09.679 --> 00:37:18.079
I guess maybe for that we have the agentic path, but do you think those other things we should do kind of group wise, or again should we kind of give up a little bit on that?
00:37:18.400 --> 00:37:18.719
Um
00:37:19.920 --> 00:37:22.079
I think there's two halves to it again.
00:37:22.239 --> 00:37:29.760
One is the 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.
00:37:30.000 --> 00:37:36.000
Um 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.
00:37:36.239 --> 00:37:40.639
Whether they tell people privately or not doesn't really matter to some extent in the long run.
00:37:40.719 --> 00:37:43.519
Um, the fix got out, people know about it now, they can patch.
00:37:43.679 --> 00:37:50.800
Um 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?
00:37:51.039 --> 00:37:53.440
Um and what happens if there is no maintainer anymore?
00:37:53.679 --> 00:37:53.760
You
00:37:53.760 --> 00:37:53.760
know,
00:37:53.840 --> 00:37:55.360
there's a lot of these critical projects.
00:37:55.440 --> 00:37:57.679
Um take libxml2, for example.
00:37:57.760 --> 00:38:04.960
It's uh the XML parsing library, it's written in C that powers pretty much every programming language today that deals with X XML or HTML.
00:38:05.119 --> 00:38:06.480
It's been unmaintained for a year.
00:38:06.719 --> 00:38:09.199
You know, the maintainer just gave up, said he was done.
00:38:09.519 --> 00:38:14.480
Um, a couple other people came and kind of started working on it, but it's it's not maintained anymore.
00:38:14.559 --> 00:38:17.679
Um uh there is no disclosure process for that repository.
00:38:17.840 --> 00:38:21.920
If you want to, you can file a public issue, but there is no way to tell them about anything private.
00:38:22.320 --> 00:38:22.880
Any issue indeed.
00:38:23.840 --> 00:38:24.079
I do.
00:38:24.719 --> 00:38:37.119
I do wonder though, like I feel um, and maybe we'll kind of get a bit off this topic of it, but uh I guess trying to kind of imagine uh a positive sort of destination, trying to think about maybe you know, kind of agentic handling of disclosures.
00:38:37.280 --> 00:38:43.920
So like fine, the uh the the bottleneck here is labor, like uh the bottleneck here is uh is kind of maintainer labor and expertise.
00:38:44.000 --> 00:39:01.039
Yeah uh and so we could uh potentially if every open source repo or open source project had uh an agent wrapping it, so it could process any input that comes along and it will uh analyze it, you know, if it's for a sufficient kind of pedigree.
00:39:01.119 --> 00:39:01.199
Yeah.
00:39:01.599 --> 00:39:06.320
Decide to doing it and publish uh uh and decide if it's a vulnerability to fix it.
00:39:06.480 --> 00:39:12.880
And I guess in those cases we sort of flip a little bit the risk of making a modification that might break versus uh fixing it.
00:39:13.360 --> 00:39:23.920
Um 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 um accepting, I guess, over the uh but I don't know who foots the bill for this.
00:39:24.000 --> 00:39:24.159
Uh
00:39:24.480 --> 00:39:33.119
it's who fits uh OpenAI and Anthropic 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.
00:39:33.519 --> 00:39:33.679
And
00:39:33.679 --> 00:39:39.599
a bunch of open source maintainers are are are not necessarily like positive-minded right now about this type of uh ownership.
00:39:40.320 --> 00:39:40.559
Yeah.
00:39:40.800 --> 00:39:47.039
I think there's probably gonna be some kind of bifurcation and
some healthy divergence in open source, I would say.
00:39:47.119 --> 00:39:53.280
You know, like 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.
00:39:53.519 --> 00:39:53.920
Shouldn't be there.
00:39:54.159 --> 00:40:04.159
It's just yeah, you know, we we've got our vulnerability harness, like we we we have just run straight through every C program we have pointed this thing at, except for curl, right?
00:40:04.320 --> 00:40:14.079
And so um the curl maintainer, Dan Stenberg, like he has proven it is possible to write uh safe code in a memory unsafe language, but unless you're him, I would not recommend it.
00:40:14.159 --> 00:40:16.639
I don't think the average person or even average agent can do this.
00:40:16.880 --> 00:40:25.519
Um and it wasn't easy, you know, he's been the most fuzzed, the most scanned, uh put invested the most time in making this software safe uh for decades.
00:40:25.679 --> 00:40:25.840
Um
00:40:26.960 --> 00:40:27.840
not a scalable model, though.
00:40:28.159 --> 00:40:28.320
Right,
00:40:28.400 --> 00:40:28.719
it's not.
00:40:28.800 --> 00:40:33.119
Um, you know, he look at him as uh wow, uh okay, he can do it, but no one else should.
00:40:33.199 --> 00:40:35.679
Don't look at him as look at as possible, everyone should be able to do that.
00:40:35.920 --> 00:40:43.039
Um, there's a lot of software that I think should just be rewritten and uh memory safe languages or ways to just get rid of entire classes of vulnerabilities.
00:40:43.119 --> 00:40:46.400
And it kind of sounds silly, but some agents can do that too, right?
00:40:46.559 --> 00:40:50.000
And they can migrate people to it, um, which I think is a lot of the challenge.
00:40:50.159 --> 00:40:50.320
Yeah.
00:40:50.719 --> 00:40:58.960
A lot of organization organizations were panicking and begging for backports of the CV vulnerability fixed to like version five, which has been end of life for 12 years, right?
00:40:59.119 --> 00:41:09.280
Like um, you know, you're exposed to at least 30 other more severe RC issues that you've been exposed to for the last decade and choosing not to upgrade.
00:41:09.360 --> 00:41:12.559
Um and it's you know, get your agents point your agents at doing the upgrades.
00:41:12.639 --> 00:41:13.840
They're very good at these upgrades.
00:41:13.920 --> 00:41:16.239
And they can approach it in a way no person would, right?
00:41:16.320 --> 00:41:19.440
You wouldn't go from 5.2 to 7.4 overnight.
00:41:19.519 --> 00:41:25.760
Yeah, 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.
00:41:26.000 --> 00:41:33.920
Um and I think you know that also gives you the freedom to start migrating to safer frameworks and safer libraries at the same time.
00:41:34.239 --> 00:41:34.880
In the process.
00:41:35.199 --> 00:41:38.239
So maybe indeed let's let's sort of close off a little bit on that
point.
00:41:38.320 --> 00:41:56.800
So if you're a defender uh and you're dealing with this unfortunate reality uh of it, what would you say like is kind of the key guidance to and you know even trying to keep in mind, you know, someone in with uh kind of a software state that has baggage, you know, like some sort of uh everyone does decades uh of it.
00:41:56.960 --> 00:42:01.760
Like what would you say is like, hey, this is how I would, if I were in your shoes, this is what I would do now?
00:42:02.079 --> 00:42:06.480
Yeah, point your claws, point your codexes at those old things and tell them to start upgrading.
00:42:06.559 --> 00:42:08.719
Um don't wait until there's a vulnerability.
00:42:08.880 --> 00:42:13.679
The closer you get to today's version, the easier it's gonna be when there is a vulnerability, right?
00:42:13.840 --> 00:42:15.360
Like look back at log4j.
00:42:15.840 --> 00:42:24.239
Um, you know, the it it it affected 10 plus years of versions and the maintainers backported it very far, but there were some they couldn't backport it to.
00:42:24.639 --> 00:42:29.760
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.
00:42:29.840 --> 00:42:39.920
Um yeah, do the upgrades on your own time, uh nine to five during the work week, not uh at midnight on a Sunday night because that's when the vulnerability gets disclosed and that's when attacks start hitting.
00:42:40.320 --> 00:42:44.480
Yeah, um, and uh at the same time, figure out better versions of software, you know, trim your estate.
00:42:44.559 --> 00:42:47.039
Maybe you really need 17 different CMS systems.
00:42:47.119 --> 00:42:48.719
You know, maybe maybe you'd be fine with four.
00:42:48.880 --> 00:42:48.960
Yeah.
00:42:49.199 --> 00:42:52.000
Um and uh that uh so you're patching less often.
00:42:52.159 --> 00:42:52.639
Yep.
00:42:52.800 --> 00:42:52.960
Um
00:42:53.199 --> 00:42:58.159
but yeah, uh figure out how to move at machine speed, I guess you're gonna have to because attackers are.
00:42:58.320 --> 00:42:58.639
Yeah.
00:42:59.760 --> 00:43:01.360
I think that's good, very practical.
00:43:01.519 --> 00:43:04.239
I sort of feel like I see a campaign of uh I upgraded today.
00:43:04.320 --> 00:43:11.840
You're sort of sitting here with I voted today here on election day in the US uh uh on it sort of need a little bit of this sort of I upgraded today.
00:43:12.000 --> 00:43:13.440
Um so this is great.
00:43:13.599 --> 00:43:28.559
Maybe uh I guess uh for anybody uh on the podcast on it, we're gonna switch now to actually have a sort of related but not the same topic uh conversation in Dan's talk here at DevCon that he has just given over here by the would have been done by the time you hear this.
00:43:28.639 --> 00:43:33.599
Uh tell us a little bit about what the talk was about, just uh a tidbit, and then people will switch to see it.
00:43:33.840 --> 00:43:40.239
Um yeah, my talk
was kind of meant to be an ecosystem level view of what happens as we start moving at machine speed.
00:43:40.320 --> 00:43:46.960
Um you and your organization might be rolling out agents and moving fast, but uh you're just one node in this broader supply chain.
00:43:47.039 --> 00:43:52.079
And if some parts move a lot faster than other parts, that causes friction, it causes backlogs.
00:43:52.639 --> 00:43:55.199
We need everyone to start moving at this same speed together.
00:43:55.360 --> 00:43:59.519
And it's uh it's gonna be a messy six to twelve months as we all get there, I think.
00:44:00.159 --> 00:44:00.239
Yeah.
00:44:00.400 --> 00:44:00.960
Good, good.
00:44:01.280 --> 00:44:07.519
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.
00:44:07.920 --> 00:44:11.840
Um yeah, so I'm Dan Lawrence, co-founder and CEO of a company called ChainGuard.
00:44:12.079 --> 00:44:15.519
Um we do open source software supply chain security.
00:44:15.679 --> 00:44:20.880
Um like you said, I'm gonna talk about what starts to break as we start moving at machine speed.
00:44:20.960 --> 00:44:27.280
Um I'm not gonna be talking about you know inside of a single organization, CI systems falling over, GitHub going down, that kind of thing.
00:44:27.360 --> 00:44:29.679
Um I'm gonna be doing this more from an ecosystem perspective.
00:44:29.920 --> 00:44:34.239
I mean, we sit in the middle of a bunch of different supply chains at ChainGuard, you all do as well.
00:44:34.320 --> 00:44:38.719
Um, the open source software that you build, the products that you ship to your customers.
00:44:38.880 --> 00:44:46.559
Um, as everyone starts moving faster and faster at different rates and different speeds, um, that friction in the supply chain starts to cause a lot of issues.
00:44:46.639 --> 00:44:49.119
Um that's kind of what I'm gonna zoom in on today.
00:44:49.519 --> 00:44:54.239
Um so in case you didn't notice, uh last month was Cybersecurity Awareness Month.
00:44:54.400 --> 00:45:03.280
Um, and to celebrate, um, we got probably uh you know the the roughest week for anybody uh paying attention to software vulnerabilities in recent memory.
00:45:03.519 --> 00:45:15.039
Um one day of that week, um uh the week of uh I think it was the 19th, um, there were uh at least five of some of the most severe software vulnerabilities and open source software uh reported all in one day.
00:45:15.119 --> 00:45:21.679
Um there have been worse ones, but you know, in any normal year, any one of these would have been a headline you know, vulnerability of the year candidate.
00:45:21.760 --> 00:45:23.440
Um there were five all in one day.
00:45:23.519 --> 00:45:26.480
Um the week after there was another massive one in the Linux kernel.
00:45:26.559 --> 00:45:28.320
Um this is kind of the new normal.
00:45:28.400 --> 00:45:32.000
Um I don't know why everyone picked Cybersecurity Awareness Month, but they did for this.
00:45:32.159 --> 00:45:44.400
Um this is kind of a taste for the industry of what's uh what's been happening um inside of the Frontier Labs and the folks with these uh vulnerability um research teams that are pointing these models at open source software.
00:45:44.639 --> 00:46:03.840
Um the main interesting point and kind of the scary point for all of this is that all of these vulnerabilities, um the one that's found in PHP, the one in the compression algorithm Broatly, um, 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 uh months ago.
00:46:04.000 --> 00:46:08.559
Um, some of them even fixed months ago, but no one realized they were software vulnerabilities.
00:46:08.880 --> 00:46:16.800
I think the most recent discovery here uh was actually the PHP one, which was discovered simultaneously by a couple different research groups three months ago.
00:46:16.960 --> 00:46:20.400
Um, the GitLab one had been public on Ruby's branch since April.
00:46:20.480 --> 00:46:22.320
Um, the Broatly one similar.
00:46:22.400 --> 00:46:29.440
Um people knew about these for a long time before anybody realized that there were vulnerabilities and before uh the CVEs got filed for these.
00:46:29.679 --> 00:46:43.360
And so if you take a look at this from you know the defender's advantage that Anthropic talks about as they launched the Glasswing program and stuff, um we need to give people that are trying to patch these libraries a head start before attackers get these same capabilities in their models.
00:46:43.519 --> 00:46:45.519
Um these were all found three plus months ago.
00:46:45.599 --> 00:46:58.880
Uh, and if the open models are behind the frontier models uh by some curve, um 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 your companies.
00:47:00.320 --> 00:47:07.360
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, right?
00:47:07.599 --> 00:47:11.519
Everyone sits at some point in this, it's a bunch of different buckets that are all kind of filling up.
00:47:11.599 --> 00:47:14.480
Um, and we've kind of had equilibrium here for the last couple of decades.
00:47:14.639 --> 00:47:25.519
Um, people are finding vulnerabilities, they get them patched, uh, the patches get released, security teams everywhere, uh, grab those patches, rebuild, or redeploy your software systems.
00:47:25.599 --> 00:47:27.760
Um, all of these have kind of been flowing at the same rate.
00:47:27.920 --> 00:47:31.599
Some software is harder to patch than others, um, depending on how you deploy.
00:47:31.760 --> 00:47:32.880
Uh, some is easier.
00:47:33.039 --> 00:47:38.719
Sometimes some projects fall behind if the
maintainers are uh overworked, or sometimes the projects even get abandoned.
00:47:38.800 --> 00:47:44.239
But when you kind of zoom out and take an ecosystem-specific view of it, um, things kind of flow through like this.
00:47:44.480 --> 00:47:53.360
Um 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.
00:47:53.440 --> 00:47:59.119
Um, where we're starting to see some bottlenecks and some of these wells filling up a lot faster than others.
00:47:59.599 --> 00:48:04.480
Um and this is sort of where we are today, if you zoom in here, some of these things start to overflow.
00:48:04.639 --> 00:48:11.440
Um, anthropic on the Glasswing uh public disclosure site uh is talking about thousands and thousands that they've found.
00:48:11.519 --> 00:48:12.960
And you can see that they've actually stopped looking.
00:48:13.039 --> 00:48:17.440
They stopped trying to find more because they realized the bottleneck was actually getting this stuff fixed.
00:48:17.599 --> 00:48:22.159
Um it's not actually hard to get this stuff fixed from a technical sense.
00:48:22.320 --> 00:48:26.880
These same agents that can find these vulnerabilities can generate pretty good patches for these vulnerabilities.
00:48:27.039 --> 00:48:28.559
Um, but these are open source projects.
00:48:28.719 --> 00:48:34.480
You having a patch of it on your fork locally doesn't actually help you because uh you have to get this out and release to the world.
00:48:34.639 --> 00:48:37.440
Um, maintainers might have a different take on how to patch some of this.
00:48:37.519 --> 00:48:39.039
There's different trade-offs involved.
00:48:39.199 --> 00:48:43.760
Sometimes you can break compatibility, sometimes you have to do it a different way to not break compatibility.
00:48:43.840 --> 00:48:51.599
Um so it's not really generating the patch that's the issue, it's you know generating a patch that the community and the open source projects accept that takes a while.
00:48:51.679 --> 00:48:53.519
Um sometimes you can't even find the maintainers.
00:48:53.679 --> 00:49:02.159
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.
00:49:02.719 --> 00:49:10.719
Um and so that first backlog, uh, 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 but it overflowed.
00:49:10.800 --> 00:49:22.159
Um we figured out how to get these things reported, um, and even the ones that uh projects haven't been able to acknowledge in time, uh, the vulnerability disclosure window is starting to run out on those, and so they're gonna start making their way public.
00:49:22.320 --> 00:49:26.320
Um you're gonna start seeing more and more of these getting released, kind
of like what happened a couple weeks ago.
00:49:26.480 --> 00:49:35.280
Um that's gonna be the new normal, and we're gonna start seeing that level of vulnerability uh release almost every single week for the foreseeable future.
00:49:35.360 --> 00:49:38.079
We just have to because these wells are gonna overflow.
00:49:38.639 --> 00:49:45.599
Um this uh third one is now the one that has to catch up, and that's kind of where everyone that builds software sits.
00:49:46.239 --> 00:49:58.960
Um, this is gonna be a pretty violent catch up because it's not just adjusting to the new state of vulnerability discovery, it's it's catching up to three to six months of accelerated vulnerability discovery that just hasn't reached everyone yet.
00:49:59.199 --> 00:50:02.400
Um people here, this is AI native DEV CON.
00:50:02.480 --> 00:50:04.079
Um, people here probably ship pretty quickly.
00:50:04.159 --> 00:50:08.880
Um, I've got agents running right now that are probably shipping to production while I'm tabbed away from the terminal.
00:50:08.960 --> 00:50:10.880
Um, but not all software can ship that fast.
00:50:10.960 --> 00:50:12.719
Um, critical infrastructure.
00:50:12.880 --> 00:50:15.519
Um, you know, there's software running on the Mars rover.
00:50:15.599 --> 00:50:19.440
You can't really do continuous integration on the Mars rover in outer space.
00:50:19.679 --> 00:50:22.000
Um the grocery store attacks all over Europe.
00:50:22.079 --> 00:50:26.719
Um, you can update firmware in a refrigerator, um, but you can't do that 50 times a day.
00:50:26.880 --> 00:50:37.280
Um, these things are all connected to the internet, and as parts of the industry start moving faster and discovering more vulnerabilities, some folks are gonna be able to keep up and they're gonna be able to ship and they're gonna be able to take these patches as fast as they need to.
00:50:37.360 --> 00:50:38.960
But other parts are really gonna struggle.
00:50:39.119 --> 00:50:43.039
And that's where things start to get challenging from an ecosystem perspective.
00:50:44.559 --> 00:50:47.119
Um and so that's this is what's about to happen here, right?
00:50:47.199 --> 00:50:50.079
These dams don't leak, um, they're gonna start to break.
00:50:50.159 --> 00:50:55.199
Um, we can't keep finding and sitting on these vulnerabilities inside of all of the Frontier labs forever.
00:50:55.280 --> 00:50:56.800
They have to make their way public.
00:50:57.119 --> 00:51:01.360
Um, we're also starting to run out of time on the other end as attackers get these same models.
00:51:01.519 --> 00:51:06.239
Um, they're getting independently discovered, and a lot of these fixes are also sitting in plain sight.
00:51:06.320 --> 00:51:11.280
Um, people just don't realize how bad they are until somebody puts a full exploit chain together.
00:51:12.800 --> 00:51:15.840
Um so this is kind of the final graph here of the supply chain itself.
00:51:16.159 --> 00:51:19.920
Everyone here sits somewhere in this,
um, and you don't really get to pick your spot.
00:51:20.159 --> 00:51:25.760
If you ship software, you're somewhere here in the middle because you're depending on other software to ship it.
00:51:25.920 --> 00:51:28.800
Um people are finding vulnerabilities in the software, they've always been there.
00:51:28.880 --> 00:51:30.639
They're not injecting them, it's not their fault.
00:51:30.719 --> 00:51:32.800
Uh, but they're finding things that have been around for a decade.
00:51:32.960 --> 00:51:38.480
They're reporting them, things are getting released, other distributions have to pick them up, vendors package that into their software.
00:51:38.559 --> 00:51:40.159
Um you have to update all of this.
00:51:40.239 --> 00:51:45.039
Um I call this the kind of the human centipede of vulnerability disclosure.
00:51:45.119 --> 00:51:48.719
Um everyone here is kind of sewn into it in a depressing way.
00:51:48.800 --> 00:51:50.320
Um, you don't get to get out of it.
00:51:50.400 --> 00:51:56.880
Um, and if uh you get a nice break for a month or two, um, you're gonna regret that later as the backlog uh starts to flow.
00:51:59.840 --> 00:52:04.000
Um so so breaking this down a little bit more into a nice two by two.
00:52:04.480 --> 00:52:10.000
Um there's a lot of stuff that has to change as an industry, and there's a lot of stuff that has to change uh in the way that we ship software.
00:52:10.079 --> 00:52:14.559
Um so we can kind of look at this from a macro and a micro perspective, what you can do to prepare yourself.
00:52:14.719 --> 00:52:17.760
But then also what we have to do as an industry to get off of this treadmill.
00:52:17.840 --> 00:52:22.000
Um and then there's a couple lenses here too, both from security and development.
00:52:22.239 --> 00:52:26.480
Um so we're gonna start here um uh with the macro view as an industry.
00:52:26.800 --> 00:52:41.599
Um one of the kind of scariest and most surprising pieces of all of this is that a lot of the vulnerabilities and a lot of the attacks and a lot of the chaining that's happening uh with the frontier models when you zoom in is on invisible uh vulnerabilities.
00:52:41.760 --> 00:52:47.440
Um, these are things where projects just refactored stuff away or fixed something that they thought was a bug.
00:52:47.519 --> 00:52:49.840
Um, but it turns out that that code was actually vulnerable.
00:52:49.920 --> 00:52:55.679
They fixed that vulnerability, uh, but nobody downstream knew that was a vulnerability, so they didn't know they had to upgrade.
00:52:55.840 --> 00:52:59.039
Um, a famous example of this is actually kind of like log4j.
00:52:59.199 --> 00:53:04.719
Um, log4j did not go through a nice uh private coordinated disclosure process or anything.
00:53:04.880 --> 00:53:09.599
Um somebody just pushed a pull request up to fix what they thought was a bug in that repository.
00:53:09.920 --> 00:53:18.000
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.
00:53:18.079 --> 00:53:20.239
Um, this kind of thing is happening every single day.
00:53:20.320 --> 00:53:36.639
Um, 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, uh, depending on how the kernel is configured and what you're running on it.
00:53:36.800 --> 00:53:38.639
Um most applications don't do this.
00:53:38.719 --> 00:53:43.199
They just merge fixes, they don't really pay attention, and they only disclose things that they actually know about.
00:53:43.920 --> 00:53:52.880
Um so if you look at a couple of the examples from last month, um the 10.0 full remote code execution vulnerability in GitLab.
00:53:53.039 --> 00:54:00.880
Um, that was fixed upstream in Ruby six or eight months prior to anybody noticing that that caused a vulnerability in GitLab.
00:54:00.960 --> 00:54:07.440
Um, 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.
00:54:07.519 --> 00:54:10.000
They would have done that six months ago if they had known.
00:54:10.159 --> 00:54:25.760
Um, if you just take any kind of uh 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.
00:54:26.000 --> 00:54:34.960
Um and so if you're sitting downstream of this waiting for patches to come to or waiting for vulnerabilities to get filed before you upgrade, you're just gonna fall even further behind.
00:54:35.280 --> 00:54:39.119
Most of the exploitable vulnerabilities never have a CVE filed for them.
00:54:39.360 --> 00:54:51.840
Um and then the second big one from an industry perspective, the the more you dig in here and the more you run Mythos or uh GPT Cyber or any of these, um, you realize that some of this old software that we're on um is just unpatchable.
00:54:51.920 --> 00:54:59.199
Um, you can run one of these frontier models, find 10 vulnerabilities, patch those 10 vulnerabilities, uh, run it again, and find 20 more.
00:54:59.360 --> 00:55:05.760
Um, there are just uh too many unsafe design patterns that are still out there in all of the software we're running today.
00:55:05.920 --> 00:55:12.719
Um, or if you get it perfectly right under perfect conditions, maybe you can keep vulnerabilities out, um, but most people can't do that.
00:55:12.800 --> 00:55:16.239
Uh and we have to start thinking as an industry on how to get rid of these patterns.
00:55:16.320 --> 00:55:20.079
Um, this is something that we've done dozens of times as a
software industry.
00:55:20.320 --> 00:55:27.360
Um back in the mid to late 2000s, early 2010s, um, cross-site scripting was everywhere.
00:55:27.440 --> 00:55:35.039
Um, if you clicked the wrong link in a Facebook DM, uh JavaScript could export your entire friend list and spam everyone on your timeline, right?
00:55:35.119 --> 00:55:36.880
Um, these were incredibly hard to get right.
00:55:36.960 --> 00:55:40.079
Uh, if you wrote any JavaScript, you're probably introducing this by accident.
00:55:40.320 --> 00:55:44.320
New frameworks, new technologies in the browser came out, and now these are pretty much a thing of the past.
00:55:44.400 --> 00:55:47.280
You don't have to worry about these the same way as you write code today.
00:55:47.519 --> 00:55:49.440
Um TLS on the internet.
00:55:49.679 --> 00:55:55.360
Um, outside of the uh eMudra certificate incident um of that same week with all of these vulnerabilities.
00:55:55.519 --> 00:55:59.199
You can mostly rely on the green checkbox being set across uh the browser.
00:55:59.360 --> 00:56:05.679
You don't have to worry about going to a Starbucks or a conference and logging onto the Wi-Fi here and somebody sniffing your password in plaintext.
00:56:05.840 --> 00:56:10.559
And we've invented new technologies time and time again to get rid of entire classes of vulnerabilities.
00:56:10.719 --> 00:56:12.719
Um that's what we have to continue doing here.
00:56:12.880 --> 00:56:15.760
Um there's the meme of rewrite it and rust, all of this stuff.
00:56:15.840 --> 00:56:18.159
Um, but memory safety issues are everywhere.
00:56:18.239 --> 00:56:28.320
Um 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.
00:56:28.400 --> 00:56:35.360
Um it's possible, it's just so hard that almost no uh no one without superhuman programming abilities can do this.
00:56:35.920 --> 00:56:38.159
Um multi-factor authentication, all of this.
00:56:38.239 --> 00:56:42.079
You know, phishing attacks basically don't exist anymore with these technologies.
00:56:42.239 --> 00:56:47.840
Um we need to start doing this uh across all of the code and all of the uh libraries that we're using.
00:56:48.079 --> 00:56:50.239
It's broader than just rewrite it in Rust, though.
00:56:50.320 --> 00:56:55.519
Um there's Java template libraries that are basically just dynamic code execution as a service.
00:56:55.760 --> 00:57:02.320
Um the Python YAML uh deserialization where Pickling is basically just running unsafe code.
00:57:02.480 --> 00:57:10.960
Um we have to look forward, uh 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.
00:57:13.280 --> 00:57:16.079
Um the good news here though, um, this isn't all scary.
00:57:16.159 --> 00:57:19.280
Um this stuff is actually kind of fun if you get it right.
00:57:19.440 --> 00:57:26.000
Um, these same AI technologies that are kind of causing us to all panic right now and finding vulnerabilities faster than we can fix them.
00:57:26.079 --> 00:57:28.239
Um, these same things can be used to upgrade our software.
00:57:28.320 --> 00:57:31.599
Um, they can be used to uh modernize all of these tech stacks.
00:57:31.679 --> 00:57:37.519
And not just inside of startups, inside of some of the largest organizations, the most critical infrastructure in the world, it's the farthest behind.
00:57:37.599 --> 00:57:39.440
Um, it has the highest benefit there.
00:57:39.679 --> 00:57:45.920
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.
00:57:46.960 --> 00:57:55.039
Um 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 as part of all this modernization and all of these upgrades.
00:57:55.119 --> 00:58:08.480
Um, a bunch of the labs have started these patch the planet initiatives where they're funding maintainers to give away free tokens, free agent agent tools, and everything to start patching these vulnerabilities, um, which is half of the problem.
00:58:08.639 --> 00:58:14.400
We do have to do that, um, but we also have to start thinking about what new libraries look like, what new frameworks look like, and how to migrate to them.
00:58:14.559 --> 00:58:19.920
Um, because these same technologies that are uh used for all of this can also be used to do the upgrades, right?
00:58:20.079 --> 00:58:28.000
Um so as a piece of advice for everyone when we start to look at the micro view, um the best thing anybody can do right now is just start upgrading all of the software that you have.
00:58:28.159 --> 00:58:35.119
Um, it's gonna get you closer to the edge, it's gonna get you past all of the silent vulnerabilities that are gonna that are getting found every day and not really reported.
00:58:35.280 --> 00:58:38.320
Um and at the same time, it's getting you new features, it's getting better performance.
00:58:38.480 --> 00:58:39.920
All of these libraries are moving fast.
00:58:40.000 --> 00:58:51.920
Um, if you're staying on older ones and hoping for LTS releases to backport vulnerability fixes, um, you're giving up years of development, years of feature work in those projects too, and you're gonna have to upgrade them someday, so why not today?
00:58:52.000 --> 00:58:53.679
That's kind of the moral of that story.
00:58:56.639 --> 00:58:58.559
Like I mentioned before, it's not all scary, right?
00:58:58.639 --> 00:59:04.400
Um, 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.
00:59:04.480 --> 00:59:08.079
Um, once everyone's doing that together, um, I think software is gonna be a lot better.
00:59:08.159 --> 00:59:13.519
The industry is gonna be a lot more fun, um, and
we're gonna be doing a lot more, uh, we're gonna be or we're all gonna be shipping a lot more.
00:59:15.280 --> 00:59:16.639
Um I like this quote, right?
00:59:16.719 --> 00:59:19.199
You know, Linus Torvalds, the maintainer of the Linux kernel.
00:59:19.360 --> 00:59:25.199
Um, his uh battle cry uh to kernel maintainers everywhere is that we never break user space.
00:59:25.280 --> 00:59:27.599
Um and that makes sense down at that level of the stack.
00:59:27.679 --> 00:59:33.199
But just imagine you and your users if you could ship software without having to worry about a decade of backwards compatibility issues.
00:59:33.360 --> 00:59:40.239
I think that's what we're gonna get to machine readable change logs where agents can take every one of those breaking changes without people having to worry about it.
00:59:43.199 --> 00:59:44.960
Um we've done a bunch of experiments here.
00:59:45.039 --> 00:59:47.679
Um agents are great at doing these upgrades.
00:59:47.840 --> 00:59:53.519
Um, 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.
00:59:53.679 --> 00:59:54.400
But you wouldn't do that.
00:59:54.480 --> 01:00:00.000
You would ask the agent to do every single dot upgrade by itself uh over weeks uh and then come back at the end.
01:00:00.079 --> 01:00:02.880
Um that's something an agent can do that a person would never do.
01:00:03.039 --> 01:00:11.679
Um people would just put this off uh 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.
01:00:11.760 --> 01:00:17.360
Um but if you start thinking about this in smaller pieces, um agents do an incredible job at this.
01:00:18.320 --> 01:00:21.039
Um we also prototyped a bunch of this ourselves.
01:00:21.119 --> 01:00:27.599
Um we've got a Java template library for generating HTML that we built in a couple weekends uh just with tokens.
01:00:27.679 --> 01:00:32.480
Um this gets rid of every class of vulnerability in every Java template library that we could find.
01:00:32.639 --> 01:00:34.480
It's completely backwards incompatible though.
01:00:34.559 --> 01:00:37.039
There's no way to click a single button to migrate to this.
01:00:37.199 --> 01:00:39.199
Um but that was a benchmark that we set up.
01:00:39.360 --> 01:00:47.039
Um, how fast can a Cloud Sonnet 5 class agent with a single prompt of migrate me to this do it without breaking anything?
01:00:47.280 --> 01:00:48.719
Um it's not hard.
01:00:48.800 --> 01:00:53.679
Um, this is kind of the pill that everyone stuck on these old uh frameworks is going to have to swallow.
01:00:53.760 --> 01:00:59.599
Um you can't stay on Spring Boot 2 for the next 10 years and hope that you're gonna get enough backports to keep yourself secure.
01:00:59.760 --> 01:01:03.599
Um so you're just gonna have to figure out how to get agents to do all this migration work for you.
01:01:05.599 --> 01:01:06.800
Um, here's some of the stats.
01:01:06.880 --> 01:01:08.719
You know, most apps could be migrated for$9.
01:01:09.519 --> 01:01:26.480
Um, 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 uh a lot cheaper than somebody doing this themselves uh over a couple days.
01:01:28.800 --> 01:01:34.559
Um so to take this away and to leave it, um, you know, this is gonna be a lot of change coming into everyone very quickly.
01:01:34.639 --> 01:01:44.960
Um the only way out is actually it's gonna 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.
01:01:45.199 --> 01:01:47.440
Um, three months ago, this would have sounded crazy.
01:01:47.519 --> 01:01:49.920
Um today, uh, it's definitely doable.
01:01:50.079 --> 01:01:51.920
Three months from now, it's gonna be even better.
01:01:53.519 --> 01:02:00.800
Um so yeah, uh this is probably the most exciting time to be in software in my career, um, because we can start to think bigger.
01:02:00.880 --> 01:02:10.079
Um, in addition to patching the planet, we 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.
01:02:10.480 --> 01:02:12.239
Um so I'll leave it here.
01:02:12.480 --> 01:02:13.679
Um this is for everyone.
01:02:13.840 --> 01:02:15.280
Start upgrading everything now.
01:02:15.360 --> 01:02:16.480
Um you're gonna have to do it.
01:02:16.559 --> 01:02:21.280
Uh don't wait until there's a vulnerability on Hacker News telling you that you have to today.
01:02:21.360 --> 01:02:23.679
Um, plan it around your own schedule instead.
01:02:23.760 --> 01:02:26.559
Um and start thinking about what it looks like uh to rebuild the planet.
01:02:26.639 --> 01:02:28.159
What programming languages would be around?
01:02:28.239 --> 01:02:32.480
What libraries, what frameworks, what what do you want to exist that doesn't exist yet?
01:02:32.559 --> 01:02:34.159
Um, because you can start to do that now.
01:02:34.320 --> 01:02:36.000
We can all think a lot bigger and bolder.
01:02:36.320 --> 01:02:42.480
Um 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.
01:02:44.000 --> 01:02:46.400
I think I have uh a bunch of time for questions now.
01:02:47.440 --> 01:02:48.159
Microphone?
01:02:52.079 --> 01:02:53.440
How much time do we have?
01:03:01.280 --> 01:03:02.159
Perfect.
01:03:05.039 --> 01:03:06.719
It's small enough, you can probably just talk.
01:03:06.880 --> 01:03:07.199
I don't know.
01:03:08.480 --> 01:03:13.519
Uh where are
you at on recommending like a cool down on an update to a library?
01:03:13.760 --> 01:03:16.079
Obviously, if everyone does it, it's no good for anybody.
01:03:16.239 --> 01:03:17.519
What's the practical takeaway?
01:03:17.679 --> 01:03:32.159
And then as a follow-up, uh, how often are you recommending that people rebuild just the tiny part of the library that they're doing in-house instead of like exposing themselves surface area-wise to a larger charting library, you know, remote code execution?
01:03:32.719 --> 01:03:32.800
Yeah,
01:03:33.039 --> 01:03:34.480
um so two questions there.
01:03:34.559 --> 01:03:42.079
The first was cooldown periods, um, uh, which is a common tactic for kind of waiting out the malware attacks that are also happening at the same time.
01:03:42.159 --> 01:03:49.599
Um, 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.
01:03:49.760 --> 01:03:51.039
Um, cooldown periods can work.
01:03:51.119 --> 01:03:56.400
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.
01:03:56.559 --> 01:04:06.239
So it's um it can work fine, but you uh you then end up in the position of reviewing all of that stuff too uh to allow things through if you do need to get one of these critical patches through.
01:04:06.400 --> 01:04:08.079
Um so it's important a lot of people are doing it.
01:04:08.239 --> 01:04:12.159
GitHub has built-in features, um, PyPI and Pip just added one.
01:04:12.320 --> 01:04:15.280
Um I've heard seven days, some people are doing 14 days.
01:04:15.440 --> 01:04:16.800
Um that's the trade-off you have to make.
01:04:16.880 --> 01:04:20.559
How long do you want to wait versus how long or how fast do you actually have to patch?
01:04:20.719 --> 01:04:25.199
Um it starts to get really hard when you're cherry picking of uh don't take anything except for this one.
01:04:25.280 --> 01:04:27.840
Um but that one has transitive dependencies that are also newer.
01:04:28.159 --> 01:04:31.440
Um so it it it's more complicated than it sounds at first.
01:04:31.599 --> 01:04:38.559
Um the second one was what about you know just forking and copying in parts of a library that you need rather than the entire thing?
01:04:38.800 --> 01:04:40.239
Um again, it's hit or miss.
01:04:40.320 --> 01:04:47.119
You know, there are some kitchen sink frameworks where you want one function and you pull in a million of them at the same time.
01:04:47.360 --> 01:04:53.599
Uh the other side of it is you know the JavaScript ecosystem where there are entire libraries that are just one function.
01:04:53.840 --> 01:04:57.679
Um you can copy that stuff yourself, but then you're on the hook for maintaining it.
01:04:57.760 --> 01:05:01.760
Um you're gonna lose all the metadata about knowing where the vulnerabilities are.
01:05:01.840 --> 01:05:04.559
Um if there is one in that library and you forked it and renamed
01:05:04.559 --> 01:05:04.559
it
01:05:04.639 --> 01:05:11.039
and you only have a part of it, um 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.
01:05:11.440 --> 01:05:15.519
Um I know Mitchell Hashimoto is a big fan of that approach and stuff and keeps promoting it.
01:05:15.679 --> 01:05:17.119
Um I wouldn't recommend it.
01:05:17.199 --> 01:05:20.880
It's it's too scary, it's too hard, you're gonna end up maintaining more code than you realize.
01:05:23.519 --> 01:05:31.119
Yeah, most languages already have decent enough tooling where you know 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.
01:05:37.039 --> 01:05:41.199
Hey yeah, I want to kind of build on that because there was a talk earlier today from Jeff Huntley.
01:05:41.280 --> 01:05:46.079
I was looking around to see if he was here that was basically like stop using anyone else's dependencies.
01:05:46.239 --> 01:05:50.079
And if it's I mean, I get that we don't know the answer right now, right?
01:05:50.320 --> 01:05:51.360
Both of those things.
01:05:51.519 --> 01:05:58.559
Um both of but I think the the metadata piece of like, now I don't even know that I copied something, or like I got the agent to build something.
01:05:58.800 --> 01:06:03.360
So um Yeah, a lot of work, I guess that's just a comment on that one.
01:06:03.440 --> 01:06:09.039
A lot of work has gone in recently to, you know, are we actually using this part of the library?
01:06:09.199 --> 01:06:10.320
Do we need to make an update?
01:06:10.559 --> 01:06:16.639
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.
01:06:18.320 --> 01:06:33.440
Is there this is going to be the most ridiculous question, but now that I got to it, uh how do you how do you manage that with like auditors, GRC, like the kinds of people that are that are driving these decisions tend to be 10 years plus outdated in the way that they think about them.
01:06:34.079 --> 01:06:44.719
So um what what kind of advice do you have for kind of 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?
01:06:44.960 --> 01:06:45.360
Yeah.
01:06:45.519 --> 01:06:49.039
Um yeah, I'd love to go have some debate over beers with Jeff on that one.
01:06:49.119 --> 01:06:54.239
Um, I think I don't think everyone should be rewriting all of their dependencies, right?
01:06:54.320 --> 01:06:56.239
Um I know you can sometimes it's fun.
01:06:56.320 --> 01:07:01.920
Um, but I don't think we're ever gonna get to a world, or at least that's a terrible thing to say in today's world.
01:07:02.000 --> 01:07:06.320
Um I don't think in the
next 18 months we're gonna get to a world where even AI is writing perfect software.
01:07:06.400 --> 01:07:07.920
Um and I'll back that up a little bit.
01:07:08.000 --> 01:07:14.239
Like, you know, I Opus 5.5 today is writing better software than you know most engineers, almost every engineer.
01:07:14.400 --> 01:07:18.079
Um but the gaps and the bugs come in between the sessions.
01:07:18.239 --> 01:07:23.679
Um when you look at model performance, it's getting better and better every day, but the context windows aren't getting any longer.
01:07:24.079 --> 01:07:29.280
Um we've been at kind of the 400k 1 million token context window for the last couple of years.
01:07:29.440 --> 01:07:34.719
Um, I'm not a hardware expert, but I think that's a harder needle to move than the model performance itself.
01:07:35.039 --> 01:07:42.960
Uh 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.
01:07:43.039 --> 01:07:46.159
And you know, I ran it today, it was perfect code.
01:07:46.239 --> 01:07:47.360
I added a feature tomorrow.
01:07:47.440 --> 01:07:52.719
It didn't have the entire context in there, and now the vulnerability or the bugs show up in those gaps and those seams.
01:07:53.119 --> 01:07:58.480
So I think we're still in a world of you know uh Lenus' old law, many eyes make all bugs shallow.
01:07:58.559 --> 01:08:04.480
Um I think will all be better if everyone is playing their agents at one thing rather than everybody ignoring them and uh building their own versions.
01:08:04.639 --> 01:08:07.280
Um I do think open source will probably change a little bit though, right?
01:08:07.360 --> 01:08:09.440
Like you're not gonna vibe code a database.
01:08:09.519 --> 01:08:15.599
Um uh you're not gonna build your own Nginx or proxy or any of these security critical libraries.
01:08:15.760 --> 01:08:22.960
Um that stuff becomes even more important, and you can build better ones and make them even better and faster uh if everybody's collaborating on those things together.
01:08:23.199 --> 01:08:31.279
Um the stuff in the middle, you know, 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.
01:08:31.359 --> 01:08:33.199
Um, you know, agents are great at writing SQL.
01:08:33.279 --> 01:08:35.520
You don't need an ORM anymore to help you write SQL.
01:08:35.680 --> 01:08:38.239
I think a lot of those things in the middle are gonna become less important.
01:08:38.319 --> 01:08:45.199
Um, and you're probably better off just doing some of that stuff raw rather than building your own ORM or something like that.
01:08:45.600 --> 01:08:48.479
Um your second question, I forget it now.
01:08:48.640 --> 01:08:49.359
Sorry, I rambled.
01:08:49.600 --> 01:08:50.239
Yeah, oh yeah.
01:08:50.479 --> 01:08:54.079
Um you know, it's uh for the most part, they love seeing no vulnerabilities.
01:08:54.159 --> 01:08:57.520
You know, the CV counts for a while are kind of garbage and made up anyway.
01:08:57.600 --> 01:09:00.640
Um but there not nothing makes them happier than seeing a zero there.
01:09:00.720 --> 01:09:03.439
So uh for the most part, there's not really a lot of friction.
01:09:03.520 --> 01:09:04.239
They kind of like it.
01:09:04.399 --> 01:09:06.560
Um it depends what industry you're in, though.
01:09:06.640 --> 01:09:14.960
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.
01:09:15.039 --> 01:09:18.640
Um and that's how that's what you're gonna have to do to start moving at machine speed as well.
01:09:18.880 --> 01:09:20.239
Um yeah.
01:09:23.279 --> 01:09:24.159
In the back.
01:09:32.479 --> 01:09:37.119
And tell people that you know updating their software is a thing.
01:09:37.199 --> 01:09:37.680
Yeah.
01:09:38.720 --> 01:09:46.159
And uh it's even ironic, you know, when you see governments still running PHP, especially the old PHP, like why?
01:09:46.239 --> 01:09:47.760
Yeah, why why are you there?
01:09:48.079 --> 01:10:00.239
Uh 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 like that.
01:10:00.880 --> 01:10:03.279
Yeah, I think it's it's both sides there, right?
01:10:03.359 --> 01:10:03.680
And you
01:10:03.680 --> 01:10:03.680
know,
01:10:03.760 --> 01:10:06.239
the question is, yeah, why why do we have to give this talk about upgrading?
01:10:06.319 --> 01:10:08.079
It's the most boring thing in the world, it's depressing.
01:10:08.239 --> 01:10:16.079
Um yeah, uh the amount of you know customers I had to talk to that were you know begging for backported PHP vulnerability fixes to stuff like PHP 5.
01:10:16.239 --> 01:10:17.520
Um, you know, you can do it.
01:10:17.680 --> 01:10:26.239
Um 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.
01:10:26.319 --> 01:10:31.760
Um you just worried about this one because it was in the news, um, you know, uh, which is a terrible way to do security and risk management.
01:10:31.840 --> 01:10:33.359
Um, but I think it's the same thing you talked about.
01:10:33.439 --> 01:10:34.960
Upgrading is hard, it's scary.
01:10:35.039 --> 01:10:37.199
Um if you upgrade stuff, it might break.
01:10:37.359 --> 01:10:43.279
But you know 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.
01:10:43.439 --> 01:10:49.920
Um 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.
01:10:51.760 --> 01:10:56.000
But I think the cause of and solution to all of our problems, I guess, is kind of to sum it up.
01:10:57.119 --> 01:10:58.399
All the way in the back.
01:11:05.439 --> 01:11:08.399
Thoughts on the EU Cyber Resiliency Act.
01:11:08.479 --> 01:11:10.319
Yeah, um, it's very long.
01:11:10.560 --> 01:11:17.359
Um, and uh um I think uh a lot of it is still to be determined how it's going to play out, right?
01:11:17.520 --> 01:11:29.920
Um you know, it's not as bad as it looked like it was going to be from an open source perspective, is uh the some of the first couple drafts where uh there was just a fundamental misunderstanding of how open source works and how open source licenses work.
01:11:30.079 --> 01:11:38.079
Um some of the first couple drafts actually put legal liability on open source maintainers, um, whether or not they have any commercial relationship with the people using it.
01:11:38.319 --> 01:11:43.279
If you put something up on GitHub, some bank in Europe uses it and gets hacked, it's your fault somehow.
01:11:43.439 --> 01:11:46.640
Um that's been softened, it hasn't been completely removed.
01:11:46.800 --> 01:11:55.359
I think it's gonna take a couple examples and uh actual probably uh judges to decide how to actually apply it in some of these cases.
01:11:55.600 --> 01:11:59.840
But for the most part, it's getting people to pay attention to what's in their software, um, which is a good thing.
01:12:00.079 --> 01:12:00.720
Thank you, everyone.
01:12:01.279 --> 01:12:02.159
Sorry about my stuff.
01:12:02.399 --> 01:12:02.720
Yep.
01:12:05.359 --> 01:12:12.880
Dan, thanks for coming on and both to give the the talk and uh for this podcast and for in general the good work you do to kind of help uh secure open source.
01:12:13.439 --> 01:12:14.159
Yeah, thanks for having me.
01:12:14.239 --> 01:12:15.199
It's been a great conference.
01:12:16.000 --> 01:12:24.239
Uh and for everyone listening, uh, if you liked Dan's talk and this conversation, you can check out many other great talks on aidevcon.io.
01:12:24.800 --> 01:12:33.119
Uh you can register to a virtual conference of this conference that is now finished, but that would give you access to many great talks uh so you can learn.
01:12:33.279 --> 01:12:35.359
And I hope you join us for the next podcast.
01:12:36.159 --> 01:12:40.640
The II Native Dev is brought to the talk about skills and context.
01:12:40.880 --> 01:12:43.920
Your hosts are Guy Pajani and me, Simon Maple.
01:12:44.000 --> 01:12:45.600
Our producer is Tom Dowler.
01:12:45.840 --> 01:12:47.840
The IR Native Dev is not just a podcast.
01:12:48.159 --> 01:12:52.640
it's a community, and we host monthly meetups at the TESL offices in central London.
01:12:52.800 --> 01:12:57.920
Visit TESL.io forward slash community to learn more, and I hope to see you there.