neko-kai/claude-code-sandbox
View on GitHub ↗ ★ 63 Shell
macOS sandbox-exec config for Claude Code that restricts filesystem READ access for enhanced security
4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2025-11-10 · latest 2026-01-20
20082026
-
…running in the sandbox. (Maybe I should be asking Claude this) Edit: someone already built this: https://github.com/neko-kai/claude-code-sandbox
comment by nailer · 2026-01-20 · in Running Claude Code dangerously (safely) -
sandbox-exec on MacOS (ie. https://github.com/neko-kai/claude-code-sandbox ) seems like the perfect solution to me. Missing FreeBSD jails in 2026 is kind of weird (hello 1999)...
comment by woof · 2026-01-20 · in Running Claude Code dangerously (safely) -
Run your shit in firejail or bubblewrap. On mac you can use this: https://github.com/neko-kai/claude-code-sandbox
comment by pshirshov · 2025-12-15 · in Claude CLI deleted my home directory and wiped my Mac -
▲ 2
macOS sandbox config for Claude that restricts read access to filesystemstory by pshirshov · 2025-11-10 · 0 comments