Secret Leak Scanner

    by RuH

    1

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

    Secure checkout via Stripe

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    See it in action

    You say

    Check my staged changes for any secrets before I commit.

    Your agent does

    [HIGH] config.py:1 AWS Access Key ID -> AKIAMNOP [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_lSTUV [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.

    What you get

    Pre-commit code reviewsAuditing a repo before making it publicCI/CD pipeline security checksOnboarding — checking a cloned repo for old leaked keysReviewing pull requests for accidental credential exposureCleaning up before open-sourcing a private project

    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.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    AI Enthusiast & Prompt Engineer. I architect, rigorously test, and deploy high-performance skills designed to solve real-world problems.

    Frequently Asked Questions

    Popular in DevOps & Deployment