How Does Secure Software Start?
Dane Knecht says secure software starts by shrinking the attack surface: fewer places for a vulnerability, simpler software, and less code. Formal verification, safer programming languages, and safer runtimes will come later. Early AI is very verbose, likes to create complexity, and has not been helping Cloudflare build more secure software. He thinks it will get there. Human judgment still has to make sure the design can stand securely.
The work has to be solved at every level, the way humans did before agents. Product engineers need training. Security teams still need checks and balances and a second set of eyes. Cloudflare has been writing its principles down. A document called the Codex gathers many RFCs the teams built: how to build secure software at Cloudflare, how to build available software at Cloudflare, and the best practices. The Codex boils up into 10 commandments that agents follow and use in every part of the review process.
Agents still ride a lot of the slop. Deeper in the factory, people run the performance runs and the security runs. Cloudflare still needs adversarial reviews, just as the company did before agents.
Democratizing Security for the Agentic Web with Cloudflare CTO Dane Knecht ·
From the transcript
Like what do you think is going to create better software from first delivery? I can go back to first principles of there is you want to reduce your attack surface area. The easiest thing you can do is to give less places for there to be vulnerabilities. So, you know, looking at all your software and saying, how can I simplify this? How can I reduce the footprint, the code? And then, you know, beyond that, I mean, things like formal verification, like, and I think things that, you know, safer programming languages and things that are kind of built into the runtimes that make everything safer will come.
But, you know, I think it just starts with, and, you know, AI, at least, you know, the early AI is very verbose. It likes to create complexity. So, you know, AI in a sense of what we've been dealing with is actually uh uh not been kind of uh helping build a a more secure stuff right now but i i think it will get there and i think uh uh the you know that's where humans still come in and human judgment comes in and uh making sure that we design the software in a way that uh can stand on you know some securely That was actually going to be my reaction when you say we want to reduce the surface area.