security-leak-guardrails
Installation
SKILL.md
Security Leak Guardrails
Reusable workflow for preventing secrets from entering git and for continuously scanning a repo for leaks.
Quick start
- Inventory existing security tooling (gitleaks/trufflehog, hooks, workflows, dependabot).
- Add forbidden-path checks and the hook script.
- Add gitleaks config and a local security check script.
- Add CI secret scanning and Dependabot.
- Update .gitignore and document the policy.
Workflow
Step 1: Inventory
- Check for existing .gitleaks.toml, .github/workflows/secret, dependabot.yml, and hook tooling.
- If the repo already uses hooks (husky/lefthook/pre-commit), integrate instead of replacing.