3 ms·
If I understand correctly, Claude Code will(shortly, if not already) make use of Anthropic's sandbox that wraps Seatbelt on OS X, not sandbox-exec? It's cool t
by knowaveragejoe 1y ago
If I understand correctly, Claude Code will(shortly, if not already) make use of Anthropic's sandbox that wraps Seatbelt on OS X, not sandbox-exec?
It's cool that they made this open source. It seems straightforward and useful enough that it could be used on its own for sandboxing purposes.
https://docs.claude.com/en/docs/claude-code/sandboxing https://docs.claude.com/en/docs/claude-code/sandboxing
https://github.com/anthropic-experimental/sandbox-runtime https://github.com/anthropic-experimental/sandbox-runtime
- simonw 1y agoYeah they shipped that feature on Monday, you can access it via the /sandbox command. I haven't put it through its paces enough to get a feel for if I trust it yet though.
- simonw 1y agoThat library is using sandbox-exec to access Seatbelt: https://github.com/anthropic-experimental/sandbox-runtime/blob/4966973ee9b070336ac777f12e3cabd2ca745fc7/src/sandbox/macos-sandbox-utils.ts#L530 https://github.com/anthropic-experimental/sandbox-runtime/bl...