Works with the AI Agents you already use
Agent Secrets Leak Scanner
by CashonlyTian
Scan project directories for secrets leaked in code, git history, and AI agent configuration files.
$29
Agent Secrets Leak Scanner
Example session with this skill installed
Scan reference/demo-project for secrets. The project is called DemoShop. Use the brand label 'DemoShop Scan' on the report.
- Read your context and instructions
- Compiled the agent secrets leak
- Generated the document
I have completed the security scan for project
DemoShop. The scanner evaluated 10 security categories and identified several critical leaks in the local directory.
Scan Results: DemoShop
| Metric | Value |
|---|---|
| Score | 46/100 |
| Grade | D |
| Risk Level | HIGH |
| Findings | 10 (8 Critical, 2 High) |
Top 3 Required Fixes
- Rotate API Keys: A hard-coded key was found in
.cursor/mcp.json. Delete the key and revoke it immediately.
Remove .env from Git: The .env file is currently tracked by git. Remove it from the index and add to .gitignore.
3.
Clean Private Keys: Detected id_rsa in the root directory. Move this to a secure vault outside the project tree.
Findings Detail
- agent_config: FAILED (15 pts lost) - Secrets found in AI agent local settings.
- env_files: FAILED (15 pts lost) - Active
.envfile detected in scanned path. - git_tracked: FAILED (5 pts lost) - Dangerous files are currently staged or committed.
- history: PASSED (4 pts) - No secrets found in the last 20 commits.
Files Generated:
scan-2026-11-25.png: Visual scorecard with risk bars and grade.scan-report.md: Full prioritised fix list and masked secret locations.
Next steps
- Open
scan-report.mdto see the exact file and line numbers for the 10 findings. - Revoke and rotate any keys prefixed with
sk-ant-orAIza...found during the scan. - Run the scan again after cleaning the directory to verify the new grade.
scan-2026-11-25.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Scan a project for secrets leaked by AI coding agents (Claude Code, Codex, Cursor, Copilot, Gemini CLI) — API keys in agent configs, committed .env files, private keys, credentials files, hard-coded passwords/tokens/JWTs, plus git hygiene. 10 checks, 0-100 score with grade and risk level, shareable score-card image and fix report. Pure Python/Pillow, local only, no network, no paid APIs.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Local directory scans only. Skips files >2MB. Git history check limited to last 20 commits. Requires local .git folder for history scoring.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago