Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    SaaS Pre-Launch Auditor

    1

    Audit Next.js, Supabase, and Stripe SaaS repos before launch—23 zero-dependency checks for leaked keys, missing RLS, spoofable webhooks, and SEO gaps.

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    SaaS Pre-Launch Auditor

    SaaS Pre-Launch Auditor

    Example session with this skill installed

    Run a full pre-launch audit on my Next.js + Supabase + Stripe SaaS before I deploy to Vercel. Flag all P0 blockers with exact file paths and tell me if I'm ready to launch.

    • Read your context and instructions
    • Compiled the saas pre-launch auditor

    SaaS Pre-Launch Audit Report

    • Detected Stack: Next.js (App Router), React, Supabase, Stripe
    • Launch Readiness Score: 26 / 100
    • Verdict: NO-GO (Fix P0 blockers)

    Summary

    SeverityCountDescription
    P0 (Blocker)4Critical security, billing, or data-exposure issues
    P1 (Warning)3High-risk production, auth, or SEO misconfigurations
    P2 (Polish)2Reliability, UX, compliance, and hygiene improvements

    P0 Blockers (Must Fix Before Launch)

    [SUPA-002] Table "projects" created without ENABLE ROW LEVEL SECURITY

    • Location: supabase/schema.sql:1
    • Fix: Add ALTER TABLE public.projects ENABLE ROW LEVEL SECURITY; and scope policies to auth.uid() = user_id.

    [STRIPE-001] Stripe webhook handler missing signature verification (constructEvent)

    • Location: src/app/api/webhooks/stripe/route.ts:1

    Fix: Read raw body via await req.text() and verify with stripe.webhooks.constructEvent(rawBody, sig, process.env.STRIPE_WEBHOOK_SECRET).

    [AUTH-001] Mutating Next.js API route has no detectable auth or signature check

    • Location: src/app/api/projects/route.ts:3

    Fix: Verify the caller with await supabase.auth.getUser() at the top of POST and return 401 when unauthenticated.

    [ENV-002] Sensitive env variable exposed to browser bundle: NEXT_PUBLIC_STRIPE_SECRET

    • Location: .env:2
    • Fix: Remove the NEXT_PUBLIC_ prefix immediately and rotate the exposed key.

    P1 Warnings (Highlights)

    [AUTH-002] src/app/api/profile/route.ts:9 — Replace supabase.auth.getSession() on the server with supabase.auth.getUser().

    [SEC-003] next.config.mjs:1 — Add X-Frame-Options, X-Content-Type-Options, and Content-Security-Policy headers.

    • [LAUNCH-001] — Add app/robots.ts and app/sitemap.ts before launch.

    Next Step

    Would you like me to fix the

    4 P0 blockers first and re-run audit.mjs --fail-on-p0 to verify your updated Launch Readiness Score?

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

    About this skill

    Ship your Next.js, Supabase, and Stripe SaaS without waking up to an exposed database, spoofed webhook, or broken production build.

    Built specifically for indie hackers and vibe-coded MVPs (Cursor, Claude Code, Lovable, v0), SaaS Pre-Launch Auditor runs a deterministic local scanner plus a structured manual architecture review—giving you a 0–100 Launch Readiness Score, a GO / NO-GO verdict, and exact file:line fixes.

    What It Checks Automatically (23 Deterministic Rules)

    • Environment & Secrets (P0 / P1): Hardcoded live keys (sk_live_, whsec_, sk-ant-, sk-proj-, AKIA..., private keys), secrets exposed via NEXT_PUBLIC_* / VITE_*, unignored .env files, and missing .env.example.
    • Supabase & Database (P0 / P1): SUPABASE_SERVICE_ROLE_KEY referenced in client components, CREATE TABLE migrations missing ENABLE ROW LEVEL SECURITY, and overly permissive USING (true) RLS policies.
    • Stripe & Billing (P0 / P1 / P2): Webhook handlers missing constructEvent() signature verification, calling req.json() instead of raw req.text(), hardcoded test keys, and missing event.id idempotency protection.
    • Auth & App Security (P0 / P1): Unauthenticated mutating Next.js App Router API routes (POST/PUT/PATCH/DELETE), server code trusting supabase.auth.getSession() instead of getUser(), unsanitized dangerouslySetInnerHTML, wildcard CORS (*), missing security headers, and ignoreBuildErrors: true.
    • Launch & SEO Hygiene (P1 / P2): Missing robots.ts / sitemap.ts, missing OpenGraph metadata, missing error.tsx / not-found.tsx, missing /privacy & /terms pages, sensitive console.log leaks, and hardcoded localhost URLs.

    Guided Manual Review + Safe Fix Mode

    • 4 Stack-Specific Playbooks (security-and-auth, supabase-and-db, stripe-and-billing, launch-and-seo) guide your agent through checks static scanners can't catch: IDOR / tenant isolation, Server Action input validation, AI endpoint rate limiting, and live Stripe cutover.
    • Safe Fix Mode: On your approval, fixes P0 blockers one by one and re-runs audit.mjs --fail-on-p0 to verify your score reaches GO (Launch Ready)—never inventing or overwriting real .env secrets.

    Privacy & Requirements

    • 100% local & read-only by default: Zero network calls, zero telemetry, zero external npm packages.
    • Requires: Node.js 18+ (uses built-in fs, path, and process only).

    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.

    Requires Node.js 18 or higher. Static analysis only; cannot catch runtime environmental errors or infrastructure-level misconfigurations not present in code.

    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 today

    Software
    Node.js

    100% local static analysis. Zero external dependencies, zero telemetry, and read-only by default unless you approve Fix Mode.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Terminal/Shell runs the zero-dependency local scanner (scripts/audit.mjs). Read Files inspects your repository for security and launch checks. Write Files is only used when you explicitly approve fixes or pass --out. No network requests are ever made.

    Listedtoday

    What's inside

    Frequently Asked Questions

    The skill combines a deterministic local scanner with targeted AI logic reviews to find specific P0 bugs like missing Row Level Security (RLS) in Supabase or unverified Stripe webhooks that generic prompts typically overlook.

    It is specifically optimized for the modern SaaS stack, including Next.js (App/Pages router), Supabase, Stripe, and authentication providers like Clerk or NextAuth.

    The skill includes the `audit.mjs` scanning script, a suite of SaaS-specific hardening playbooks, and the agentic logic required to interpret your code and generate the final readiness report.

    The local scanner requires Node.js 18 or higher to run; beyond that, it is designed to be zero-dependency to ensure it works seamlessly within your existing project environment.

    Yes, the auditor provides a structured report that includes exact file-line references for every vulnerability found, along with clear remediation steps to fix the issues before you deploy.

    While it is highly effective at catching static vulnerabilities and architectural flaws, it cannot detect runtime-only business logic errors that occur outside the scope of static analysis.

    New in Security