It's not the time to be comfortable in your job. No, it's not a really big thing.
I don't know. Probably not at first. It'll be a better idea as the red... It doesn't matter if it's a good idea or it's coming. Coding agents actually build more secure code than humans do.
They'll lose their entire life savings. And that's it for them. There is no recovery.
Yeah. We just accept that. We're just somehow okay with that. That is like complete economic warfare.
Hello and welcome back to Threats, Pitfalls, and Risk Myths, the TPRM podcast. My guest today is the one and only Alex Stamos. Now, he's been the CISO at world-renowned companies like Yahoo, Facebook, Sentinel One. He was the founding director of the Stanford Internet Observatory, founder of iSEC Partners, and the Krebs Stamos Group. And for those in the know, he was a part of At Stake, the OG elite digital security company whose employees went on to shape much of the industry as we know it today. He's now the chief product officer over at Cognition, where he's building the tooling to ensure that the world is ready for a reality where most of the code is gonna be written by agents. This is a really wide-ranging episode. We got into things like the second-order effects that are gonna occur when writing an exploit costs nothing and a kid in St. Petersburg has access to the same tools as advanced nation states. We also dive into the reality most boards want to find ways to cut a fifth of their employees with AI fairy dust. What you can do about it. This is a great episode with some dark twists and a whole lot of entertaining snark and commentary. So let's get into it.
Hey everybody, welcome back to Threats, Pitfalls, and Risk Myths, the TPRM podcast. I'm here with Alex Stamos as our guest today. Thanks for joining.
Yeah. Although I guess I'm joining you now since I'm in your fabulous offices here.
Yeah, thanks for coming to the office. Great. And for those that don't know, Alex, I don't know if you need much of an introduction, but you've been CISO at Facebook, running the Stanford Internet Observatory. You're teaching there.
Now running product, I hear you're excellent at hanging televisions and painting walls here at Cognition.
Well. Yeah, you gotta do everything, man. That's startup life.
And maybe for those that don't know, because you've been working at Cognition and you and Jack and starting the company and working on a lot of the interesting problems that we have around AppSec and development, especially in an agentic era. Do you wanna maybe just chat a bit about that?
Yeah, well, you know, Cognition started early last year by two of my former students, Jack Cable and Ashwin Ramaswamy. Their goal was to apply AI to the hardest problems in software security. I was one of their first investors. It was pretty clear that Jack wasn't gonna be sticking around CISA. But unfortunately did not win in his red district in Georgia. That would have been kind of cool. So they were looking to turn lemons into lemonade and decided to start a company. I was happy to be their first check and was their advisor. And then when they were doing a great job in what they were building, and I was so impressed, looked like they're having a lot of fun, I decided to leave being a public company CISO and join them full-time last summer.
Um, so yeah, yeah. We're building product that plugs into coding agents, watches what it does, provides that telemetry to CISOs and VPs of engineering, and then helps it build code that actually fits to what a company does. You know, like from my perspective, and I'm sure we can talk about this, coding agents actually build more secure code than humans do.
For the most part. It's generally not good at understanding the context in which especially larger enterprises want code to be built.
So we index your code base, we understand those things and then we help companies build out like, how do you want to do secret storage? How do you want to do service-to-service auth? Like what are your, if you're a medical institution, how do you want to handle PHI? And so we watch how the coding agent is building things. We inject advice in real time. And then especially now with autonomous agents, we do a bunch of work to make that safer.
Yeah, and I think that's something a lot of people are hitting and finding out because like everybody I talk to is like, well, I can build that with one shot, I just have it build it and like, yes you can do that? You can. And it will work. Yeah. You know, I think that like it gets to the whole, the whole Pareto principle just becomes more and more true. Like the 80% of getting it done is super easy and you can get it, it works, but there's that last 20% becomes much more important, I think, now in a world where you're building with agents.
Yeah, I mean I think it ends up being that with agents like that, that last 20% is where a lot of the value ends up accumulating.
Um, but for you all, I mean, how did you, when you think about the problem of building with agents, I mean, how did you come to that direction of how you want to be involved with it? 'Cause there's a lot of different places that people are kind of interjecting different products to try to build secure code and you know, run things securely. Um, like what was the sort of thinking that got you there?
Yeah, I mean one, we're constantly trying to listen to customers and build what they need, right? Like you know, the product is constantly changing based upon where software development is going. And it will be different in six months because of how people write code. You know, one of I think the advantages we have is that we're here in the 49 square miles of San Francisco, or realistically the couple of square miles down into the... People are not doing tons of, I mean, some people are doing cutting edge software development out in the Sunset at home. They're working for companies here on their work from home days. But you know, in the very handful of blocks here, the future is being written, right? And that's actually one of our kind of product design strategies here is that we are, you can see like five of our customers from that window right there. A couple of them we have logo rights for so you can look them up of who those ones are. And the idea is if we design for what they are doing today in June 2026, that is how a Midwest hospital chain will be writing code at the end of this year.
And so you know with autonomous agents like right now those customers are writing code by having their employees write around doing their one-on-ones, walking around Salesforce Park, right on the top of the Transbay building. They gotta move every now and then or... and they're walking around the park and they're one-shotting by doing @cursor or @claude on Slack.
And you gotta keep the tokens burning while you're... Right, exactly. Like I'm not costing enough money to like... and so yeah, yeah. It's like, oh, switch the table. I could get ten times the sucker. Boom, boom, boom.
And they do an @cursor on Slack on their phone, and then that might get merged without ever human review.
That is not how, you know, Medical Partners of Wisconsin is doing it. In fact, that's terrifying for most everyone except for the people, and even some of the people here are not quite on board with that. But by mid-next year, that's how everybody's gonna do software development. With a couple of exceptions, but almost everybody will do software development. It's just, it is inescapable that that is gonna be the only way that you'll be allowed to do it. Because it's just so inefficient otherwise. And your competitors will, right? Like if not your big competitor, some tiny little competitor will do it. And um, you know, I was a CISO last year and already last year, our board of directors was like, how can we get rid of 20% of our employees with AI?
Right. Of course that was, they couldn't think of any other way to phrase it. I... not right.
No, no, look, they did not exactly say that. I... that was not the exact words of the board. But everybody knew what they were saying. I mean, yes, it was in Wall Street Journal speak, like how do we capture efficiencies? Yes, but like that is exactly how every CISO and chief digital officer and CEO is being braced by board members right now as like, how do we get more money out of our stock by getting rid of all the employees? And that is going to include, I wanna, you know, I have heard from my friends on other boards that they are writing code with these autonomous agents and they're merging. And so if we can figure out how to make that work for these folks, yeah, then that is something that we believe we can help enable. And is it a good idea? I don't know. Yeah. Not at first. It'll be a better idea than Red. It doesn't matter if it's a good idea or not, it's coming. And so we, you know, those of us who work in security and trust and compliance, have to find a way to make that as good an idea as possible.
Yep, yep. And I think I mean, and this is where I think it's fun and super interesting for you and everybody else is we don't know what the right answer is.
But we do know it's coming and we know it's happening. It's like, and everybody's experimenting and trying all these different things.
There's something freeing about it as a security person. Like as a security person, you're kind of trained to say no. You're trained to point out the downsides or whatever. And the AI revolution has meant that security people are just getting overruled at... Like you can't say no because you're the person who's on the... And so there's something freeing about that of like you're just gonna lose. So now just do the best you can.
Yeah. It's yeah, there's something nice about that.
Now, I mean, if you're the public company CISO, like it's kind of rough if you're the public company CISO, because Sarbanes-Oxley hasn't changed, right? So it will be a little rough to be a public company CISO when... Yeah, the lawyers come back. All of this stuff.
Yeah. And I mean, this may be a slight tangent, but what for the people that are on that 20% where there will be value captured somewhere. Yeah. Um, I mean what advice do you have for folks like that? Because I think like there is room for everyone to be working, but the problem is it's gonna be the 20% least efficient people that they're gonna want to move on with.
Yeah. I mean this is tough. I, you know, so I just finished, I was making you wait while you were setting up because I was actually submitting my grades for my class. And you know, my penultimate lecture for my class was my career advice to my students. I call it Uncle Alex's career advice because I started teaching at Stanford 10 years ago. And 10 years ago, it was biologically possible for my students to be my children, but that would have been scandalous.
And now it's just like straight up not scandalous.
It's like I actually have a, you know, a college sophomore as a child. So it's like, but I still call it Uncle Alex's career advice. But yeah, I was talking to my students about this of like how they should be thinking about AI. And it's kind of a crazy year because there's huge demand in some cases. You know, there's this New York Times article about the demand for security people and CISOs in particular. I mean, I have never gotten more calls from... Yep, definitely. I'm sure you've, you know, you get it all the time. I was just at a dinner with a recruiter, with a bunch of CISOs and we're all joking. Yeah, yeah. The recruiter is like, hey, would you like us all just to change jobs? You know, may take a commission on all that. We can get a really good security going. Um, I mean there's incredible demand for security people right now because AI is great, but for experienced security people. Yeah, right. Um, and it's not a great time. Yeah. And but I was talking to a friend of mine who I'm not gonna out her, but like a very well respected security person at a very large tech company. And she said that large tech company had over-pivoted on not hiring college grads and they're going back. Right. Like they have realized that they had created this skill gap in the company and now they'd have to backfill. Um, you know, of my 115 students, every year I collect resumes. I got 49 resumes out of 115 Stanford students.
That is a record ratio. Because they just can't find stuff and they're like... It's hard. I mean, or what's happened is even I've got full-time grads who are taking internships in June. Right. So they've got six-month, nine-month things, but they don't have five-year jobs.
And that's unique amongst intern cohorts for me. Um, so okay, so what to do? I mean, I do truly believe that in the long run, AI will create more economic growth. Um, it will create more economic opportunity. I think also our society is not structured to capture that in a way that's fair, right? Like a trillionaire was created today.
Yep. And then, you know, redistributed to the people? Yeah, yeah. You think so? You feel like that's gonna trickle down?
Not so much, but I was told.
No, I mean what's definitely what trickles down is the, no, the noxious oxides that trickle out of the generators outside those, um, anyway, the data centers that do, you know, build the unlicensed cogeneration plants. Um, no look, I just, we're creating all this wealth that doesn't get captured. And the, the hundred billionaires who I think are more thoughtful about this do talk about UBI and all this, but then we don't. Nothing actually comes of it.
Yeah. Yeah. To avoid that because from what I understand that was not so... No bueno.
Yeah. Yeah. And there's a bunch of people who are closer to you and me than the billionaires. I mean, like there's you and I are down here and the billionaires are, and the one trillionaire up there. But realistically, we would also be up against the wall.
Yeah. Right? Because we're on a podcast about AI, right? And like they'll be rolling the tape. You know? Yeah, exactly. About people? Right, right, right. Exactly.
And, you know, there's a lot of people who were first pulling the string on the guillotine who ended up in it.
Um, and I am really worried about that. That our society is not structured to help those who are gonna lose out on this.
And we are gonna create all these chances for entrepreneurship, but it's gonna take a while for that.
Yeah. And the people who are going to lose out in the short term. Like there's a generational gap where there's just... People aren't... And if that takes five years, like what happens to people in those five years? Yeah, like we don't have the social safety net to help people for five years. You can't wait for five years without a job or like working at McDonald's for five... I mean, like we're not ready for that, right? Like and underemployment or unemployment for five years is a terrible, terrible thing.
Yep. And yeah. And like I think historically, like societies that have large numbers of underemployed or unemployed angry young men that like... Doesn't really work out. Like there are, you know, people like Mao who have found that that's helpful to them, right? Like... We'll just go get re-educated on a farm and I think we'll be... Yeah, no, it's good. Ready to go. Yeah. I for one am looking forward to my time wearing a dunce cap and then working on a farm. Um, so yeah, I'm actually really worried about what happens, you know, if we've got like 80 years of industrial revolution that's gonna happen in 10 or 15. I think that's the thing people don't like as they say, well this has happened before over and over and it's like yes, but not in the compressed... Then what happened after the 80 years industrial revolution? And how did that work out for folks?
Yep, yep, exactly. Yeah. And even with that, I mean, that didn't get distributed to everybody all at once. Like right now it's suddenly AI everywhere for everyone at the same time. AI guys read a history book challenge. Uh... I'll just have it summarize it for me. Right.
Hey, ask Claude how well the Industrial Revolution worked out for the owners of the means of production. And for some it worked out great. There are other ones who, yes, my siblings are named after the Romanovs, so perhaps I'm a little... like Alexander, Anastasia, Nicholas and Peter. Like I sometimes ask my parents like how smart that was. And yeah, yeah. Uh... You better explain that very clearly in the future.
Well, for, I mean, so for people that are building right now, I mean, are there things that, like whether it's skills or it seems like way of thinking about things and just experimenting with tools, are there things that you generally recommend to people or your students when like how do you prepare for what's coming?
Well, I mean, for the older folks, I think you have to get hands-on. I think this is actually an interesting generational thing that like young people are hands-on, right? Like all of those students are AI-native. I think it's where I also see a huge problem is I have a number of colleagues my age who are also now having career challenges because they haven't stayed up to date. I mean, that is one of the reasons I was motivated. It's not the time to be comfortable in your job. I think is a really big thing.
And I think, I mean, this is advice I give to my students, is like if you are comfortable, you're decaying, right, in any career, in any field.
That was always true in tech, but because of AI, it's true everywhere.
Right. And doubly so in tech. If you're in any way not uncomfortable about how far you're pushing yourself, it's probably you should be pushing yourself further and harder. Um, 'cause there's just so much to learn and so much to think about. Well, going back to some of the agentic stuff, yeah. I mean, it did change a lot about not only how things are being developed right now, like we're talking about eventually getting to pull requests and code being merged without humans looking at it. But it's also changed a lot of the economics. And I was talking about this on the last episode. But the cost of a vulnerability, well, the cost of generating code is kind of approaching towards zero. Same for finding vulnerabilities. Uh, I mean, still there's a cost, but compared to what any of it was two years ago, I mean, we're an order of magnitude or maybe even two orders of magnitude cheaper when it comes to these. What are the implications of that?
Yeah, the cost of finding vulnerabilities and then especially of creating, I think, and we're only at the start of this. I think we're in the middle of finding vulnerabilities.
And we're at the very start of writing reliable exploits.