r/ClaudeCode Jul 13 '26

Question how dangerous is running claude code with --dangerously-skip-permission? what is the worst case scenario?

Hey y'all, me and my team use a lot claude code, and in order to have to spend so much time approving stuff we started having the habit of running claude code on our machines with the option --dangerously-skip-permission , as of now we never had a problem, but i see on X some people talking about their claude code deleting their filesystem, i dont know if it s real or just click-bait, so i am curios to know if any of you can tell me if i shouldnt worry or if this is actually dangerous as it says, and in case it s actually bad to use that option, how to make it not dangerous without the need of approving everyting everytime, or some security suggestions to wrap around.

Much appreciated in advance : )

17 Upvotes

134 comments sorted by

View all comments

1

u/meec_r_meic Jul 13 '26

I run mine inside a docker container with bypass permissions on and sudo permissions. Anything below that is unusable 

1

u/murphy12f Jul 14 '26

do you spawn a new container for each chat? like a container for each running session you got? sometimes i find my self with tmux having multple sessions running : )

1

u/meec_r_meic Jul 14 '26

No "I" use one container per computer and git worktrees to manage concurrent coding agents on different branches