ClaudeHack

#security

5 hacks

  1. 1.

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

    0.00 points·3 months 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.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  3. 3.

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

    0.00 points·3 months ago·Testing / Debugging·hard·discuss
  4. 4.

    Instead of guessing which commands to allowlist or giving up and skipping permissions entirely, let Claude read your past sessions and propose the rules you have already been approving.

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·easy·discuss
  5. 5.

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

    0.00 points·3 months ago·Terminal / Productivity / Cost Optimization·medium·discuss