ai-saas-guard
A pre-flight checklist for AI-built SaaS, as a CLI. Catch the launch blockers hiding in your auth, billing, and data-access code — before your users do.
What it does
65 deterministic, local checks for the mistakes that slip into AI-built SaaS: unverified Stripe webhooks, loose Supabase RLS policies, silent-success error paths, and more. Results come back as a fix-first queue, sorted by what blocks your launch. See all 65 checks.
How it runs
One command, fully local. No accounts, no uploads — your code never leaves your machine.
npx ai-saas-guard@latest demo
That runs a built-in 30-second demo. To scan your own project, point it at the repo instead — see the README on GitHub.
Try it in your browser
This is the real engine — all 65 rules from the CLI (v0.45.0) — running entirely in this page. Paste one of your files, or pick an example. No account, no install, and your code never leaves this tab: nothing is uploaded, sent, or stored.
Frequently asked questions
Does ai-saas-guard upload my code?
No. Every check runs locally on your machine — no accounts, no uploads. The in-browser demo above runs entirely in this tab; nothing you paste is sent or stored.
What exactly does it check?
65 deterministic checks across 12 areas: Stripe webhooks, Supabase row-level security, API routes, auth and sessions, secrets, silent-success error paths, deploy configuration, MCP servers, GitHub Actions, and PR risk. See all 65 checks.
How do I run it?
npx ai-saas-guard@latest demo runs a 30-second built-in demo. To scan your own project, point it at your repo — the README on GitHub has the full usage.
How much does it cost?
The CLI is free and MIT-licensed. A hosted GitHub App for teams is in beta at $12–20 per developer per month.
Will it fix the problems it finds?
No — it doesn't change your code. Each finding comes with a suggested fix, sorted into a fix-first launch queue, and you apply the fixes.
Open source
MIT licensed. CLI on npm, source on GitHub. A hosted GitHub App is in beta for teams ($12–20/dev/month).

