macOS's Little-Known Command-Line Sandboxing Tool (2025)
igorstechnoclub.com
macOS's Little-Known Command-Line Sandboxing Tool (2025)
1–10 of 96 posts
Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#2Readers may also be interested in https://github.com/eugene1g/agent-safehouse> which was open sourced after a recent HN conversation https://news.ycombinator.com/item?id=46923436>.
Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#3Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#4Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#5Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#6Do any of the third-party package managers (Brew, MacPorts) perhaps use this for things like builds (or even installs, if things are restricted to (e.g.) /opt)?
I think Bazel uses sandbox-exec on macOS.
Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#7“The sandbox-exec command is DEPRECATED. Developers who wish to sandbox an app should instead adopt the App Sandbox feature described in the App Sandbox Design Guide”
That still is the case for MacOS 26.3 (https://man.freebsd.org/cgi/man.cgi?query=sandbox-exec&aprop...)
MacOS 10.13.6 is from 2017, so this has been deprecated for almost 10 years.
Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#8Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#9I made a UI for this to run terminal apps, like claude and codex: https://multitui.com
Re: macOS's Little-Known Command-Line Sandboxing Tool (2025)
#10- https://developers.openai.com/codex/security/#os-level-sandb...