Back to Claude Code’s Next Era — Thariq Shihipar, Anthropic, with Thariq Shihipar & Vibhu Sapra.
How Does Claude Code Auto Mode Check Permissions?
Thariq Shihipar · Shawn Wang · Vibhu Sapra
Thariq Shihipar says Claude Code auto mode checks whether an agent is acting inside the permission the user gave, while probes judge whether the intent itself is bad. A failure in any one security layer can let an agent escape the sandbox. Model training sits underneath probes and classifiers. Auto mode is another classifier on the requests being made, and identity and permissions sit beyond that.
A run of 10 minutes on full access or auto mode once looked manageable. Agents now run for hours, and fallbacks are still required. Models can wipe sensitive data. A scoped key for a production database is not enough, because the model can use computer use to issue its own key, copy the key over, and edit the database to finish the task. Probes judge intent, such as hacking an artifactory. Auto mode judges whether the action matches the permission the user gave. Sometimes a database write is allowed, and a probe should not block it.
As models get more intelligent, new false positives appear, and Anthropic is working to reduce them. The stack is how they deploy a model without a perfect sandbox and without saving everything.
Claude Code’s Next Era — Thariq Shihipar, Anthropic ·
From the transcript
And so like as they get more intelligent, There's going to be new false positives that we need to figure out and we need to iterate and things like that. But
we're working on this. And we do think this is a critical part of deployment of these models. And it means that we can deploy this model without you having a perfect sandbox or something. You know what I mean? You don't have to... save everything. I think it's worth talking a little bit about our security, like what we do for security. So there's like the model training stuff that we talked about.
There is the probes and classifiers. And then there's auto mode that sits on top of all of that, which is like another classifier that checks the requests that are being done. And then beyond that, there's identity and permissions, like we talked about with CloudTag on APIs and stuff. And so there's so many layers of security that need to get done.