ClaudeHack

#security

4 hacks

  1. 1.

    Turn on `/sandbox` so OS-level filesystem and network boundaries replace many per-command Bash prompts.

    0 points·13 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss
  2. 2.

    Enable auto mode so a classifier approves safe tool calls and blocks destructive ones — fewer prompts without a full permission bypass.

  3. 3.

    Add a deterministic PreToolUse hook that rejects destructive shell patterns before Claude can run them.

    0 points·13 hours ago·Testing / Debugging·hard·discuss
  4. 4.

    Use /permissions to allowlist read-only and trusted commands so you stop mindlessly clicking Approve.

    0 points·13 hours ago·Terminal / Productivity / Cost Optimization·medium·discuss