Skip to content

Instantly share code, notes, and snippets.

@dimbeto
dimbeto / claude-code-security-settings.md
Created April 24, 2026 14:58 — forked from pixelitobenito/claude-code-security-settings.md
Claude Code — Recommended Security Settings for managed endpoints

Claude Code — Recommended Security Settings

Recommended settings for running Claude Code safely on managed endpoints. These restrict what Claude Code can do on your machine — preventing destructive commands, privilege escalation, and credential access — even when running in permissive mode (--dangerously-skip-permissions).


How to use this guide

Option A — Let Claude do it: Paste this into Claude Code: