SaaS Prelaunch Auditor
Run production-readiness audits on Next.js SaaS apps to find security flaws, auth leaks, and missing SEO.
$9.99
SaaS Prelaunch Auditor
Example session with this skill installed
Audit my Next.js project at ./apps/saas-core for production readiness and security vulnerabilities before I launch on Product Hunt tomorrow.
- Read your context and instructions
- Compiled the saas prelaunch auditor
I have completed the production audit for the ./apps/saas-core repository. I ran the automated scanner and performed a manual inspection of your auth, billing, and SEO configurations.
SaaS Pre-Launch Audit Report
| Severity | Category | Issue | File Path | Recommendation |
|---|---|---|---|---|
| CRITICAL | Secrets | STRIPE_SECRET_KEY found in .env | .env:12 | Remove secret from Git; move to environment manager. |
| CRITICAL | Auth | Missing IDOR check in GET | /api/billing/history.ts:24 | Verify record.userId === session.user.id. |
| HIGH | Webhooks | No signature check on Stripe webhook | /api/webhooks/stripe.ts:8 | Use stripe.webhooks.constructEvent with raw body. |
| HIGH | Security | Missing Rate Limiting | /api/auth/login.ts | Implement upstash/ratelimit or similar middleware. |
| MEDIUM | SEO | Missing sitemap.ts | /app/sitemap.ts | Create a dynamic sitemap for search indexing. |
| PASS | Injection | Sanitized SQL with Prisma | /lib/db.ts | No raw interpolation detected. |
| PASS | Headers | Security headers configured | next.config.js | HSTS and X-Frame-Options are active. |
Next steps
- Would you like me to generate the
stripe.webhooks.constructEventboilerplate for your billing route? - I can automatically add the missing
robots.txtandsitemap.tsfiles to your/appdirectory. - Shall we move the sensitive environment variables to a
.env.exampleto prevent further leakage?
Connects securely to your tools. The creator never sees your data.
About this skill
Shipping a SaaS with an exposed Stripe secret or an unprotected admin route is a business-ending event. This skill performs a rigorous pre-launch audit of your Next.js and Node.js codebase to identify security vulnerabilities, auth flaws, and production-readiness gaps before you deploy. It moves beyond basic linting to inspect business logic, ensuring your application is ready for real users and live payment traffic.
What it does
- Secrets detection identifies exposed API keys, private keys, or server-side environment variables prefixed with
NEXT_PUBLIC_. - Auth & IDOR inspection verifies server-side session checks and record ownership logic for every sensitive API route.
- Webhook integrity verification checks for signature validation and raw body processing in Stripe, Razorpay, or custom payment webhooks.
- Input validation audit flags missing Zod schemas, rate limiting on public endpoints, and unsafe SQL or HTML rendering.
- Production reliability check ensures the presence of SEO files, custom error pages, and security headers.
How it works
- Automated scan runs a local static analysis script to surface immediate low-hanging risks.
- Checklist mapping systematically cross-references your files against a production-grade readiness checklist.
- Structured reporting generates a Pass/Fail report categorized by risk level with specific file paths.
- Fix implementation provides code corrections for identified issues upon your approval.
Frameworks & tools
Primarily designed for Next.js and Node.js environments. It checks for common libraries including Zod, Stripe, bcryptjs, argon2, and standard environment configuration files.
Why this beats prompting it yourself
Generic prompts often miss the nuances of Next.js server actions or Stripe webhook signature verification. This skill follows a multi-step workflow that forces the agent to review specific files for IDOR vulnerabilities and environment hygiene that a simple "review my code" request ignores.
Use cases
- Auditing a SaaS MVP before the first public beta launch.
- Reviewing a billing integration to ensure webhooks cannot be spoofed.
- Checking a codebase for leaked credentials before migrating to a public repository.
- Verifying that admin routes are properly protected by server-side middleware or session checks.
Known limitations
Requires a Node.js environment to run the bundled static scanner. It cannot detect vulnerabilities that only emerge during runtime execution or external network interactions.
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 9 days ago
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.