spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / plugins / hookify / examples / sensitive-files-warning.local.md
18 lines · 421 BPreviewCodeRaw

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