Works with the AI Agents you already use
SaaS Pre-Launch Auditor
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
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
| Severity | Count | Description |
|---|---|---|
| P0 (Blocker) | 4 | Critical security, billing, or data-exposure issues |
| P1 (Warning) | 3 | High-risk production, auth, or SEO misconfigurations |
| P2 (Polish) | 2 | Reliability, 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 toauth.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]— Addapp/robots.tsandapp/sitemap.tsbefore 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 viaNEXT_PUBLIC_*/VITE_*, unignored.envfiles, and missing.env.example. - Supabase & Database (
P0 / P1):SUPABASE_SERVICE_ROLE_KEYreferenced in client components,CREATE TABLEmigrations missingENABLE ROW LEVEL SECURITY, and overly permissiveUSING (true)RLS policies. - Stripe & Billing (
P0 / P1 / P2): Webhook handlers missingconstructEvent()signature verification, callingreq.json()instead of rawreq.text(), hardcoded test keys, and missingevent.ididempotency protection. - Auth & App Security (
P0 / P1): Unauthenticated mutating Next.js App Router API routes (POST/PUT/PATCH/DELETE), server code trustingsupabase.auth.getSession()instead ofgetUser(), unsanitizeddangerouslySetInnerHTML, wildcard CORS (*), missing security headers, andignoreBuildErrors: true. - Launch & SEO Hygiene (
P1 / P2): Missingrobots.ts/sitemap.ts, missing OpenGraph metadata, missingerror.tsx/not-found.tsx, missing/privacy&/termspages, sensitiveconsole.logleaks, and hardcodedlocalhostURLs.
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-p0to verify your score reaches GO (Launch Ready)—never inventing or overwriting real.envsecrets.
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, andprocessonly).
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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 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.