What problem does it solve?
This Skill helps teams find and remove sensitive credentials, API keys, tokens, and other secrets accidentally committed to a repository, and ensures those secrets are removed from both the working directory and git history to prevent future leaks.
Core Features & Use Cases
- Comprehensive Detection: Pattern-based matching, file-type scanning, and entropy analysis to locate candidate secrets across text and binary files.
- Systematic Verification: Document findings, categorize true positives vs false positives, and validate file integrity after replacements.
- Sanitization Strategies: Safe working-directory replacements with consistent placeholders, plus history rewriting options (BFG, git-filter-repo, or git filter-branch) and guidance on post-rewrite coordination.
- Post-Remediation Verification: Re-scan repository and history, validate configuration syntax, and recommend credential rotation and forced re-clone for collaborators.
- Use Cases: Preparing a private repo for public release, responding to a leaked key, performing security audits, and meeting compliance requirements.
Quick Start
Run a comprehensive secret scan across the repository, replace discovered secrets with consistent placeholders, rewrite git history with a tool like BFG or git-filter-repo, and rotate any exposed credentials.