logoalt Hacker News

plagiaristyesterday at 1:17 PM1 replyview on HN

How does your sandbox ruleset look? I've been using containers on Linux but I don't have a solution for macOS.


Replies

e1gyesterday at 3:06 PM

Here's my ruleset https://gist.github.com/eugene1g/ad3ff9783396e2cf35354689cc6...

My goal is to prevent Claude from blowing up my computer by erasing things it shouldn't touch. So the philosophy of my sanboxing is "You get write access to $allowlist, and read access to everything except for $blocklist".

I'm not concerned about data exfiltration, as implementing it well in a dev tool is too difficult, so my rules are limited to blocking highly sensitive folders by name.

show 1 reply