On this page
The working demo is not the launch.
The Next.js + Supabase + Vercel stack is common for AI-built apps. A synthetic fixture shows what the real check prints for a direct database connection, an over-open policy and a bare Next.js app.
Real 1.7.2 output on the synthetic Next.js + Supabase + Vercel fixture (trimmed)
- 1Fixture: app/layout.tsx and app/page.tsx (App Router); lib/db.ts uses the postgres driver with DATABASE_URL; .env.example sets DATABASE_URL on port 5432; one migration enables RLS on public.projects and adds an anon select policy using (true).
- 2pooler_port_mismatch (warning): Found direct 5432 DATABASE_URL/POSTGRES_URL evidence. Vercel/serverless deployments should prefer Supabase transaction pooler port 6543.
- 3rls_policy_allows_all_read (warning): Policy "anyone can read projects" on public.projects (supabase/migrations/0001_projects.sql:7) lets anyone holding the anon key (it ships in your frontend) read every row: using (true).
- 4missing_csp_header (warning): No supported CSP response-header wiring was found in next.config, proxy, middleware or vercel.json. This is local source evidence; deployed coverage and policy quality are not checked.
- 5missing_error_boundary (warning): No error.tsx / ErrorBoundary component was detected. A single render error white-screens the whole app for real users.
- 6missing_loading_state (info): No loading.tsx or skeleton components were detected. Slow data fetches will look like a frozen app.
- 7missing_404_page (info): The detected paths contain no App Router not-found file or Pages Router 404 file.
- 8missing_monitoring (info): No Sentry/PostHog (or similar) instrumentation was found.
- 9Verdict: no blockers, 4 warnings, score 55, exit code 0. Not checked: auth on the API route, Vercel env settings, and the live database.
Browse all launch guides · Read resources · How to make and check your next change
FAQ for builders before launch
Is this a real scan output?
Yes, from npx -y viberaven@1.7.8 check, on a synthetic fixture repo made for this page, not a customer repo.
Should I run audit --vercel-supabase on this stack?
On a Vercel + Supabase app, it lists the Supabase checks one by one: RLS proof, permissive policies, the pooler port, the service role key boundary, Data API grants and security definer functions.
What is the highest-risk gap in this example?
The using (true) policy, if projects are per-user data. The pooler port matters once serverless functions open many connections.