daniel Aug 14, 2025
  • file-protection.json 16 lines · 698 B
file-protection.json
JSON
{
"description": "Protect critical files from accidental modification. Prevents editing of importa..."
"hooks": {
"PreToolUse": [1 item]
}
}

Next step

More hooks in security, in alphabetical order.