Works with the AI Agents you already use

    leakwarden pro

    by Leon Krasnik

    0

    Deploying AI-generated code from platforms like Lovable, Bolt, or Cursor often leads to security oversights, such as exposed service keys or overly permissive database policies.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    leakwarden pro

    leakwarden pro

    Example session with this skill installed

    Run a security scan on my project and check for any leaked keys or Supabase RLS issues.

    • Read your context and instructions
    • Compiled the leakwarden pro

    I have completed the security scan of the current directory using LeakWarden Pro. The scanner identified 3 high-severity findings and 1 medium-severity finding.

    Security Scan Results

    SeverityCategoryFileLineFindingVerdict
    Highsecret.supabase_service_rolesrc/lib/supabase.ts12Service role key used in clientReal Risk. Key has bypass-RLS permissions.
    Highsupabase.rls_missingsupabase/migrations/01_init.sql45Table profiles has no RLSReal Risk. Anyone can read/write any profile.
    Highenv.in_historyN/AgitStripe Secret Key found in historyReal Risk. Key was committed in commit a1b2c3.
    Mediumwebhook.unverifiedapi/stripe-hook.ts8Missing signature checkReal Risk. Fake events can be sent to this URL.

    Proposed Fix for src/lib/supabase.ts

    The service role key must never be sent to the browser. Replace it with the anon key.

    // src/lib/supabase.ts
    - const supabase = createClient(URL, process.env.SUPABASE_SERVICE_ROLE_KEY)
    + const supabase = createClient(URL, process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY)
    

    Proposed Fix for supabase/migrations/01_init.sql

    Enable RLS to prevent unauthorized access.

    -- supabase/migrations/01_init.sql
    + ALTER TABLE profiles ENABLE ROW LEVEL SECURITY;
    + CREATE POLICY "Users can see own profile" ON profiles FOR SELECT USING (auth.uid() = id);
    

    Next steps

    1. Rotate Secrets: Immediately deactivate the Stripe key and Supabase service role key in their respective dashboards.
    2. Apply Fixes: Tell me to "Apply all fixes" to update the files, then I will re-run the scan.
    3. Manual Check: Verify that your production Supabase instance has RLS enabled for all tables in the dashboard.

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

    About this skill

    Deploying AI-generated code from platforms like Lovable, Bolt, or Cursor often leads to security oversights, such as exposed service keys or overly permissive database policies. LeakWarden Pro runs targeted static scans to catch common "vibe coding" vulnerabilities before they reach production.

    What it does

    • Secret Detection scans files and git history for leaked API keys, tokens, and credentials.
    • Supabase RLS Audit identifies tables missing Row Level Security or using overly permissive policies.
    • Storage and Function Checks flags Supabase Storage policies with no owner check, storage buckets made public in SQL, security definer functions the API can call without checking the caller, and views that expose auth.users.
    • Webhook Verification flags payment or 3rd-party webhooks that process events without signature validation.
    • Client-Side Exposure detects high-privilege keys (like service_role) incorrectly used in frontend code.
    • Remediation Planning provides specific diffs and rotation advice for every confirmed vulnerability.

    How it works

    1. Target Selection: Specify the repository root or use the current project directory for a full scan.
    2. Heuristic Scan: Runs a localized Python scanner to generate a JSON report of potential vulnerabilities.
    3. Coverage Analysis: Reviews the scan scope to identify what was missed, such as RLS logic defined outside the repo.
    4. Vulnerability Review: Evaluates each finding by reading the source code to separate real risks from false positives.
    5. Interactive Fixes: Presents a prioritized list of findings with proposed fixes for user approval and application.

    Frameworks & tools

    Works with projects using Supabase, Stripe, and Vite. Designed specifically for code generated by AI IDEs like Cursor, Lovable, Bolt, or Claude Code.

    Why this beats prompting it yourself

    Standard LLMs often overlook secrets hidden in git history or miss the nuance of a "public" vs "service" key in specific frameworks. This skill uses a specialized heuristic engine to ensure no pattern is skipped and enforces a strict "no-leak" reporting policy.

    Use cases

    • Auditing a newly generated Lovable or Bolt project before the first production deploy.
    • Checking git history for credentials accidentally committed during rapid prototyping.
    • Verifying that Supabase migrations correctly enforce tenant isolation via RLS.
    • Identifying Stripe webhooks that lack signature headers in edge functions.

    Known limitations

    Does not assess authorization business logic, infrastructure settings, or third-party dependencies. RLS defined in the Supabase dashboard rather than SQL files cannot be scanned.

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

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables
    Listed13 days ago
    Updated3 days ago

    What's inside

    Frequently Asked Questions

    LeakWarden Pro is purpose-built to catch the common security gaps—like exposed service keys and missing Supabase RLS policies—that occur when deploying code generated by AI platforms like Lovable, Bolt, and Cursor. Unlike generic scanners, it focuses on the specific "vibe coding" patterns that lead to production-level vulnerabilities.

    The skill works with any project using Supabase, Stripe, and Vite, and it is optimized for codebases generated by AI IDEs like Cursor and Claude Code. It is particularly effective for auditing projects built with "no-code to code" platforms.

    It cannot scan Row Level Security (RLS) policies that are defined manually in the Supabase dashboard rather than in SQL migration files. Additionally, it focuses on static code analysis and does not audit runtime infrastructure settings or third-party dependency vulnerabilities.

    The skill performs a deep scan of your git history to find credentials that were accidentally committed during the prototyping phase. It provides rotation advice and specific diffs to help you purge these secrets before your project goes live.

    No complex setup is required; you simply point the skill at your repository root to begin the heuristic scan. It runs locally to ensure your sensitive code and findings remain private to your environment.

    Upon purchase, you receive the full LeakWarden Pro skill package including the specialized heuristic engine, remediation planning tools, and any future version updates released to address new AI-generated code patterns.

    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.