Earlier quoted context omitted.
Is this a real sandbox or just a pretty please?
https://code.claude.com/docs/en/sandboxing says they integrated bubblewrap (linux/windows), seatbelt (macos) and give an error if sandbox can't be supported so appears to be real.
Go hard on agents, not on your filesystem
31–40 of 374 posts
Re: Go hard on agents, not on your filesystem
#32Use it! :) https://code.claude.com/docs/en/sandboxing
Re: Go hard on agents, not on your filesystem
#33What would it take for people to stop recklessly running unconstrained AI agents on machines they actually care about? A Stanford researcher thinks the answer is a new lightweight Linux container system that you don't have to configure or think about.
Yes. It is like walking arounf your house with a flamethrower, but you added fire retardant. Just take the flamethower to a shed you don't mind losing. Which is some kind of cloud workspace most likely. Maybe an old laptop. Still if you yolo online access and give it cred or access to tools that are authenticated there can still be dragons.
Re: Go hard on agents, not on your filesystem
#34Re: Go hard on agents, not on your filesystem
#35Re: Go hard on agents, not on your filesystem
#36What would it take for people to stop recklessly running unconstrained AI agents on machines they actually care about? A Stanford researcher thinks the answer is a new lightweight Linux container system that you don't have to configure or think about.
Re: Go hard on agents, not on your filesystem
#37Re: Go hard on agents, not on your filesystem
#38Add this to .claude/settings.json: { "sandbox": { "enabled": true, "filesystem": { "allowRead": ["."], "denyRead": ["~/"], "allowWrite": ["."], "denyWrite": ["/"] } } } You can change the read part if you're ok with it reading outside. This feature was only added 10 days ago fwiw but it's great and pretty much this.
Is this a real sandbox or just a pretty please?