The alpha, twice a week
That was 4 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
All-In · 4 min · Nov 17, 2026
Ali sees legacy code as a finite cyber-risk backlog
Ali Ghodsi argues that AI-assisted scanning can secure new code while teams work through legacy vulnerabilities.
In this episode
Full analysis- 13:33Enterprise AI needs context, security, cost control, and control of IP4 min
- 44:01Recursive self-improvement requires four conditions5 min
- 29:41AI reveals why some engineers ship far more code3 min
- 38:57Ali plans to go public but is waiting out AI-era volatility5 min
- 50:05Ali sees legacy code as a finite cyber-risk backlog4 min
- 33:56AI can surface stalled decisions and culture drift4 min
- 24:10A survey analysis separated employee issues by department3 min
- 4:35Databricks' contrarian bets gave it years of head start3 min
“there's only a finite number of vulnerabilities in the code. Once we've secured that code base, there is no more.”
Ali Ghodsiat 53:13 · All-InTakeaways
- Attackers need one successful intrusion; defenders must secure every entry point.
- Ali sees legacy code as the main backlog of vulnerabilities.
- Scanning new code and rewriting old systems could reduce future exposure.
About this segment
Ali Ghodsi argues that AI-assisted scanning can secure new code while teams work through legacy vulnerabilities. He sees this as a finite cleanup problem, while stressing the asymmetry between attackers and defenders.
Ali Ghodsi is CEO of Databricks.
Co-founded Databricks, which he has led as CEO since 2016, and helped create Apache Spark.

Chamath Palihapitiya, Host · Founder & CEO, Social Capital
Led Facebook's growth team; his firm backed Slack and AI chipmaker Groq.

Jason Calacanis, Host · Founder & CEO, LAUNCH
Early Uber angel; sold Weblogs Inc. to AOL; hosts This Week in Startups.

David Sacks, Host · Co-founder & partner, Craft Ventures
PayPal's first COO, founded Yammer; White House AI & crypto czar 2025–26.

David Friedberg, Host · CEO, Ohalo
Founded The Climate Corporation, sold to Monsanto for about $1.1B in 2013.
From “Databricks CEO: AGI Is Already Here, Why Companies Are Behind, and the Superintelligence Debate”, Nov 17, 2026. Watch the full episode
Answers “Will AI make cyberattacks worse?” See all 70 answers
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 50:11
which would have lost, I don't know, 10 pounds of butter. It wouldn't have been a big deal. So look, cyber, I do think, is a real thing. Yes. And I think it's a real risk. We actually have a whole product in the cyberspace called LakeWatch built on all this data that has automated agents that actually detect these kind of intrusions that are happening and they monitor your agents that you have. This is a real problem.
- 50:32
And I do think bad things will happen here, but then we will adjust. But bad things happened when internet came out as well. Shouldn't we be able to solve for this? Because you tell me if I'm right or wrong here. One theory I heard, which resonated with me for a certain type of hacking, not for the, you know, script kitty hacking, but real hacking is you have a lot of compute. You need a lot of compute to execute certain hacks, like the hugging face one, you know, thousand agents whatever the bad guys don't have that much compute the good guys have a massive amount of more compute and so if you just did your basic job as a white hat and you know uh defended properly and look for these exploits let's say you have a thousand times the resources you should be able to get to these problems long before the hackers does that make uh good sense to you that
- 51:22
they're just yeah yeah it's a good argument right yeah it's it's but there's a the the issue is that you have to weigh that against the following asymmetric scenario that we have which is if i'm an attacker you know i can launch thousands of thousands of thousands of agents and i all of them can fail except for one and if one of them gets through i'm completely successful the asymmetry is that if i'm a defender you know i was able to like you know you know protect uh you know my my boundaries all the time except one got through this is a suicide bomber right not to be too graphics, but you only need to get one 9-11 to make your point.
- 51:56
You can try a thousand times and not get it. So I need to be 100% safe all the time. They need to just get one thing through. So it's very asymmetric, that risk. But however, the way I would look at it, the reason I think that we're actually going to overcome this and it's going to be totally fine, is that these are actually latent bugs that exist in the source code. By the way, we're not creating more of them now because almost all of us are now scanning it. We all have products. I mean, we actually sell a product where we can scan the vulnerabilities of new code.
- 52:23
So new code that's being produced is not going to have these vulnerabilities. By the way, that might sound silly, but think about it this way. In the next 12 months, we're going to... write more code than ever in the history of mankind, right? Actually, in less than the next 12 months. So all that code is going to be secure. So then, and by the way... Because right now, the AI is sophisticated enough to not make human errors and to look for it.
- 52:43
And it's more dogged. Yeah, you just scan those things. So then what remains is all the legacy code, which, by the way, we can rewrite all of it, which is what we have to go through. And people are doing that, right? Yeah, we're doing that. Yeah, there's other ways to actually also protect, you know, do shadow patching before even actually without touching the existing legacy code. But so, you know, what's happening is that you can think of it as like, you know, it's like a fruit garden and there are like these bugs that, you know, attackers are leveraging.
- 53:07
They're picking the low-hanging fruits. And before humans could pick a certain low-hanging fruit, now agents can reach higher and pick higher, you know, hanging fruits. But we're going to clean those up and then they can maybe reach a little bit higher, but there's only a finite number of vulnerabilities in the code. Once we've secured that code base, there is no more. So it's not like there's an infinite thing and this is going to go on forever.
- 53:27
No, it then stops. Then we're at the steady state and then, you know, vulnerabilities might actually be fewer than what we had in the past.