Smash Notes

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.

Grokipedia·Claude Code·Anthropic

Transcript

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.

See in transcript

Latent Space: The AI Engineer Podcast

More from this episode

  1. How Fast Did Claude Code Become the Default?Thariq Shihipar joined Anthropic because Claude Code had just come out, and less than 12 months later it was the default way everyone codes.
  2. Why Does Claude Code Ask Before Coding?Thariq Shihipar believes pretty much everyone needs the agent to pull out more requirements and collaborate, rather than being good enough to instruct the…
  3. What Is the Most Important Claude Code Skill?Thariq Shihipar says the most important skill for Claude Code is a mental model of Claude: how Claude thinks, what Claude can do well, what Claude can…
  4. Why Is Prompting Like Executive Communication?Thariq Shihipar says sufficiently advanced prompting is indistinguishable from sufficiently advanced executive communication.
  5. How Do Claude Code Mods Go Beyond Hooks?Thariq Shihipar says Claude Code mods run inside the TypeScript runtime and go further than hooks. Internally the feature started under the name function hooks.
  6. How Does Thariq Shihipar Treat the Bitter Lesson?Thariq Shihipar treats the bitter lesson as a rough stand-in, and he flags the label as a misuse.
  7. When Should I Use the Claude Code Harness?Thariq Shihipar says very complex coding tasks should use the Claude Code harness, while simpler or more domain-specific work can use a harness built for the…
  8. What Did People Spend on AI Before Claude Code?Thariq Shihipar says no one was used to spending more than $20 a month before Claude Code came out, and no one was used to spending $200 a month on…
  9. What Is the Paperclip Problem for AI Agents?Thariq Shihipar says more task budget is the paperclip. A model does not have to maximize paperclips.
  10. Why Should AI Labs Pace the Frontier?Thariq Shihipar says AI labs should pace the frontier because misaligned Claude behavior will not be predictable, and the next incident probably cannot be…
  11. How Does Claude Catch Jailbreaks With Probes?Thariq Shihipar says Claude catches jailbreaks by reading internal activations, because looking only at the input is not enough.
  12. What Does Thariq Shihipar Think About AI Doom?Thariq Shihipar has a fairly low probability of doom, and he can only speak for himself.

People

More answers like this

More with Shawn Wang

More with Vibhu Sapra

Related episodes

Plays from this note through the rest of the episode.

Weekly highlights

One letter a week.

The notes worth hearing, with the minute they were said.