Works with the AI Agents you already use

    leakwarden free

    by Leon Krasnik

    1

    Finds leaked API keys, tokens, passwords and database URLs in your files and in git history, plus .env files that are committed. Runs locally, sends nothing anywhere and never prints a full key.

    Free

    Security scanned
    leakwarden free

    leakwarden free

    Example session with this skill installed

    Scan this project for any leaked keys or committed env files before I push to main. Include git history.

    • Read your context and instructions
    • Compiled the leakwarden free

    I have completed the security scan of the current repository. I used the local static analysis tool to check for secrets and committed environment files.

    Coverage Note: This scan covered hardcoded secrets and environment files. It did not evaluate Supabase Row Level Security, webhooks, or framework-specific deployment settings.

    Security Audit Findings

    SeveritySourceFindingLocationVerdict
    Highhistorysecret.genericcommit 8f2a1b: config/db.js:12Confirmed Leak. A database password was committed three weeks ago.
    Highfilesenv.committed.envRisk. Real environment variables are committed to the repo.
    Mediumfilessecret.supabasesrc/lib/supabase.ts:5Hardcoded Key. Supabase anon key found in source code.

    Proposed Fixes

    1. Committed Environment File
    The .env file is currently tracked by git.

    • Action: Move values to a local-only .env, add .env to .gitignore, and create a .env.example.
    • Warning: You must rotate all keys found in this file immediately at the provider.

    2. Hardcoded Supabase Key

    - const supabaseKey = 'eyJhbG...';
    + const supabaseKey = process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY;
    

    3. Git History Leak
    A password was found in an older commit. Deleting the file now will not remove it from history.

    • Action: Rotate the database password immediately.

    Next steps

    • Would you like me to apply the .gitignore update and create a .env.example?
    • Should I refactor the Supabase client to use environment variables?
    • Once rotated, would you like me to run the scan again to verify the current files are clean?

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

    About this skill

    Leaking secrets into public repositories or production builds is an immediate security failure. This skill runs a heuristic static scanner locally to identify API keys, passwords, and committed configuration files before they compromise your infrastructure.

    What it does

    • Scans File Content identifies high-entropy strings, hardcoded tokens, and database URLs in your source code.
    • Audits Git History searches through previous commits to find secrets that were deleted from current files but remain in the repository data.
    • Detects Committed Environments flags .env files that were accidentally added to version control instead of being ignored.
    • Redacts Sensitive Values prevents leaking the actual secrets into your agent's chat history or logs by using masked evidence lines.
    • Automates Remediation generates targeted diffs to move hardcoded secrets into environment variables and updates .gitignore patterns.

    How it works

    1. The agent executes the leakwarden.py script against your project root using isolated execution to generate a JSON report.
    2. It analyzes the coverage object to determine which security checks were performed and which were skipped by the engine.
    3. Findings are prioritized by severity, with the agent inspecting the specific lines of code to verify if the alert is a false positive.
    4. You receive a grouped summary of risks with proposed fixes for each confirmed leak.

    Frameworks & tools

    This skill utilizes a Python based heuristic scanner. It is designed to work with any language or framework that stores configuration in .env files or uses standard API key formats, including specific patterns for Supabase, AWS, and Stripe.

    Why this beats prompting it yourself

    Generic LLM prompts often miss secrets hidden in deep git history or fail to recognize complex entropy patterns. This skill uses a specialized scanning script to ensure consistent detection while enforcing a strict "no-leak" policy that prevents the agent from repeating the actual secret values in its output.

    Use cases

    • Auditing a private repository before changing visibility to public.
    • Scanning a project for hardcoded database URLs before a production deploy.
    • Verifying that .env files containing live service role keys are properly ignored.
    • Cleaning up legacy repositories where secrets might be buried in old commit logs.

    Known limitations

    Does not check Supabase RLS, webhooks, or browser-exposed framework settings. History scanning may be slow on extremely large repositories without the --no-history flag.

    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

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables
    Listed14 days ago
    Updated7 days ago

    What's inside

    Frequently Asked Questions

    leakwarden free identifies hardcoded API keys, passwords, and database URLs in your current code, and crucially, it audits your Git history to find secrets buried in old commits. It prevents security breaches by ensuring sensitive data isn't accidentally pushed to public repositories or production environments.

    The skill is framework-agnostic and works with any codebase using standard API key patterns or .env files. It includes specialized detection for popular services like AWS, Stripe, and Supabase, making it compatible with most modern web and cloud projects.

    leakwarden free uses a "masked evidence" system that redacts the actual sensitive values from the scanner's output. This ensures that even when a leak is found, the raw secret is never displayed in your AI agent's chat history or logs.

    Scanning the current project state is nearly instantaneous, though deep Git history audits on very large repositories may take longer. You can optimize performance by using the `--no-history` flag if you only need to check the current version of your files.

    This skill is designed for agents with file system access and Python execution capabilities. It operates by running an isolated script against your project root to generate security reports for the agent to analyze.

    New in Security

    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.

    Free