News for hackers. Stuff that matters.
Re:Don't YOLO your file system by gmerc on Saturday March 28, 2026 @02:27AM (#47552146)
It’s cute because Claude has discretion to disable its own sandbox and does it
Re:Don't YOLO your file system by js2 on Saturday March 28, 2026 @02:33AM (#47552165)
> You can disable this escape hatch by setting "allowUnsandboxedCommands": false in your sandbox settings. When disabled, the dangerouslyDisableSandbox parameter is completely ignored and all commands must run sandboxed or be explicitly listed in excludedCommands.

https://code.claude.com/docs/en/sandboxing

(I have no idea why that isn't the default because otherwise the sandbox is nearly pointless and gives a false sense of security. In any case, I prefer to start Claude in a sandbox already than trust its implementation.)