|
Download plugins/hookify/examples/sensitive-files-warning.local.md from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/plugins/hookify/examples/sensitive-files-warning.local.md
- Command line
-
hf download hf://SaylorTwift/claude-code/plugins/hookify/examples/sensitive-files-warning.local.md
-
curl -L -o sensitive-files-warning.local.md https://huggingface.co/SaylorTwift/claude-code/resolve/main/plugins/hookify/examples/sensitive-files-warning.local.md
421 Bytes
| name: warn-sensitive-files | |
| enabled: true | |
| event: file | |
| action: warn | |
| conditions: | |
| - field: file_path | |
| operator: regex_match | |
| pattern: \.env$|\.env\.|credentials|secrets | |
| 🔐 **Sensitive file detected** | |
| You're editing a file that may contain sensitive data: | |
| - Ensure credentials are not hardcoded | |
| - Use environment variables for secrets | |
| - Verify this file is in .gitignore | |
| - Consider using a secrets manager | |