Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Agent Secrets Leak Scanner

    by CashonlyTian

    1

    Scan project directories for secrets leaked in code, git history, and AI agent configuration files.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Agent Secrets Leak Scanner

    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

    MetricValue
    Score46/100
    GradeD
    Risk LevelHIGH
    Findings10 (8 Critical, 2 High)

    Top 3 Required Fixes

    1. 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 .env file 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.md to see the exact file and line numbers for the 10 findings.
    • Revoke and rotate any keys prefixed with sk-ant- or AIza... found during the scan.
    • Run the scan again after cleaning the directory to verify the new grade.

    scan-2026-11-25.png

    PDF · document

    Generated

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill is purpose-built to detect credentials hidden within modern AI tools like Claude Code and Cursor, specifically scanning config files like .claude/settings.local.json and .cursor/mcp.json that standard scanners often overlook.

    To ensure maximum security, the scanner performs all analysis locally on your machine without making any external network calls, meaning your sensitive data never leaves your environment.

    Yes, the tool performs a Git Hygiene Verification that scans your recent commit history to ensure no sensitive files were accidentally tracked before you added them to your .gitignore.

    The scanner is optimized for projects using AI coding agents such as Claude Code, Cursor, Codex, and Gemini CLI, and it supports common web/backend patterns like .env, .pem, and JSON service accounts.

    You will receive the full Python-based scanner package, documentation for local setup, and the reporting engine that generates both PNG scorecards and Markdown remediation guides.

    The scanner skips files larger than 2MB and focuses on local directories; additionally, it may occasionally flag high-entropy strings (like random hashes) as false positives which can be manually reviewed.

    New in Security