Secret Leak Scanner Agent — AI skill for Claude Code
AI Agent Skill for GitHub Copilot, Claude Code, and Cursor that scans every file in a repository for leaked API keys, tokens, private keys, and credentials with Python/Node.js fallback.
How to install Secret Leak Scanner Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open abdul-aziz-memon/secret-leak-scanner-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Secret Leak Scanner Agent does
AI Agent Skill for GitHub Copilot, Claude Code, and Cursor that scans every file in a repository for leaked API keys, tokens, private keys, and credentials with Python/Node.js fallback.
Alternatives in AI
- Open Claude Code Termux — An automated 1-click installer to run the open-source Claude Code leak natively on Android (Termux) and Window 125 ★
- Ovo Local LLM — A private Claude-Code-style coding agent for Apple Silicon — run chat, code, and local model workflows on-devi 105 ★
- Isbetter.Ai — ⚔️ Compare AI models side by side — same prompt, streamed answers, live code previews, speed, tokens and cost 59 ★
README
Secret & API Leak Scanner (`secret-leak-scanner`)
An AI Agent Skill compatible with **GitHub Copilot**, **Claude Code**, **Cursor**, and other `SKILL.md`-enabled agents. It scans every non-binary file in a workspace for exposed API keys, tokens, passwords, database connection strings, private keys, and `.env` hygiene issues—automatically masking all detected values.
Features
- Zero-Friction Fallback Chain: Runs
scripts/scan_secrets.py(Python) first, falls back toscripts/scan_secrets.js(Node.js) if Python is unavailable, and falls back to manual pattern inspection if neither runtime is present. - Secret Masking by Default: Never prints raw credentials in full (
gsk_****WXYZ). - Placeholder & Entropy Filtering: Distinguishes real/high-entropy credentials from obvious dummy strings (
FAKE,YOUR_API_KEY_HERE,EXAMPLE). - Git Hygiene Verification: Checks
.gitignorecoverage and warns if.env*files risk accidental commits.
Repository Structure
secret-leak-scanner/
├── SKILL.md # Core agent instructions and workflow
├── references/
│ └── secret-patterns.md # Provider regex patterns and rules
├── scripts/
│ ├── scan_secrets.py # Zero-dependency Python scanner
│ └── scan_secrets.js # Zero-dependency Node.js fallback scanner
├── README.md
├── SECURITY.md
└── LICENSE.md
Related Skills
Klarion
AI-powered secret scanner for code and git history. Finds leaked API keys, tokens and credentials with near-ze
Ranwhat
Flight recorder and secret scanner for AI coding agents. Reads what Claude Code, Codex, Gemini CLI and 9 more
Claude Code Secret Gate
The pre-commit secret gate for AI coding agents — content-scans staged changes and blocks any commit containin
Claude Code Secret Guard
Claude Code mod that keeps API keys, tokens and passwords out of the model's context: gitleaks scans every too
Secret Preflight
Go/no-go check for leaked secrets before you commit or push. A Claude Code skill with a masking scanner: raw v
Secure Agent
🔐 Egress inspection & secret-leak firewall for local AI agents — see what your agents send, catch secrets bef
Related Agents
Secret Scanner
PYA specialist spawned by the /pya orchestrator. Finds hardcoded and leaked credentials in an untrusted reposi
Appsec Secrets Scanner
Use proactively to hunt for hardcoded secrets, credentials, tokens, and high-entropy strings across the entire
Secret Purist
The paranoid sentinel of credential security. Use this agent to scan codebases and git history for leaked secr