mirror of
https://github.com/anthropics/claude-plugins-official.git
synced 2026-01-30 12:32:02 +00:00
19 lines
421 B
Markdown
19 lines
421 B
Markdown
---
|
|
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
|