Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Secret Leak Scanner

    1

    Scans your codebase or staged git changes for accidentally committed API keys, AWS credentials, private keys and tokens before you push.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Secret Leak Scanner

    Secret Leak Scanner

    Example session with this skill installed

    Check my staged changes for any secrets before I commit.

    • Read your context and instructions
    • Compiled the secret leak scanner
    [HIGH] config.py:1  AWS Access Key ID  ->  AKIA************MNOP
    [HIGH] config.py:2  AWS Secret Access Key  ->  aws_**********************************************************KEY
    [MEDIUM] config.py:2  Env-style Secret Assignment  ->  aws_**********************************************************KEY
    [HIGH] config.py:3  Stripe Secret Key  ->  sk_l*****************************STUV
    [HIGH] config.py:4  DB Connection String w/ password  ->  post**********************************************prod
    

    Scan complete. 5 potential finding(s).
    Review each finding — HIGH severity items should be treated as real leaks until proven otherwise.

    Summary: Found 4 high-confidence leaks (AWS key pair, Stripe live key, DB connection string with embedded password) and 1 medium-confidence finding. Recommend rotating the AWS and Stripe keys immediately since they were staged for commit, moving all four values to environment variables, and adding config.py to .gitignore before committing again.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Catches leaked secrets before they hit your git history — AWS access keys, GitHub/GitLab/Slack/Stripe/Twilio tokens, private key blocks, JWTs, and database connection strings with embedded passwords. Runs entirely offline with zero dependencies (pure Python stdlib), so no data ever leaves your machine. Three modes: scan a full directory, check only your staged changes right before a commit, or sweep your entire git history for secrets that were leaked in the past. Every finding is redacted in the output — you get the file, line number, and pattern type, never the full secret in plaintext. Built for developers who want a fast pre-commit safety net without setting up a full enterprise secret-scanning pipeline. High-confidence detectors (AWS keys, private keys, provider tokens) are flagged separately from medium-confidence heuristics (generic key assignments, high-entropy strings) so you're not drowning in false positives.

    Regex + entropy-based detection can miss cleverly obfuscated or split secrets, and may false-positive on random-looking test data, hashes, or UUIDs. Not a replacement for a dedicated enterprise secret-scanning service (e.g. GitHub secret scanning, TruffleHog) for large-scale production monitoring — this is a fast local first line of defense. History scanning (--history mode) can be slow on repos with a large number of commits.

    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 any payment.

    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 3 months ago

    Requires

    Python

    Permissions

    Read Files
    Terminal / Shell

    File Scopes

    **/*

    Reads source files and git metadata (diff/log/show) to detect secrets. No files are modified. No network requests are made — all pattern matching happens locally.

    Listed3 months ago

    What's inside

    Frequently Asked Questions

    This skill protects your infrastructure by scanning your code for 15+ types of sensitive credentials, including AWS keys, Stripe tokens, and private RSA keys, preventing them from being exposed in public or shared repositories.

    The scanner runs entirely offline using the Python standard library; it never transmits your code or found secrets to an external server or API, ensuring 100% data privacy.

    Yes, it offers a dedicated mode to scan your entire git history, allowing you to identify and remediate secrets that were accidentally committed in previous versions of your project.

    The skill is designed for any AI agent or environment with Python access and can be integrated into your workflow via a simple command-line interface or as a pre-commit hook.

    To minimize noise, the scanner categorizes findings into 'High-Confidence' (verified patterns like AWS keys) and 'Medium-Confidence' (heuristics like high-entropy strings), allowing you to prioritize the most critical threats.

    Your purchase includes the full skill package, a comprehensive setup guide for integrating it with your AI agent, and access to future pattern updates to catch newly released credential formats.

    New in Security