Security guides
One question per page, answered first. Written for people shipping apps with Lovable, Cursor, Bolt and Claude Code.
My Supabase service_role key is in my frontend. What do I do?
Rotate the key now, remove it from client code, and check your logs. The service_role key skips RLS, so anyone who has it can read and write every table.
Is my Lovable, Bolt or Cursor app secure? A 10-minute check
Run six checks in 10 minutes: leaked keys, Supabase RLS, source maps, security headers, old libraries, and server-side auth. No tools needed to start.
Am I affected by the Next.js middleware bypass (CVE-2025-29927)?
You are affected if you self-host Next.js 11.1.4 to 15.2.2 and use middleware for auth. Upgrade to 12.3.5, 13.5.9, 14.2.25 or 15.2.3, or strip one header.
How do I check if my Supabase tables are readable by anyone?
Send a curl request to /rest/v1/<table> with your anon key. If rows come back, the table is public. Turn on RLS and add a policy to close it.
Are my source maps public, and how do I turn them off?
Check for a .js.map file next to your bundles. Turn maps off in Next.js, Vite or CRA, or upload them privately to Sentry instead of shipping them.