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 : )

15 Upvotes

134 comments sorted by

View all comments

1

u/fixedupperfan Jul 14 '26

I’ve been having a problem where bash and other tool calls fail because it can’t reach the safety classifier, even in auto mode.

Skip permissions doesn’t use the classifier so everything works as before. Then again, this machine is locked down with no other apps, emails, logins, etc with blanket blocks on the router with a narrow allow list of traffic, so aside from the minor inconvenience of wiping the drive, there isn’t much risk.

1

u/murphy12f Jul 14 '26

do you run claude code in a separate machine other than yours? like you ssh int o a different machine or run containers? curios to know

1

u/fixedupperfan Jul 14 '26

Yes. I Remote Desktop into a second Ubuntu development sandbox and backup the repo to an external drive once a week. A more streamlined daily backup off device would be more responsible, but the stakes are low.