| ▲ | bushbaba a day ago | |||||||||||||||||||||||||||||||
The entire approach is insane. Ideally Claude ran in a microvm locally with delegated auth or proxies to avoid it having greater access than granted. | ||||||||||||||||||||||||||||||||
| ▲ | pmontra 21 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
I run it in bwrap so, even if I'm running on Linux, I don't pay the cost of some layered file system and building the docker image. I mount some directories read only, the project repos read write. A VM would provide more isolation but it's a matter of tradeoffs. BTW, I just checked and my .gitignore files ignore .claude Claude and any other program in my laptop could upload it anyway to any attacker controlled server. It's the usual threat analysis: who you want to defend against, what and the tradeoffs between cost of the defense and probability of the attack. Auto mode of not auto mode is in the cost of defense part IMHO. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | nly 18 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
This is exactly how my employer runs Claude. It gets r/w to the cwd and read only access to a bunch of whitelisted nfs. All web access goes through a proxy where internal resources are whitelisted | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | user43928 17 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
More than 10 million developers use Claude just fine without VMs or proxies. The approach is hardly insane, even if you personally prefer additional safeguards. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | exe34 a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||
Hah, I normally run it in a docker container myself, and only mount the project directory. Anything else it needs, I copy in for it, or occasionally I'll ask it to write an rsync.sh that I can run to bring in the stuff from outside. | ||||||||||||||||||||||||||||||||