| ▲ | joegibbs 2 hours ago | |||||||||||||
Claude Code has added too much of this and it's got me using --dangerously-skip-permissions all the time. Previously it was fine but now it needs to get permission each time to perform finds, do anything if the path contains a \ (which any folder with a space in it does on Windows), do compound git commands (even if they're just read-only). Sometimes it asks for permission to read folders WITHIN the working directory. | ||||||||||||||
| ▲ | malfist 4 minutes ago | parent | next [-] | |||||||||||||
Find can be dangerous it has an exec flag | ||||||||||||||
| ▲ | andoando 2 hours ago | parent | prev | next [-] | |||||||||||||
Yeah I don't know why they didn't figure to have something in between. I find it completely unusable without the flag. Even a --permit-reads would help a lot | ||||||||||||||
| ▲ | nmilo 2 hours ago | parent | prev | next [-] | |||||||||||||
Claude is secretly conditioning everyone to use —-dangerously-skip-permissions so it can flip a switch one day and start a botnet | ||||||||||||||
| ||||||||||||||
| ▲ | connorbrinton an hour ago | parent | prev | next [-] | |||||||||||||
I've found Claude Code's built-in sandbox to strike a good balance between safety and autonomy on macOS. I think it's available on Windows via WSL2 (if you're looking for a middle ground between approving everything manually and --dangerously-skip-permissions) | ||||||||||||||
| ||||||||||||||
| ▲ | od0 2 hours ago | parent | prev | next [-] | |||||||||||||
Working on something that addresses this and allows you to create reusable sets of permissions for Claude Code (so you can run without --dangerously-skip-permissions and have pre-approved access patterns granted automatically) https://github.com/empathic/clash | ||||||||||||||
| ▲ | winterqt 2 hours ago | parent | prev | next [-] | |||||||||||||
In my limited time using it, I’ve never seen it ask for permission to read files from within the working directory, what cases have you run into where it does? Was it trying to run a read-only shell command or something? | ||||||||||||||
| ||||||||||||||
| ▲ | chrysoprace 2 hours ago | parent | prev | next [-] | |||||||||||||
To be fair, read-only commands can still read sensitive files and keys, and exfiltrate them via prompt injection. | ||||||||||||||
| ||||||||||||||
| ▲ | d_meeze 2 hours ago | parent | prev [-] | |||||||||||||
Maybe if compound commands trigger user approval, don’t do compound commands <facepalm/> | ||||||||||||||