{
  "_comment": "threat.cafe fail-closed Claude Code PreToolUse hook configuration (~/.claude/settings.json)",
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|Write|Edit|MultiEdit|mcp__.*",
        "onFailure": "block",
        "hooks": [
          {
            "type": "command",
            "command": "/usr/local/bin/threat-cafe-hook",
            "timeout": 5,
            "onFailure": "block"
          }
        ]
      }
    ]
  }
}
