Vulnpocalypse Now

Download MP3

[Radio tuning]

Hey man, every book is a children's book

if the kid can read.

[Audience laughter]

All right, all right, all right.

[Radio tuning]

Catch me outside.

How about that?

Catch you outside.

What does that mean?

What I just said.

[Radio tuning]

Hello and welcome to Socket Radio. I'm

Jerod Santo, your sometimes humble host.

This is episode one of the show, or episode zero, if you
prefer to load your

podcasts from an array and you've managed to avoid Lua
so far. But I

digress. I'm joined today by the one and only Socket
founder

and CEO, Feross Aboukhadijeh.

What's up, Feross? How you doing? Doing good, man. This
is gonna be fun, I think. I'm glad

we're doing this. Me too. I'm glad we're doing this. I'm
glad you're here. And I

feel like we have a lot to talk about. I thought we
could start by stealing some

prose from Charles Dickens. Maybe you've heard of him.
It goes like this. It was

the best of times. It was the worst of times. You know
this one, Feross. It was the

Age of Wisdom. It was the Age of Foolishness. It was the
epoch of belief. It

was the epoch of incre— Ooh, I should have practiced
this. Incredulity? I think

that's right. It was the season of light.

It was the season of darkness. It was the Spring of
Hope. It was the winter of

despair. We had everything before us. We had nothing
before us. Of course, Charles

goes on. But you get the point. He's describing the time
leading up to the

French Revolution, but he could just as well, I think,
be describing 2026. It

sounds like he's talking about now. It feels like we are
living in a time of

duality. We're excited, but we're also

concerned. We have amazing new tools, but

so do bad actors. I've never felt more productive, but
I've never felt less

focused. I'm optimistic.

I'm pessimistic. I don't know what to think. What do you
think,

Feross? I think that's well said. It's an

incredible time. There's so much happening, and I don't
think anybody

really knows exactly where this all goes, but everyone's
doing their best to

orient themselves and figure out how to use the amazing
tools that we've been

given here and not get hacked and not have too

much bad stuff happen along the way.

Yeah. On a scale of pessimistic to optimistic, with
optimistic being a 10

and pessimistic being a one, where are you sit? How are
you feeling these days? Maybe

it's just today and you'll feel different tomorrow. I'm
a relentless optimist. I

don't know. I'd say like an 8 or 9. Yeah, I think 8 or 9
is for me. I think

we're... People are resilient. We're going to figure

everything out. It's going to be fine. It depends on
what aspect you're talking about. There's the AI

doomer narrative and are we going to be fine from that
perspective? There's

the kind of security apocalypse moment that we're in now
and is the world

going to end? I just think no matter how you look at it
and what you're

focused on, I still take the optimistic side. I think
everything's going to be fine in the end. I mean, I

think there's even a way that like

what's happening now is really good for

us. All the bugs that are being discovered and all the

vulnerabilities that are being found and fixed are going
to leave us in a better

place. I'm pretty positive about everything. I like
that. I like that.

It's on to this stage that we launch a

new show, Socket Radio. Welcome. Let me say a few words
about the

podcast before we get into it. I want everybody to know
that this is a podcast

by "Socket," but it's not a podcast about "Socket." So
yes, you'll hear from various

"Socketeers," is that what you call us?

"Socketeers?" Yeah, "Socketeers." As expertise warrants
because we got some really

talented folks here at "Socket," but we will regularly
and most often tap the

wisdom of people in and around the industry to bring out
diverse insights,

stories behind the exploits, deep dives into how things
break, news worth analyzing, and what

it all means, which is kind of where we started. Like,
"What?

Where is this whole thing headed?" One thing I'm
fascinated with with podcasts, which

I'm a longtime podcast junkie, Feross, as you know, is
how we got here. So anytime

you have a podcast and a listener of that podcast, you
have three people, in

the case of a two-person show, they've all come to one
place to enjoy a

conversation. And I always wonder, like, how did all
three of those people get

there? Now, we can't ask our listener how they got here,
but I can ask you, and I

would love to hear your story, specifically about
"Socket," because it's

been quite a rollercoaster these last few years, and
here you are with a

business and now a podcast, and really at the, I would
say, the forefront of

focusing on supply chain security. Can you tell the
Socket story, like, how it started? Yeah, yeah,

for sure. So we started this website called
wormhole.app. It was

me and a couple of friends, and we were

trying to build a really secure way to send files on the
internet. It's the

typical, if you've seen the xkcd, you

know, why is it so hard to send a file, you know, like
two people in the same room, I

want to get a file from my computer to your computer.
You know, AirDrop’s made that a little bit

easier, somewhat, but you know, it's still a pretty,
it's still a surprisingly hard problem for large

files, and so back in, like, 2020 when we

technically, you know, started the company,

that was what we were, that was the kind of first thing
we decided to build, and

see if we could, you know, I thought of it kind of like
Signal Messenger, but for,

but for like files, and so, or another way to look at it
is like end-to-end

encrypted Dropbox, you know, something where, you know,
the service doesn't get to

see your files, and you know, just get that kind of
end-to-end encryption and

security that you want, you know, from

your services. And so we, yeah, we built

something pretty cool. I mean, it's still live today, it
still has, I think, a

million people a month are sending files on it. It's at
wormhole.app if

you want to check it out, and we put some pretty cool
tech into it, to be honest.

Stuff I'm still pretty proud of, so if you drop files on
that site and, you know,

check it out for yourself, you'll notice a few things
that are pretty unique. So

one, the file URL shows up right away, so it's super
fast to just get the link and

send it to your friend, or whoever you're sending the
files to, even before the

files have fully uploaded. And then also the recipient
can actually start to

download the files, even before you finished uploading
them, using streaming

and peer-to-peer technology. A lot of that built on some
of the WebTorrent

open source work I did before. And yeah,

and so I just, anyway, cool tech, cool service, I
thought it had some cool ideas

in it. But the thing was that we wanted it to be like
really secure, that was the

main priority, and so we did a bunch of work to make
sure that the first party

code that we were writing was safe, you know, we
scrutinized it, we had a

bunch of code review, we did a bunch of stuff. We used a
lot of the latest like

web technology and web standards to do

our best to make this as secure of a service as we
could. But then the part

that I felt the most like unsure of, and the thing that
kept me up the

most at night, was our dependencies. We built the site
in

Node.js and used Next.js and React and that whole kind
of ecosystem for the

front end. And you know, I mean we had thousands of
dependencies.

We tried our best to minimize that and to kind of keep
things minimalist and

focused, but ultimately if you're building a kind of a
modern

website today, you end up with inevitably like hundreds
or thousands of

dependencies. And one of the things you want to do is
you want to keep them up to

date, you know, to stay secure. And so

we were also kind of like constantly applying updates,
and so I just felt like

man, the code in this app is changing quite frequently,
like sometimes

every day. Like how do I actually know that the code I'm
pulling in is safe and

that we're not, you know, not pulling in something
that's gonna compromise the

security of our users. And so that's when we started
really asking questions

about our supply chain and then kind of, yeah, Socket
kind of ended up

falling from there. We ended up sort of deciding, well
hey, maybe we could build

something that could scan our dependencies and give us
an idea if one

is doing something it shouldn't do. And then we
basically decided after we built

that, like that's actually probably a better idea than
the original idea,

because this does seem like it's gonna be important and
I don't know why

other people don't care. And so we just we built it.
Yeah, you built it and really

I remember I was around, you know, on the show with you
back when you were building

that and I was thinking, you know, he's right, reactive
cybersecurity moves just

aren't as effective as proactive. Like you have to get
out there and protect

things before you have to detect before you can't wait
for things to be

announced. And I think you're clearly right, because now
I think everyone's

starting to awaken to that being like, okay, this is the
way to do it. And so

there's lots of folks who are building similar things or
trying to. So congrats

on that. Lots of work left to do. Gotta stay proactive,
but also inject ourselves

in all the places so that people can be

safe before things go wrong. That's how you got here. A
quick brief of how I got

here. So for me, this is very much I consider it kind of
a there and back

again, kind of the hobbit's tale, because

I don't think you knew this about me, Feross, but I told
you when I joined the team

is that I actually began my career in infosec. So in
college I was I had a

concentration on information assurance

and I was exposed to the whole industry, pen testing,
the defense in depth, like

all the lingo. I learned what a NOP sled was, you know,
I learned all the

things I couldn't ride one, but I knew what it was still
probably couldn't to

this day. And then I moved on. I kind of went into web
development for many years,

began podcasting about 13 years ago. I joined Adam
Stacoviak at The Changelog

and helped him run that podcast for many years. After a
thou over a thousand

episodes, I decided to retire from that.

That podcast's still going on, by the way, give it a
listen. The Changelog.

It's still awesome. In fact, aside,

Socket CTO Ahmad Nassri was on a recent episode. So if
you want some

some more supply chain security fix, go listen to that
episode of The Changelog.

And I retired from the game. I was, you know, sitting in
my backyard planting trees and stuff,

wondering what to do next

when you reached out to me and said, why don't you come
join us at Socket? So I

was delighted that you did that and happy to be here.
And one of the things I had to

do when I rejoined really the info sec

industry is learn all the new slang, all the new jargon.
I mean, software

development has its acronyms, but holy cow, like the
amount of acronyms in cybersecurity is like off

the charts, isn't it? I can't even imagine it. I mean,
when you're immersed in it, they

just become second nature to you. But when you're coming
in from the outside, you're like,

what are these people talking about? So I've learned
some new words that I think are

interesting. I thought it'd be cool to talk through a
few of the new slang, the new jargon

that's coming out as kind of the industry advances and

evolves. One of them is called an autodoxer.

I'm assuming you know what this is, Feross. In fact, you
were teaching me about

something last spring where, um, where attackers would
use

LLMs, not just to find the vulnerability or write the
exploit,

but actually at the exfiltration stage, they would like
take over your agent and give it a prompt, right?

So they're like basically

prompting the agent on the machine.

They've just exploited

and using that to exfiltrate interesting information.
I'm not sure if there's a term for that,

but there's a related thing

called an autodoxer. And it's basically the same
concept.

Instead of exfiltrating just information, uh, after
they've exploited your machine, they'll

actually compile a structured evidence bundle and
they'll hand it off to various LLMs. It's

like an LLM cascade, like whichever one they can get
access to. And they ask the model

to then rank the victim's assets by monetization value.
And so it's

really just like a, it's like a, a model doing a dossier

on a person, you know, like automatically without the
attacker having to know just, they're just

like, get all the information, hand it to the model and
say,

create me a dossier on like, what's the best way I can
take advantage

of this situation I've got them into.

And it's cool because the system, I mean, it's cool in a
sense of, I think it's clever.

It's not cool. Like don't do it guys.

Don't do it. But that's always the thing in security, by
the way. There's so many of these

things where you're like, that's, that's cool. That's
clever.

But you kind of, you, you admire the craftsmanship, but
you're kind of like, man, I wish,

I wish those people put that to, to a better use, you
know, right?

Yeah. It's like, could you use that to benefit society,
please, instead of like, you know, steal

money from people. Um, and the prompt directly reveals
the use case so

that you can actually, I'll link it up in the show
notes.

There's a nice system prompt of like exactly what
they're telling the thing to do.

And it just asks it to produce us a concise analytical
assessment of the victim's suitability

as a target backed by an auditable trail of citations.
So very

official thing. And, uh, the prompt is kind of funny
cause it's like, you are an

investigative person. I get this setting up the stage. I
like how he asked the models to cosplay as

like a role before we tell them just to do, I don't do
any of that.

I'm just telling it to like, give me the thing, but
people like to give it roles first.

Anyways, that's autodoxer.

Were you familiar with that one, Feross? No, actually,
this is the first time I heard it. So

it's, uh, yeah, there's, there's so much happening, uh,
happening these days.

I'm so focused on, on, you know, what we do at Socket
and supply chain security. And, uh, sometimes

I miss these things. So it's pretty cool idea though. I
mean, I guess it's sort of like, um, like

you said, it's, it's, you just, it seems to me like that
what this is about is that you have all

this data that you stole as an attacker and the
bottleneck is like figuring out like what, what,

what do I do with it? What do I attack first? Especially
if you've cleaned, you know, collected a

whole bunch of stuff and you, uh, you know, there's some
juicy stuff in there, but you just, you just

don't know where to start. And especially if the
attacker or the victim knows that you, uh, you've,

you've, um, you've, you've been in there, they have time
to start like revoking tokens. And so how do

you figure out like where to spend your time first?

Um, right. So having some prioritization seems pretty,
pretty helpful.

And it's arguably faster and there's less to exfiltrate
because you're basically getting

the summary, right? Like you're getting the good bits
figured out quickly just based off the

processor. And then what actually has to go back on the
wire out to you. So like this one,

that's an example is called the VOLTA autodoxer. And it
was described by Ryan Fetterman on a blog

that I'll link to. And the workflow is like, you know,
you infect the host and you collect.

So you're stealing all the things, right?

Sessions, cookies, credentials, financial

you organize it. So that's just like straight up, you
know, programming pre-written,

correlate the bundle. Then you tell the LLM to create
this dossier package and it's basically

just summarizing and getting like just the best parts
that you care about. And then it only has

to exfiltrate that. So it sends that out to some
Telegram channel or something. And it's

interesting way of going about, I see. So that, that,
that ranking happens on the,

on the, in the victim's environment, not after exactly.

Got it. It's kind of insult to injury because you're
spending their tokens, you know,

that is pretty funny. I don't know. It's kind of like a
variation of like living on,

living off the land. I've seen this term, if you start
like living off the land usually means like

when you get on some system, you try to not bring in a
bunch of

binaries and, and, and other code and rather just sort
of use the Unix utilities on the system

because it's a little bit less

likely to set off alarm bells if you're just calling,
you know, curl and others are built in.

But so like, this is a, this is like a variation on
that, that I've seen called

living off the LLM, or LOLLM. And there you go. So yeah,
it's

cool. That's cool idea.

That's cool. The next piece of jargon that I picked up
recently is called ClickFix. This one's a

couple of years old now, but this one's also clever.
It's really a social engineering thing,

isn't it? More, more than anything, but

it's this idea of

getting the person basically to

own themselves by convincing similar to a phishing
setup, but

you're convincing the person who you're attacking to
infect their own

machine by disguising malware as what looks like some
sort

of necessary fix, you know, like something's gone wrong
and now you need to fix it. And I think the

most obvious example is like a CAPTCHA, like you're
showing them sort of CAPTCHA, they have to get

through it and they think they're actually just doing
what's right to fix some sort of scenario,

but they're actually invoking the action that you
couldn't do on

your own. The most popular, one of these most recently,
I think was the Binance hack, of

course, the biggest crypto heist in human history. They
did a click

fix on the engineer B.

There's like three engineers involved in that. And
engineer B got

tricked because they were doing some interview to get

a new job, which is, you know, on a company machine. So,
you know, not the smartest move ever,

but they got tricked into downloading some sort of
necessary executable as part of an interview

process. Like it's like a homework assignment. Like,
okay, you've done the interview now, download

this and you're going to whatever it's going to happen.
So is that actually, they did ClickFix.

They got them to paste something into the terminal.
Because I feel like once you, if you're doing

interviews, a lot of times I've seen the way these
attacks work is they'll get you to just clone

a GitHub repository and then, you know, do some work in
that repository. And so as part of that,

you end up running npm install. And then at that point,
they just, I mean, they can run whatever

code they want. Was it more like that?

That's a good question. I'm not clear on whether it was

that style or if they kind of the same idea, though,
you're really getting them to own

themselves by taking your code and running it on their
system. And they obviously aren't evaluating

your code and don't know what it's doing.

Yeah. And those attackers were very, what's the word

when they really wanted to get it done, persistent, I
don't know, like dedicated, I guess is why what

I'm looking for. Because they set up multiple fake
interviews with like a real person in order to hack

you. I mean, I have some compassion on

engineer B. Yeah, I think that attackers are really good
at

finding the softest spot, you know, the softest path
into an organization. So like, you know,

browsers have gotten pretty good at like not just
running random executable code, like, you know,

we're not living in the days of Internet Explorer and
ActiveX, where you just visit a website and

then, you know, you're owned immediately.

Right. So, you know, it's like, they've realized, okay,

well, I mean, if it's if I can't get and also you even
have like malware scanners, right, if you

download binaries, you know, the browsers usually check
and the operating systems check the

certificates of the binaries. And so there's all these
ways that, you know, just just convincing

somebody to run your malware has gotten a little bit
harder. But turns out,

convincing them to copy text. And especially on Windows,
there's a really there's a really

easy shortcut to open up the Windows command runner,
which is I think it's command R, if I

remember correctly, or sorry, command Windows, Windows
key R, you can

see I'm a Mac user. And then it just pops open this
little, you know, dialog box, and you can just

hit paste enter. So it's like, you know, a couple, two,
three keystrokes. And then, you

know, they're the attackers not running code on the
system. So

I mean, the web, the web also gives you an amazing leg
up there, too, because there's an API that

lets you put text on the user's clipboard. And it only
requires you to

click on something so you can trigger that in an event
handler. So all

they got to do is get you to click on something and they
can just put the text on your clipboard.

And that's even means that sometimes people kind of, you
know, they do you see these code

snippets, you know, terminal commands, and you have a
little copy to clipboard button, and then you

hit that button. And it doesn't just copy the command
that you see, it also adds an extra little bit

at the end that runs the attacker code. And so you got
to

you got to read what you I really hate that because it's
such a useful and convenient thing,

like copy to clipboard, right? Like, I love it when
somebody has put that button on a website,

I don't have to copy paste, I can just click it. But
maybe I should stop.

Yeah, I mean, most, most terminals these days will show
you the text, like, because the other

thing is you can copy and you can copy, you know, a new
line character into the clipboard to so that

when you paste it automatically pushes enter, you know,
in the terminal. And so most terminals now

have mitigations for that where, even if the thing
you're pasting

contains new line characters, it doesn't actually like
submit them to the terminal, it sort

of shows you the piece of text and then requires you to
hit enter.

So you can maybe catch it before you before you hit
enter there. But yeah, I don't know, it's

funny, because, you know, it's like, you're right, it's
such a useful API. And it's really not possible

to fix. I mean, maybe they could change the API so that,
like, you can't put arbitrary text on the

clipboard, but only something that's in like a clearly
defined part of the DOM or something, but it's a

hard problem. So what they've ended up doing is that
some browsers now, I believe, even like

multiple now have adopted this, this defense where they
look at the text on the clipboard and try

to just detect if it's a ClickFix attack, using, I don't
know, probably some kind

of local model built into the browser. So it's like AI
looking at the text and just being like,

does this seem like they're getting attacked? And it's a

very, you know, to me, it seems very like non
deterministic as a defense. But I guess it's

helpful enough that that they decided to ship it in a
bunch of

browsers. Yeah. AI versus AI is where

things are certainly headed. So this last term that I
want to unpack, which was brand new to me

recently is a silent patch. And I think it ties into our
next topic of conversation, which is kind

of the vulnpocalypse and this, this landslide of
vulnerabilities,

um, because patches are hotter than ever, you know, and
there's been so many patches coming out

that it'll make your head spin.

But silent patch is, I guess kind of under the radar.
People aren't talking about it much

because people don't know about this concept. Can you
share with me what you know about

silent patches? Yeah. So a silent patch is basically a
fix that

lands in a public commit.

And there's no advisory or type of sort of security
vulnerability that's been filed.

And so, um, basically that what it is, is it's, it's the
maintainer of some piece of software is

actually fixed a bit, an important bug, right? An
important vulnerability and just not bothered to

tell anybody about it. And so the only disclosure that
exists is really that, that commit, you know,

that diff. And so it means that, uh, if someone is smart
and they're

looking at these commits and kind of scanning every
commit and looking at that GitHub firehose

searching for these things, you know, you can spot, um,
vulnerabilities that are, um,

you know, can, can be pretty, pretty bad sometimes that
you could turn into exploits and used to

attack folks. Um, and, uh, and as, as a defender, it's
really hard to defend yourself from

something that you don't even know that you're doing,
right? It's like, you

know, you, you, you, you're running vulnerable software.

You use a security tool and it tells you, Hey, like,
yeah, that, that software has no known

vulnerabilities, right? Um, but actually, you know,
you're vulnerable. And so it's become,

becoming more of a challenge for, for companies in this,
in this era where everybody has their

own models and they're looking for these things they're
making exploits.

Yeah. It's nasty because the, the bad

guys basically get the benefit of the,

uh, of knowledge of the vulnerability without any of the
effort, right? They're just,

all they have to do is watch the commit flows and then
dissect and inspect and decide,

is this something that I could actually exploit versus,
uh, you know, it used to be harder than

that, I guess. And then of course you have this like
time between this time period of like when

the patches announced and released, and then when it's
actually deployed and, you know, across

different, uh, network connected devices

and white hats, like we're all trying to work to get
that window down as of course people are

overwhelmed now because of this vulnpocalypse.

But we're trying to get that time down that window down
to as small as

possible. But what the silent patch attack does, I mean,
watching for those is it actually just

increases that time because it's not even announced by
the person who

maintains the software. Like they're probably just
thinking, oh, I just fixed a bug and they're,

they're not necessarily thinking this is something that
I have to announce, you know, loudly. So

it's also not, not that easy. I mean, it's, it,

somewhat easier to file CVEs, but it’s not like a, it's
like not like a simple process. There's

a bunch of kind of steps and overhead.

And so, um, if the, you know, if you're, if you're busy,
if you're a busy maintainer, you know,

you might, you just might forget to do it or, or might
not want to put in the time to do it, or you

might not think it's a significant vulnerability. I
mean, maybe you're like, eh, probably nobody's

gonna, gonna use this.

And, and nobody wants to have, by the way, nobody wants
to have vulnerabilities filed against their

projects. Generally as maintainers, it's really annoying
because, um, people will open up, you

know, tickets and ask you back port to the older
versions and they just kind of, you know,

they'll, they'll, uh, there's a lot of a load of issues
and tickets that come in when, when, when, when,

when any, any version of your software has, it has a CVE
against it. Um,

so, um, yeah, it's a, it's, it's a tough problem to, to,

to, to, to solve it now. It's basically the defender's
job in a way to kind of watch commits

and almost like look for, look for vulns themselves
rather than just relying on advisories. It's just,

which is a, uh, yeah, I can see this turning into some
sort of service, right? Like I'm going to

watch this for silent patches and protect

people before the, before even like a new version of a
package rolls out, like it's before that.

Um, so it's also, it's also easy to like watch certain

developers that you know tend to work on security stuff.
So I mean, if you want to, you know, you

can just, yeah, it's a short list. Oh, this person
always seems to do security, you know, commits like,

hmm, maybe I'll just watch it. Their commits makes it
like a lot easier.

commits makes it like a lot easier. You don't have to
spend as many tokens, you know, finding these

things. So, you know, right. Yeah. I think the attackers
have

figured that out. Well, one thing that we figured out
recently is that there's a

lot of vulnerabilities and a lot of large, important,

long-standing open source projects.

Curious. I mean, you're still an open source maintainer.
I'm sure you're busy in these days. You're

trying to run a business, man.

Like have you had friendly security research to come by
your various libraries and stuff and say,

I found this, I found that because people are pointing
their LLMs at everything now and saying,

find me vulnerabilities. Oh yeah. I'm getting a much
more vuln reports. Um, nothing too,

too like severe. Um, but, but yeah, there's just a lot
more reports. Um, I'm also grateful that I

have like, uh, I've been able to add other maintainers
to like most of my libraries. So

I'm not the single point of failure on, on, on these
hopefully, um, too often. Well, let's go

ahead and list a few. I had my clanker go out and make a
list of just what's been going on the last

few months alone. And we have PHP2Shell.

We've got the LiteLLM vulnerability, uh, Broccoli2Shell,
which is a Brotli compression

library, Java4Shell and nginx2root. Those are actually
literally just this week. Node

has some major RCEs, GitLab major, uh, problems. That's

just a few. It's been really overwhelming. And to a
certain point now that I've been immersed in it,

I'm almost like jaded. Like I just, it's not like I
don't care, but

I'm like, yep, it's another day and there's another
something to shell or

to root. And we're going to have to deal with it, but I
guess the sensationalism is wearing

off on me. What's your take?

Yeah, look, I think that there is something different
happening right now. I mean, this

pace is not normal and people are calling it black
October because so many things were,

some vulnerabilities were discovered during that period
of time. I do think this is going to be

the new normal for the next at least six months. And I
think it's going to be a really, really

hard six months. And it's, it's not because, you know,
AI is like this super

awesome, like can hack anything anywhere type. I mean,
yes, it's actually, you know, LLMs

are actually really good at an agent's are really good
at, at like

finding these bugs for sure. But, um, I think it's
important to distinguish between like, some people

think of it as like, it's like this magic God AI that
can hack anything. Right. And, and, and, and that

is not what I think is going on here.

What I think is going on here is that there are decades
old bugs and, you know, the

foundations of a lot of the software that powers the
modern world. And those

bugs were always there. Those vulnerabilities were
always there for a determined attacker to find.

And the only thing that's changed is the cost of finding
them has, has collapsed. So we're just

finding the stuff that's been sitting there for a long
time.

And so at some point, you know, we will have like found
all the easily findable bugs and have fixed

all of those bugs, right? And like, so it's important to
not be like, to not feel despair

like this is going to be the new normal forever. I
think, I think

that the most likely outcome is that, you know, we will
see that start to get better after we've

found all this low hanging fruit that's just been
sitting there. And, and that's, that's a positive,

that's like more optimistic way to look at the
situation. And, you know, cause there is a

finite amount of code. I mean, you can't have, you know,
you might have, let's say a certain number

of bugs per lines of code and, you know, and you start
to fix those bugs. It's not like, you

know, bugs are going to get, you know, going to come out
of nowhere.

It's like you, you secure the code. Eventually there,
there'll be no more bugs to find. Now,

the only kind of caveat to that is if you think that
maybe,

you know, there's going to be so much more new code
written by agents that, you know, we're going

to, we're going to, and that code will have some of the
same types of vulnerabilities. And then

maybe, you know, you know, maybe we fix all the bugs in
the code we have today, but we're writing

10 times more code over the next year that's full of
vulnerabilities. And so then that might be like,

maybe the more negative view here. But I'm optimistic
even about that. Cause I do think

that the model companies are trying to make it so that
the first party code that comes out of the

models is actually more secure than what the average
human developer writes. And that, you know,

eventually if that's not true now, it probably already
is true now, but if it's not true now,

it will be true very soon. And so we'll actually end up
in, in a better place even there too. So

I, I don't know. I'm not, I'm not as, as like doomer ish
about, about this as some people.

Yeah. I think certainly if you take like the aggregate
of all human written code

and then you like figure it out bugs per capita, and
then you do the

same for AI written, you know,

agent agentic code over, over time, ours is not going to
go down.

Like if we were to continue to write the code, like
we've been doing

this for a long time, of course we get, you know, memory
safe languages help. There are things that

we're doing to like slowly reduce how many times we can
shoot

ourselves in the foot, but it seems like the trajectory
of the agent written code, even over the last 18

months, from my own perspective of like just looking at
and reading and trying to reason around the

code that my agents are writing, like it's gotten
markedly better just in quality in general over

the last 18 months, markedly better to where I'm like,
okay, this is pretty much always better than

me. You know, for a while it was like this code is
trash. I would never allow this into my project.

And I was like, Oh, not too bad. You know, I guess you
can write some stuff.

And then I was like, Oh, that's clever. Go ahead. And
now I'm just like, you're the smart one

here. You know, like, I think it looks right, but
certainly better than me. And I think over the

course of what, I mean, five, 10 years, I would imagine
like new bugs per line of code, like

diminishes to the point where maybe it's not, it's never
probably going to be zero, but like super

low. You agree with that?

I think so. I mean, I do think that like, I mean, the
thing about, so the thing about security is

that it's a, it's not a static system. So I think that
even if we get better and like the models

make, make no bugs in that dimension, attackers will
find like other ways to attack organizations.

And the thing about like security is it is this, it is a
dynamic system. So you're not just like

fixing problems in a vacuum attackers adapt and they
always find the next weakest point. And so I

think, you know, um, I don't think like security will be
solved. Like all dimensions of security

solve, but like maybe this in this narrow area, like,
yeah, we will probably be writing better

first party code. Um, in some cases we already are
right. It's depending on how good you're,

how good you are. Yeah. I mean, I was just a middle, I'm
just a middle of the road engineer,

you know, so pretty good. You're underselling yourself,
but

yeah, thanks. Aw, shucks. Um,

okay. So I think that's optimistic. I think that's fair.
And I think just the,

the prospect of like, okay, it's not going to go to
zero, but it's going to get markedly

better from here over time.

And we have this moment. You said six months there. Are
you sure about six months? I feel like

maybe it could be a little bit longer. I like this, what
they're calling like a vulnerability

overhang where like there's, and you see it a lot of
these like the PHP stuff. It was like 2015.

I remember the sshhole.com. It was a really interesting
one where like basically any

string that you send that's more than 256 characters,
literally

any string to SSH servers running on Linux servers that
are running

musl, like Alpine Linux.

There's a bunch of them, not all Linuxes, but a fair
amount of them, any string over 256, you could just,

just authenticate as any user on that machine via SSH.
And that was there since 2016.

So like that's a decade has been sitting there now. It's
not there anymore. Like a lot of these,

to your point, these are old vulnerabilities that we're
finding. And so like that time span

is going to, this is the low hanging fruit, but I don't
know if we're going to be out of the

woods in six months. We'll see. Yeah, maybe 12 months,
but yeah, I don't, I just feel like what's

going to end up happening is people are going to need to
adapt the way they defend. And I think

once like defenders adapt, then it's going to become,
like, I really do think people are going

to start considering crazier and crazier,

like things that we would never consider in order to, to
defend themselves from these kinds of

things over the next six to 12 months. Because if the,
like, if, I mean, I've talked to some

like heads of security, you know, CISOs at some of the
top banks and they've, they've told me that

they've literally turned off services rather than leave
them running and, and remaining

vulnerable. So like with the PHP stuff, they just shut
off services at the bank, right? Which is like not

something I've ever heard of a security team being able
to do, usually, you know, engineering would have

a say and security can't be affecting availability to
that degree. You know what I mean? But,

but, but, you know, if the alternative is like, we're
going to get hacked, like, and we don't have a

way to patch this, so we're just going to turn it off
until we figure out what to do. If the

alternative is literally availability loss and, you
know, downtime, then I think, you know, people

are going to think about, like, you know, sort of, like,
more aggressive ways of solving these

problems. You know, you hear a lot of people talk about,
like, AI, attacker AI versus defender AI. The

AIs are going to, you know, going to fight it out and
you just have to kind of, I think that that's

sort of the right idea, but, but I think in the details,
I differ with sort of how I think the

defenders are going to do that. But,

because I do think that

people do need determinism and some degree of like
confidence that they're

not just letting an AI loose in their environment to,
you know, change their code and to do

production deploys, you know, at will to sort of defend
against an

attacker. But, but I just think that

there's, there's going to be,

people are going to be doing things that you might not
think we would be doing just from like a

engineering process and reliability and integrity
perspective in order to be responsive.

Give me one for instance, just one, and then we'll move
on.

Yeah. Well, okay. Like, like we've spent a whole decade
as an industry,

like trying to create integrity throughout our whole
like software development lifecycle. You

know, we can sign commits now and you can kind of make
sure that, you know, when you build something

that it's like not modified between when it's built and
when it goes into production and like

you want to, you know, everything goes through code
review. And so there's like processes and

change management for how like things get into prod.
You're no longer just like

SSH-ing into a server and changing the .php files on the
server. I don't know if you

ever did that when you were.

I totally did that. Yeah, I totally did that when I was
getting started. Yeah. I was like,

actually pretty awesome. You just like hit save and then
you refresh the page and like,

you know, very convenient. Yeah.

Immediate feedback. It was amazing.

Yeah. I mean, I kind of, yeah, I kind of wish that, I
mean, I actually think,

yeah, anyway, that's a different discussion, but PHP got
a lot of things right as far as

developer experience in some ways. For sure. So simple
and so nice. But anyway,

so the point I was making was just that I

think people are going to need to accept some level of

like autonomous defense because you can't have the
feedback loop be.

You wake up in the morning, you read a headline about
PHP2Shell, and then you go like log into your

security tool and you check the dashboard and you look
for where you're using that package, you

know, or that piece of software in your environment. And
then you go and like figure out

how you're going to apply patches. And like that could
take a day, you know, I mean, that

could take too much time.

Right. And so like we need to have something that can
respond immediately when these things happen.

And so I think we're going to start

exploring things like hot patching, like literally
patching, running processes, right? We're going to

think about things like, I mean, WAFs have always been a
thing, web application, firewalls,

things like Cloudflare and others. But, you know, those
have

kind of, I think they've always been a little bit more
trouble than they're worth. But I think

we're going to start seeing that actually, you know,
again, if the alternative is like turning

the service off and WAFs always have a bit of like risk
of breaking the app or blocking legitimate

requests, that's what makes them kind of finicky. But
like, you know, again, if the alternative is

you're going to shut the service off anyway, like maybe,
you know, maybe we consider, you know, like

pretty aggressive, like responses and with things like
WAFs and, you know,

Socket has like a thing that we've been building for a
while that's called Socket

Certified Patches, where, you know, you just take code
from Socket that

we've, you know, vetted and certified to be, you know,

addressing the vulnerability and then you just put that
into prod. And you probably do that without a

human review, like autonomously. That's what we think
people will be doing is saying, oh, yeah,

there's a vuln, Socket has a patch, like skip the human
code review and just do a deploy and apply

this patch into prod because, you know,

again, Socket, we're doing everything we can to make
sure that we're not like breaking people's

apps and that those patches are really tested and not
going to cause any downtime. But even if

there's some risk there, like, again, the alternative is
much worse. So people are just going to accept

that. And I think like the compliance regimens that
people follow are going to have to adapt.

So maybe in that kind of a scenario, we're going to skip
code review. And that's not usually

generally a thing that we want to do, but maybe we
would,

you know, in these scenarios. Okay.

Desperate times call for desperate measures, maybe not
desperate, but extreme measures. One

other thing I wanted to get your take on

dependencies are over, question mark. So this comes from
an X post by Jarred Sumner, creator

of Bun, now works at Anthropic.

Disclaimer: Anthropic is a Socket customer, but Jarred
has this idea. He says, what's going to

happen to open source? A prediction dependencies are
over the

same Brotli vulnerability that impacted .NET, Node, Bun,
Envoy, and more.

dependencies are too big of a target. When rewriting a
dependency is one prompt away. Why take

the risk? So that's Jarred's little prediction on where
he thinks things are heading. I think on the

small, especially, especially when it comes to personal
software, I have some sympathy to this

because I find myself having less dependencies already

in my code. Cause I just feel like it's just a prompt
away. But I wonder when we talk about in

the large, you know, big businesses doing many things,
complicated software, if you agree or

disagree, obviously dependencies are over is an
exaggeration to get attention. He did a good job.

This is a good post, but what do you think like less
dependencies over time or no?

I think it's half right. I think that left-pad sized
dependencies are probably over, um, and,

and kind of good riddance in a way. I mean, yeah, like
I, like funny cause I

actually, I have a more

in the past people gave npm, you know, a lot of crap for
being, you know, like people saying

people forgot how to code and they got to install
dependencies. It was that you, Jerod? Uh, well,

just like the super small ones, you know, like the
Sindre Sorhus, like he had hundreds

and they were like slightly more complicated than
left-pad, but not much. And I'm like,

this just seems like not the way to write software, but
that was, I think the counter example, okay.

So AI has changed things, but at least in that older
debate, I was, I was actually more sympathetic

to the, to the, to the side that, uh, felt like
left-pad, you know, earned its right to be a

package. Because if you go to like the, the Reddit
threads and the Hacker News threads where people

were talking about how left-pad was, you know,
shouldn't, shouldn't be a dependency and they would

implement. And they're almost all the implementations
had bugs and didn't handle edge cases that

left-pad did. So the idea that you could kind of
centralize that, that logic and kind of accrue

fixes over time is like, I still have some sympathy
toward that, but yeah, with LLMs now,

it's like, it's just not worth it. Like the risk of, of
that

maintainer getting, um, you know, being a supply chain
risk to your projects and just the overhead, like

it's, if it's three lines code, the LLM is going to do a
fine job and in most cases. And so I

think that, I think that the more complicated cases,
like, you know, um,

the, the larger packages, I mean, like the models are
trained on, on, on open source code. So

they've, they're really good at like writing front end
code in a React paradigm. Right. So by doing

it, you would go and write your own, you know, front end
framework and like break outside of the

paradigms that the models are really good at is like,
actually means that you're going to be

worse off in the models. It can actually do a worse job
of, writing that kind of code for you. So to

the extent people even do try to rewrite those things, I
think it's going to be within the same

paradigm. Like maybe they

fork it and they make their own like version in a memory
safe language or they make their own, you

know, um, uh, yeah, they might make their own version.
If, but I do

think even then it's going to be limited to sort of
strategic cases where it's like, we really think

that we should own this and we should, you know, I could
see like in five years, maybe, you know,

companies saying, you know, look for our, for our
specific cases, it might make sense for us to just

have our own Linux kernel that optimizes for certain
things, deletes all the features that

we're not using. Maybe it has better performance because
you can remove layers of cruft, you know,

that, that you don't need.

And, but I just, the idea though that like you and I are
going to be like writing our own

operating system because like we can, because, you know,
why would I use macOS when like, I can just

make my own operating system code is free. Like it's
like, well,

there's still value to ecosystems.

There's still value to like interoperability. There's
still value to sort of like shared, I

mean, like even at a biological level in, in physics and
stuff, there's

like these, you know, you see these patterns where like,
there's like code reuse, you know,

there's like common modules and things like it's.

So I think, I think that, I think it will, it will
definitely, um, reduce dependencies at the,

at the trivial size, but I think we're, we're still
going to be, um, we're still going to be

dependencies, um, that, uh, um, you know,

that are larger and that are more significant and where
there's benefits of like shared code.

Because look, the first party code is not, you know,
it's funny because if you, you will now

be the one responsible for the security of all that
code, like your tokens are the only ones

looking for bugs. If you use an open source library,
like all the, all the, all the scanners

in the world and all the companies in the world are
looking at that code and improving it and

sending patches to it in theory, right? So like that,
that is an important difference. The Brotli

example that Jarred puts in there, I think it's an
interesting one. I think it might live right on the

threshold currently because, okay, left-pad, simple, you
know, certain

libraries, simple. Brotli is a compression algorithm,

relatively simple in scope. Um, but it's also a
specification. And

so there's a good, I think it's a good specification.
And so it'd be pretty easy to build

your own because you have a, a agreed upon and
well-documented spec that you could build

against, but then there's a single implementation of
Brotli that everybody was using. I don't know

if it was C or C++, but it was Google's Brotli library
that everybody pulls in and that's

what had the bug in it. Now, if we all just agreed on
the spec and had our own

implementations, maybe at that size, what do you think
about like a Brotli sized dependency still

worth open source today or no?

Yeah. I think that if you prompt a model

to re implement Brotli in, in, you know, a memory safe
language, if you're telling

me that the, that the most popular library today is
written in C, you know, and you have, and the

model has the source code of the C version.

I need to fact check that, keep going.

Yeah. But if the model has the spec and then the, and
then the reference implementation at its

disposal, like I'm pretty sure it could make, you know,
it's possible to make like a really good,

memory safe version of that with, without too much work
that's going to be compatible with the,

with the main implementation that everybody's using
because you have the spec and because you

have this like implementation you can refer to. So like,
even at that level, you could totally do it.

It's just, it's just a kind of question of like, are you
going to be

the one to do that yourself in your project? And is
everybody going to be doing this

themselves? Or are we just going to have something akin
to like, somebody

rewrites it once in a memory safe language and publishes
it.

Still an open source library. It's still a shared
component that everybody uses,

but it's a significantly improved component because it's
been ported to, to memory safe

language and it's been, you know, honed and improved and
layers of cruft have been removed.

And so you still have open source. You still have a
supply chain, but it's, you know, we're actually

going to, like, is it, are we going to be upgrading the
supply chain in place almost and like making

better versions of all the software or are we going to
be, you know, again, like everybody making

their own implementation internally. And I just, you
know, I, I, I

think I still think unless there's like a specific
strategic reason why you need to have your own

implementation and, and, and doing that, is it going to
be better for you that there are just

like basic kind of laws of the universe around economics
of this, where it's just like, why

would you spend the tokens if,

if it's already there on GitHub and someone else has
already done the Rust rewrite, you know what I mean?

Right. Yeah. Save a token, ride an open

source project, you know, or cowboy.

I want to ask you really quick about this concept that
you have inside of Socket,

which I think is awesome, but also find it very
interesting in a security company.

You can just ship things. This is like sort of a
manifesto, but it's really just like a bulleted

list. I think you should write a manifesto, but you're
encouraging us to never be blocked to

understand one way doors versus two way doors. And if
it's a two way door, just like walk through it.

You're, you're telling us, don't ask for permission, ask
for forgiveness and be smart about it.

And I feel like it's a very empowering and enjoyable as
an

employee message. And I'm just curious if you could
maybe unpack where that came from and then

maybe, you know, put it in light of at the same time, we
can't ship slop. We

We can't ship vulns. We can't ship sucky things. So go
ahead.

Give us a minute on that. I think the, the, the, the
place where this comes from for me is that

I think that organizations, as they grow over time,
accrue more and more organizational cruft,

bureaucracy, extra steps that you need to do before
you're allowed to launch something,

before you're allowed to write a blog post, it needs to
go to marketing review. It needs to go to,

you know, comms, you're like all this kind of stuff,
right? Like to me, that stuff exists.

It's the more that more of that stuff that exists, the
more, you know, it's less fun

for a empowered, like hyper competent person to want to
work in that environment.

I would much rather hire a team of people that are, it
can be trusted with that kind of,

you know, with maximal responsibility and let them do
their thing.

And, and, and I think that if you, if you don't fight
against the tendency to introduce process,

you end up with a place that, that the good people don't
really want to work at anymore because

it's just too painful. And, and then, and so I think you
have to fight against that,

this tendency to say, okay, we did something wrong when
there was a mistake, you know, we did a

launch and, you know, we forgot to do whatever one part
of the steps. We forgot to write a document

that tells the, you know, customer engineering team how
to explain

it to customers and, you know, whatever you make some
mistake. You don't want to make that

mistake again in the future, but so you should, we
should learn

from our mistakes, but the, the instinct can't be always
to introduce a new process to prevent that

mistake from happening. In some cases it's worth doing
that, but not always. And I think a lot,

a lot of times organizations reach for that. And then
what ends up happening is like every time a

thing happens, you just add, it's like what happens to
the legal code, right?

Like they only add laws, they almost never delete laws.
And so you end up with this like

legal system that nobody can understand. It's too much
process, too much work. And so you end up

just kind of, you know, we're almost certainly breaking
tons of laws

every day. We just leave our house and walk down the
street because there's, you know, technically

so, so many laws that are overlapping and conflicting.
It's self-contradictory. And so I just think

in, in environments like that, it's hard to get things
done. And the whole advantage that you

have as a startup company is that you're supposed to be
able to move faster than larger

organizations because you have fewer resources, you have
fewer people, you have less money, right? You

have, all you have is your speed, right? And so you
can't be getting in your own way with these types

of things. And so that's where it's coming from. It's
sort of just to remind people as they join the

team that look like this is a place where you're
empowered and like you can, if you see a problem,

you should feel like it's your job to fix that problem,
right? It's not someone else's job. It's

not, oh, well, that's on that other team over there. And
like, I'm sure that they're aware of it

and they'll deal with it. No, like maybe they're not
aware of it. You know, maybe you're the only one

who actually sees that as a problem and you have a
unique insight and you should go and

actually go and fix it or go and raise it, you know, to
them.

And don't, don't feel like you have to stay in your lane
as much as, you know, as, as, as maybe a

larger organization. Love it. Well, we are officially
out of

time. So this has been Socket radio episode one. Here's
what to

expect from the show. It'll be a weekly show. So expect
it every week, hopefully on Wednesdays.

That's the plan. Weekly on Wednesdays. We'll see if we
execute on that. If we ship things,

expect more interviews, expect news and analysis,
technical deep dives, expect Feross

when he's available. We plan on doing some fireside
chats

with thought leaders, CTOs, CSOs, open source people,
whoever

makes sense. So he'll be back and around. We are just
getting started.

Please, if you enjoy this and you are excited about what
we're cooking, please tell your friends.

If you didn't like it, you know, tell your enemies and
then make them listen to it. That might

work. I'd love to hear from you. Email radio@Socket.dev.

That's episode one, y'all. We'll talk to you again next
week. Thanks, Feross.

Yeah. Thanks, Jerod. See you around.

[Radio tuning]

I'm Jules Voss and you're listening to Fault 99.1, the
place

for anything but the obvious Up next, the hot new single
by The Osferr

Gang. It’s called “We Can Just Ship Things.”

I know what you're thinking. Ship it already, Jules.

♪ An idea inside your head

♪ Something no one's tried.

♪ You turn it all around

♪ Take a look from every side.

♪ There’s a hundred ways to start

♪ There’s a thousand ways to stall.

♪ Spend your whole life deciding

♪ And you'll never ship at all.

♪ You can just ship things.

♪ You can make the first move.

♪ Breathe your thing to life

♪ Let the world feed back to you.

♪ We can just ship things.

♪ We will. Oh, we will.

♪ Know the doors that swing both ways

♪ Know the ones that close for good.

♪ Let somebody test the edges

♪ Make it work the way it should.

♪ What are we waiting for?

♪ What are we waiting for?

♪ Let's just ship things!

♪ Let's just ship things!

♪ We will!

♪ We can just ship things.

♪ We can make the first move.

♪ What started in our heads

♪ Becomes something brand new.

♪ We’ll learn, change, improve it still.

♪ We can just ship things.

♪ We will. Yes, we will.

Vulnpocalypse Now
Broadcast by