Scans your codebase and git history for hardcoded API keys, tokens, and credentials that shouldn't be there. Run it before commits to catch secrets before they go up, or point it at legacy repos to audit what's already in the logs. It masks findings in output so you don't create new leaks in your terminal history, and everything stays local. You'll get false positives on high-entropy test data and encrypted strings, so expect some noise. Most useful in CI/CD pipelines where you want an automated gate, or when inheriting a project and need to know what damage is already done.
npx -y skills add jorgealves/agent_skills --skill secret-leak-detector --agent claude-codeInstalls into .claude/skills of the current project.
The secret-leak-detector is designed to safeguard repositories by identifying hardcoded sensitive information such as API keys, database credentials, and authentication tokens before they are committed or after they have been accidentally pushed to history.
scan_history: true to perform a deep audit of a project's entire history to find secrets that were deleted but still exist in git logs.directory_path: "./config"
scan_history: false
{
"leaks": [
{
"file": "config/production.yaml",
"line": 45,
"type": "Stripe Secret Key",
"risk_level": "critical",
"snippet": "sk_live_**********"
}
]
}
scan_history is true, the target directory must be a valid git repository..git directory.sickn33/antigravity-awesome-skills
moizibnyousaf/ai-agent-skills
github/awesome-copilot