Env File Protection
Hooks security 88
npx claude-code-templates@latest --hook security/env-file-protection Content
JSON
{
"description": "Prevent writing to .env files using the if condition for lightweight filtering. ..."
"hooks": {
"PreToolUse": [1 item]
}
}