WhoBuilt

capability-based security

A security approach that grants code only the specific permissions it needs.

Timeline 0

Dated events, newest first. Open the sources under any item.

How we verify
No sourced facts yet
Facts appear here as talks mentioning capability-based security are processed.

Talks 2

19:40
Code Mode: Let the Code do the Talking

Sunil Pai describes Code Mode, where an AI model writes code that runs against a system’s APIs instead of making a long sequence of tool calls. Code can combine actions in one execution and support loops, state, sequencing, and parallel work; in a Cloudflare API example, two tools reduced a potential 1.2 million-token interface to about 1,000 tokens. Pai argues that safe, observable execution environments with explicitly granted capabilities could let people interact with systems through custom code and interfaces generated for their needs. He closes by urging developers to design APIs, documentation, and errors for agents that discover and use those capabilities.

Apr 19, 2026· 20 minDiscussed 12:48
38:26
Why, and how you need to sandbox AI-Generated Code?

Harshil Agrawal explains why AI-generated code should be treated as untrusted code: it can be wrong, expose secrets, or follow malicious instructions, and it often runs with the application's privileges. He recommends capability-based security: deny access by default and grant only the specific capabilities the code needs. Use V8 isolates for fast, constrained tasks such as tool calls and data transformations; use containers when code needs files, processes, package installation, or a development server. He closes with safeguards including per-user isolation, restricted networking, resource limits, keeping secrets outside sandboxes, cleanup, logging, and input validation.

Apr 8, 2026· 38 minDiscussed 8:14