[Feature Request] Add granular control for dangerously-skip-permissions mode based on sandbox context

Open 💬 0 comments Opened Jul 5, 2026 by segevfiner

Bug Description
Add a richer disableBypassPermissionsMode setting, so that it can allow dangerously-skip-permissions when running with a custom/builtin sandbox.

I only want to disallow it when the user's are running it directly without anything in the way. That is, allow it when using sbx or msb.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.201
  • Feedback ID: d0d9fa15-7e17-45ba-9606-5af3e341e80b

View original on GitHub ↗