WeSearch

Dangerously-skip-permissions is the only safe mode

·2 min read · 0 reactions · 0 comments · 13 views
#technology#software#security
Dangerously-skip-permissions is the only safe mode
⚡ TL;DR · AI summary

The article discusses the safety implications of using the --dangerously-skip-permissions flag in Claude Code. It argues that the default permissions mode can lead to approval fatigue, making it less secure than the alternative. By using --dangerously-skip-permissions, users are encouraged to implement a proper authorization system instead of relying on constant approvals.

Key facts
Original article
Granola
Read full at Granola →
Opening excerpt (first ~120 words) tap to expand

--dangerously-skip-permissions is the only safe modeJim FisherMay 11Claude Code has a flag called --dangerously-skip-permissions. Despite the name, I'm more nervous about engineers who don't use it. If you run the default "permissions" mode, your Claude setup is probably unsafe. --dangerously-skip-permissions lets the agent do anything it wants on your machine. Sounds dangerous. Claude could do real damage with the DATABASE_URL in your env files. By default, Claude asks permission before it acts: run a script, delete a file, make a network request. Sounds sensible. The human stays in the loop. Now watch what happens after a few minutes. Claude asks to write a script. Writing files is safe. Approve. Claude asks to run the script. The script looks safe. Approve. The script has a bug.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Granola.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Granola