Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Secrets Scanner: Find Leaked API Keys and Passwords

    by Saizul Amin

    1

    This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.

    Free

    Security scanned
    Secrets Scanner: Find Leaked API Keys and Passwords

    Secrets Scanner: Find Leaked API Keys and Passwords

    Example session with this skill installed

    Run the Secrets Scanner skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the secrets scanner

    Here is what the Secrets Scanner: Find Leaked API Keys and Passwords skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    secrets scan: 5 files, 7 high, 5 medium, 0 low, 0 info (values redacted)
    HIGH   leaky/deploy.key:1  private-key  -----BEGIN OPENSSH PRIVATE KEY----- (len 35)  fp=f77216669d111a4a
    HIGH   leaky/src/app.js:1  stripe-live-key  sk_l******** (len 32)  fp=0d0376333c22f6f0
    HIGH   leaky/src/app.js:2  slack-token  xoxb******** (len 43)  fp=e1605f075bf6cf04
    HIGH   leaky/src/app.js:3  google-api-key  AIza******** (len 39)  fp=e1840124f6d7b292
    HIGH   leaky/src/config.py:1  aws-access-key-id  AKIA******** (len 20)  fp=cd4670bf999a63fc
    HIGH   leaky/src/config.py:2  aws-secret-access-key  q8Zr******** (len 40)  fp=bd76949cb18a6fd1 entropy=5.22
    HIGH   leaky/src/config.py:3  github-token  ghp_******** (len 40)  fp=4901bcafc15c1e42
    MEDIUM leaky/.env  sensitive-file  dotenv file with real values  fp=065596d673085872
    MEDIUM leaky/deploy.key  sensitive-file  key file  fp=02f25ff5852afda1
    MEDIUM leaky/src/app.js:4  url-credentials  Tr0u******** (len 14)  fp=2f8f1db75b8aca6e
    MEDIUM leaky/src/app.js:5  jwt  eyJh******** (len 84)  fp=39a53a5c9dac1eed
    MEDIUM leaky/src/config.py:4  generic-secret  N8v#******** (len 16)  fp=241f65e9c810d4a3 entropy=4.0
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

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

    About this skill

    Scan your own repository or files for hardcoded secrets - AWS, GitHub, GitLab, Slack, Stripe, Google, npm, SendGrid and LLM API keys, private key blocks, JWTs, passwords in URLs and high-entropy values assigned to password/token/api_key names - plus sensitive files such as .env, id_rsa, *.pem and terraform.tfstate. Output is always redacted (prefix, length, fingerprint), supports a baseline and inline allow markers, and ends with a rotation plan for anything real.

    Who it's for

    Use when the user asks to check a repo for leaked secrets or credentials before pushing or open-sourcing, mentions "API key in git", "did I commit my .env", GitHub push protection or secret scanning alerts, or wants a pre-commit / CI secret check.

    What's inside

    • Tested, offline Python script(s): secrets_scan.py (deterministic results, standard library only unless noted)
    • Reference guides: prevention.md, rotation.md
    • Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow

    Why it's worth it

    Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.

    Works with every major AI agent

    Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.

    Requirements

    • Python 3.8+ for the bundled scripts
    • No API keys, no account, runs locally

    Open source: saizul/security-audit-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    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

    Free to use

    No account required to browse

    Frequently Asked Questions

    Scan your own repository or files for hardcoded secrets - AWS, GitHub, GitLab, Slack, Stripe, Google, npm, SendGrid and LLM API keys, private key blocks, JWTs, passwords in URLs and high-entropy values assigned to password/token/api_key names - plus sensitive files such as .env, id_rsa, *.pem and...

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Secrets Scanner: Find Leaked API Keys and Passwords on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Free