← Browse

Europe 2026

Why, and how you need to sandbox AI-Generated Code? — Harshil Agrawal, Cloudflare

Harshil Agrawal

Overview

This talk addresses the critical need to sandbox AI-generated code, emphasizing that such code should be treated as untrusted. The core thesis is that while AI can accelerate development, running its output without proper security measures is akin to executing code from an anonymous internet source, posing significant risks. The presentation advocates for applying established sandboxing principles, particularly capability-based security, to mitigate these threats.

Who should watch

Key takeaways

Notable quotes

Harshil Agrawal states, *AI-generated code is untrusted code. The same LLM that writes beautiful working React components can be tricked into exfiltrating your database.*
He advises, *Don't enumerate what to block. Enumerate what to allow.*

Watch on YouTube →

Unofficial community note. Prefer the recording for nuance.