Dani Mar 31, 2026
  • env-file-protection.json 17 lines · 683 B
env-file-protection.json
JSON
{
"description": "Prevent writing to .env files using the if condition for lightweight filtering. ..."
"hooks": {
"PreToolUse": [1 item]
}
}

Next step

More hooks in security, in alphabetical order.