Your AI built the app. We keep it alive.
VibeCPR finds and fixes leaked API keys, open Supabase tables, broken builds and blank screens in apps made with Lovable, Bolt, v0, Replit, Cursor and Claude Code. Agents do the scanning. A human signs off on every critical finding. You get a ranked report with copy-paste fixes in 24 hours.
Launching soon. Scans and orders aren't open yet, so join the waitlist.
Example scan · demo app (not a customer)
Grade: D
- Critical: Stripe secret key shipped in the JS bundle
- Critical:
profilestable readable with the public anon key - High: Production build fails on a case-sensitive import
- Medium: No Content-Security-Policy header
The problem: shipping is easy, the boss fights are hidden
AI app builders get you to a working demo in an afternoon. What they don't show you is the stuff that ends runs: secret keys bundled into the browser, database tables anyone can read, and builds that only work on one machine. These aren't hypotheticals:
16,326
Supabase databases found exposing readable tables in a scan of ~300,000 domains
Source: UpGuard, Oct 14, 2026
10.3%
of 1,645 Lovable apps scanned had inadequate Row Level Security (CVE-2025-48757)
Source: Matt Palmer, May 2025
1.5M
API tokens and 35,000 emails exposed by one vibe-coded app's open database (Moltbook)
Source: Wiz Research, Feb 2026
175 × $500
customer charges made with a Stripe secret key leaked in frontend code
Source: Awesome Agents, Mar 2026
2,038
highly critical vulnerabilities and 400+ leaked secrets across 1.4K vibe-coded apps
Source: Escape
Heads-up: Supabase's Data API grant change is enforced on existing projects starting Friday, October 30, 2026. It affects new tables only: a table created in public after the change returns 42501 permission denied until you grant access, while existing tables keep their grants (unless a migration drops and recreates them). Projects created since May 30, 2026 already work this way, and apps that only use a direct Postgres connection aren't affected. How to tell if it broke your app, and the safe fix.
How it works: three levels, one save point
Scan
Share your live URL (and for a full report, read-only repo access). Our agents run secret scanning, Supabase rule checks, dependency audits, a clean build, and a headless browser pass for blank screens and console errors.
Verify
A human reviews every critical and high finding before you see it. No scary false alarms, no AI hallucinated "vulnerabilities".
Fix
You get a ranked report with plain-English explanations and copy-paste prompts for Cursor, Lovable or Bolt. Or we fix it for you as pull requests and re-scan to prove it.
Stuck on an error right now?
Free step-by-step fixes for the errors vibe coders hit most:
- AI agent pushed API keys to GitHub? git commit --no-verify skipped your pre-commit hook
- Fix a surprise AI API bill: rate limits and spend caps
- Your app is public to anyone with the link: a share link is not a login
- Triage Bolt's "RLS Policy Always True" warning: when it's fine and how to fix it
- Fix secrets leaked via Claude Code .claude/settings.local.json
- Fix "Your Cloud Firestore database has insecure rules" (Firebase email)
- Login lockout keyed only on email? Rate-limit by IP and account without locking users out
- Fix Lovable "Invalid API key" after rotating Supabase keys (anon, publishable, secret)
- Lovable won't publish because of security findings? What each finding means and how to fix it
- "Sign in with Google" lets anyone in: restrict who can use your app (allowlist, domain check, RLS)
- Fix Stripe sk_live keys left in MCP or agent config
- Fix Stripe webhook "No signatures found matching the expected signature for payload"
- Fix Supabase auth redirecting to localhost after deploy
- Fix Supabase Edge Function "blocked by CORS policy" (preflight)
- Fix Supabase "infinite recursion detected in policy for relation" (42P17) in RLS
- Form says success but no row in Supabase (or Stripe webhook returns 200 but writes nothing)
- Fix "new row violates row-level security policy for table" (Supabase)
- Supabase only returns 1,000 rows? Fix the silent max rows limit in Lovable and Bolt apps
- Fix Supabase "permission denied for table" (42501) on new tables after Oct 30, 2026
- Fix a Supabase public Storage bucket that lets anyone list or download your files
- Supabase Realtime leaking rows or not receiving changes: fix RLS and the publication
- Supabase RLS not working on the server? Your API uses the service_role or secret key
- Fix Supabase RLS policy USING (true) that makes a table publicly readable
- Your app's rules only live in the frontend: move them into Supabase
- Fix a Supabase SECURITY DEFINER function anyone can call through /rest/v1/rpc
- Fix Supabase .single() "JSON object requested, multiple (or no) rows returned" (PGRST116)
- Stop Supabase users from upgrading their own plan or making themselves admin
- Fix a Supabase view that bypasses RLS: security_invoker and revoking anon write grants
- Fix "404: NOT_FOUND" on refresh in a React/Vite app on Vercel (vercel.json rewrite)
- Fix "Module not found: Can't resolve" on Vercel (works locally)
- Is my Vite dev server exposed? Check --host / server.host and patch the RCE (GHSA-p4f5-76q4-ffq7)
Pick your loadout
Vibe Check
Free
Passive scan of your live URL: secrets in your JavaScript bundle, exposed files, security headers, and an A–F grade with copy-paste fix prompts.
Turnaround: ~2 minutes
Join the Vibe Check waitlistRescue Report
$149 one-time
Launch offer: $99 for our first 10 founders
Agents scan your repo and live app (secrets, database rules, dependencies, build, page load), and a human verifies every critical finding before you see it.
Turnaround: 24 hours (48 max)
Join the waitlistFix Pack
$499 one-time
We fix up to 3 critical or high issues as pull requests with tests, then re-scan to show before and after.
Turnaround: 72 hours
Join the waitlistRescue Sprint
From $1,500 quoted
For bigger rescues: auth or payments rework, deploy pipeline, up to about 8 issues, with handover docs.
Turnaround: 5–7 business days
Join the waitlistAdd-ons: Guard $49/mo — Weekly re-scans of your URL and repo, alerts on new leaks or open tables, one small fix per month. Coming after launch. Same-day emergency +$99 — Your key just leaked? We start the same day.
FAQ
What is VibeCPR?
VibeCPR is a rescue service for apps built with AI tools like Lovable, Bolt, v0, Replit, Cursor and Claude Code. AI agents scan your code and live app for leaked API keys, open Supabase tables, broken builds and common bugs; a human verifies every critical finding; and you get a ranked report with copy-paste fix prompts within 24 hours.
How much does VibeCPR cost?
The Vibe Check is free. A full Rescue Report is $149 ($99 for our first 10 founders) and is credited toward a Fix Pack. A Fix Pack, where we fix up to 3 critical or high issues as pull requests, is $499. Larger Rescue Sprints start at $1,500 and are quoted before work begins.
Is the Supabase anon key safe to put in my frontend?
Yes, the Supabase anon (publishable) key is designed to be public, but only if every table has Row Level Security enabled with correct policies. If a table has RLS off, or a policy like USING (true), anyone with the anon key can read or change that table. The service_role or secret key must never be in frontend code.
What is CVE-2025-48757?
CVE-2025-48757 describes Lovable-generated apps whose Supabase tables had missing or insufficient Row Level Security, letting unauthenticated visitors read or write data using the public anon key. The researcher's scan found 170 of 1,645 Lovable projects (about 10.3%) affected. According to the NVD entry, the supplier disputes the CVE.
Why does Supabase return 'permission denied for table' (error 42501) on my new table?
Since Supabase's Data API grant change, new tables in the public schema are not exposed to the Data API automatically: it became the default for projects created from May 30, 2026 and is enforced on existing projects from October 30, 2026. Add an explicit GRANT for the roles that need access, enable Row Level Security, and add policies. Existing tables keep their current grants.
Does the free Vibe Check touch my data?
No. The free Vibe Check is passive: it loads your public page like a normal visitor, reads the JavaScript files every visitor already downloads, and checks response headers. It never logs in, submits forms, or writes data. You must confirm you own the app (or have permission) before scanning.
Do you need my production keys or database password?
No. We never ask for production secrets, service_role keys or database passwords. For a Rescue Report we use read-only access to one repository (or a zip) and a schema export with no user data. Fixes are delivered as pull requests you review and merge yourself.
Which platforms do you support?
Apps built with Lovable, Bolt.new, v0, Replit, Cursor, Claude Code, Base44 and similar tools, typically React, Next.js or Vite frontends on Supabase, with Stripe and Vercel or Netlify hosting.
Is a VibeCPR report a penetration test or security certification?
No. A Rescue Report is a point-in-time, automated review with human sign-off. It catches the most common, most damaging mistakes in AI-built apps, but it cannot prove the absence of vulnerabilities and is not a certification.
I leaked my Stripe secret key in my Lovable or Bolt app. What do I do?
Rotate it first: Stripe Dashboard → Developers → API keys → ⋯ → Rotate key, with expiration Now if it was in your live site or a public repo (otherwise Stripe keeps the old key working for up to 7 days). Copy the new key once, store it as a server-side secret (Lovable: ask Lovable to update your Stripe key; Bolt: database icon → Secrets), remove any VITE_ variable or component that used it, redeploy, and search the live JavaScript again for sk_live and rk_live. Then check the old key's request logs, payments, refunds and customers. Restricted rk_ keys are not safe in the browser either. Guide: https://vibecpr.com/blog/find-and-fix-leaked-api-keys-lovable-bolt-cursor
How do I fix 404: NOT_FOUND when I refresh my Vite React app on Vercel?
Add vercel.json in the project root (next to package.json) with {"rewrites":[{"source":"/(.*)","destination":"/index.html"}]}, or source /((?!api/).*) if you have /api functions, commit it and redeploy. Use rewrites, not a legacy routes catch-all (that also rewrites your JavaScript files and gives a blank page), keep Vite's base at '/', and set the Framework Preset to Vite. Not for Next.js. Guide: https://vibecpr.com/fix/vercel-404-not-found-on-refresh-react-vite
What should I do first if my API key leaked?
Rotate (revoke and replace) the key in the provider's dashboard immediately, before cleaning up code: deleting it from your repo does not stop someone who already copied it. Then move the call to server-side code, store the new key in a server-only environment variable, set spending limits, and remove the old key from git history.
How do I check if my Supabase tables are exposed?
Open your Supabase project Dashboard → Advisors → Security Advisor and fix any tables flagged for RLS disabled or overly permissive policies. Also look for write policies like USING (true). Your anon key is meant to be public; open tables behind it are the risk. Step-by-step: https://vibecpr.com/blog/check-supabase-rls-in-two-minutes — always-true policies: https://vibecpr.com/fix/supabase-rls-using-true-publicly-readable
What does a Supabase RLS policy with USING (true) mean?
USING (true) (or WITH CHECK (true)) allows every row for that operation. Combined with a GRANT to anon or authenticated, anyone who has your public anon (publishable) key can read or write the whole table through the Data API. Keep RLS on and replace the policy with a scoped check such as (select auth.uid()) = user_id, unless the table is intentionally public and the policy is SELECT-only. Fix guide: https://vibecpr.com/fix/supabase-rls-using-true-publicly-readable
How do I check if my Supabase tables are publicly readable with the anon key?
Open Dashboard → Advisors → Security Advisor and fix RLS-disabled or permissive-policy warnings. Then call GET /rest/v1/<table>?select=* with only your anon key (no user JWT). If private rows come back, the table is publicly readable. Step-by-step: https://vibecpr.com/blog/check-supabase-rls-in-two-minutes — and if you find USING (true): https://vibecpr.com/fix/supabase-rls-using-true-publicly-readable
What's the difference between VibeCPR and free vibe-coding scanners / Lovable's built-in scan?
Free scanners and platform built-in checks are useful for quick, automated signals on a URL or project. VibeCPR's free Vibe Check is a passive live-URL scan (bundle secrets, exposed files, headers, A–F grade). A paid Rescue Report goes further: agents scan your repo and live app (including Supabase RLS and grants), a human verifies every critical finding, and you get ranked fixes with Cursor/Lovable prompts within 24 hours—not a certification or full penetration test.
When should I buy a Rescue Report vs just a free Vibe Check?
Start with the free Vibe Check when you only need a quick look at your live URL for leaked keys in the shipped bundle, exposed files and security headers. Choose a Rescue Report ($149, or $99 for our first 10 founders) when you need repo access, Supabase RLS and grants review, build/blank-screen checks, and human-verified critical findings with copy-paste fix prompts. The Report is credited 100% toward a Fix Pack if you want us to ship pull requests.
Is it safe to put a Stripe sk_live key in MCP or agent config?
No. Never put a full-access Stripe secret (sk_live_ / unrestricted sk_test_) in mcp.json, Claude Desktop config, or an npx --api-key= flag—agents, logs, and anyone with the file can read it. Use Stripe's hosted MCP at https://mcp.stripe.com with OAuth, or an Agent-tagged API key passed as a Bearer token from an environment variable. If a live secret was already in config, rotate it in the Dashboard first. Step-by-step: https://vibecpr.com/fix/stripe-secret-key-in-mcp-agent-config
What should I do after Stripe deprecated @stripe/mcp / Agent Toolkit?
Stop launching the local npx @stripe/mcp proxy (it receives no further updates, including security fixes). Connect Cursor, Claude, or other clients to https://mcp.stripe.com, prefer OAuth for interactive use, and migrate any remaining API-key auth to Agent-tagged keys before November 30, 2026—after that, Stripe MCP rejects full-access secrets and non-Agent restricted keys. Full checklist: https://vibecpr.com/fix/stripe-secret-key-in-mcp-agent-config
Can Claude Code leak secrets through .claude/settings.local.json?
Yes. Choosing "Yes, and don't ask again" on a Bash permission prompt saves the approval as an allow rule in .claude/settings.local.json, and when the rule is the exact command, any password or key typed into it is saved in plain text. Claude Code adds the file to your global git excludes, not the repo's .gitignore, so it can still get committed. Apiiro found 1,122 public GitHub copies holding a real secret (1,379 distinct secrets). Run git log --all -- .claude/settings.local.json, rotate anything it ever held, then git rm --cached it and add it to .gitignore. Step-by-step: https://vibecpr.com/fix/claude-code-settings-local-json-leaked-secrets
I deleted a leaked .claude/settings.local.json from my repo. Is that enough?
No. Older versions stay in git history and in every fork and clone; Apiiro found 734 secrets that existed only in older versions of the file. Rotate every credential the file ever held first (Supabase service_role or secret key and database password, AWS keys, Stripe keys, tokens), then optionally purge history with git filter-repo. Going forward, approve patterns like Bash(npm run *) and reference secrets as environment variables. Full checklist: https://vibecpr.com/fix/claude-code-settings-local-json-leaked-secrets
Can a Supabase user change their own plan or is_admin column?
Yes, if those columns live on a row they can update. RLS limits which rows a user can touch, not which columns, so an owner-only UPDATE policy on profiles lets any signed-in user run supabase.from('profiles').update({ plan: 'pro' }) from the browser console. Fix it by revoking table-wide UPDATE from anon and authenticated and granting UPDATE only on safe columns (display_name, avatar_url), or with a BEFORE UPDATE trigger that rejects changes to protected columns. Only your server should set plan. Step-by-step: https://vibecpr.com/fix/supabase-users-can-update-own-plan-or-is-admin-column
Where should I store a user's subscription plan in Supabase?
In a table users can read but not write, such as public.subscriptions or public.user_roles, with a SELECT policy on their own row and no INSERT, UPDATE or DELETE policy for anon or authenticated. Set it only from a signature-verified Stripe webhook or an Edge Function using the service role. Supabase recommends a dedicated roles table over column-level privileges. Guide: https://vibecpr.com/fix/supabase-users-can-update-own-plan-or-is-admin-column
Why can users create duplicate usernames even though my form checks?
Because the check runs in the browser. Your Supabase URL and public key ship in the app, so anyone signed in can insert directly with supabase-js or curl and skip the form, and two simultaneous sign-ups can both pass a select-then-insert check. Enforce it in Postgres: create unique index profiles_username_lower_key on public.profiles (lower(username)); Duplicates then fail with error 23505. Guide: https://vibecpr.com/fix/supabase-rules-only-enforced-in-frontend
How do I stop users from marking their own order as paid in Supabase?
Hiding the button isn't enough. RLS can't compare old and new values, so add a BEFORE INSERT OR UPDATE trigger that only lets anon and authenticated create pending rows and make allowed changes like pending to cancelled; your signature-verified Stripe webhook sets paid with the service role. Also add check constraints for allowed status values and pin user_id with default auth.uid() and WITH CHECK ((select auth.uid()) = user_id). Guide: https://vibecpr.com/fix/supabase-rules-only-enforced-in-frontend
Does Supabase Realtime leak rows if RLS is off?
Yes. Realtime Postgres Changes only sends an insert or update to subscribers who could select the row under RLS, so a table in the supabase_realtime publication with RLS off or a using (true) policy streams every change to anyone with your public key. Check with select * from pg_publication_tables where pubname = 'supabase_realtime'; enable RLS with an owner-scoped select policy, and drop tables you don't need from the publication. Guide: https://vibecpr.com/fix/supabase-realtime-rls-leaking-or-not-receiving-changes
Why does my Supabase Realtime subscription say SUBSCRIBED but receive nothing?
SUBSCRIBED only means the socket joined. Check that the table is in the supabase_realtime publication, that authenticated has GRANT SELECT on it, that RLS lets the same signed-in user select the changed row, and that the filter uses column=eq.value syntax. For private Broadcast/Presence channels you also need select/insert policies on realtime.messages and config: { private: true }. Guide: https://vibecpr.com/fix/supabase-realtime-rls-leaking-or-not-receiving-changes
Why does my app say saved but no row shows up in Supabase?
supabase-js returns { data, error } instead of throwing, so if the code never reads error, a failed insert still shows success. Log the error. Usually it is 42501 new row violates row-level security policy: RLS is on with no INSERT policy for anon/authenticated, or the code chains .insert().select() or upserts without a SELECT policy (the row is rolled back). Otherwise check that production env vars point at the same Supabase project you are looking at, then redeploy. Guide: https://vibecpr.com/fix/supabase-insert-says-success-but-no-row
Why does my Stripe webhook return 200 but not write to Supabase?
Usually the handler uses the anon or publishable key, so RLS blocks the write, and it returns 200 without checking the error, so Stripe never retries. In the webhook, use the Supabase secret or service_role key from a server-only env var (never VITE_ or NEXT_PUBLIC_), verify the Stripe signature, check the insert error and return 500 on failure. Stripe retries non-2xx deliveries for up to three days in live mode. Make the write an upsert on a Stripe ID so retries are safe. Guide: https://vibecpr.com/fix/supabase-insert-says-success-but-no-row
Is an "anyone with the link" app or unlisted URL private?
No. Anyone with the link means no sign-in and no check of who is asking, and per-app subdomains can be found in passive DNS: in November 2026 Claroc listed 43,601 grok.me app names that way and 35,578 of 37,571 live apps opened with no sign-in. Switch the platform setting to Invite only, Workspace, Only you or Private (Vercel Deployment Protection, Netlify Project visibility), open the app in a private window to confirm, and require sign-in plus server-side checks such as Supabase RLS for real data. Guide: https://vibecpr.com/fix/app-public-to-anyone-with-the-link-share-link-not-login
Does Vercel or Netlify password protection protect my Supabase data?
It protects the deployment's pages, not a Supabase or Firebase project the browser calls directly; anyone who loaded the app while it was public has your project URL and public key. Turn on the deployment gate and also require sign-in and enforce access with RLS policies scoped to auth.uid() or a membership table. Check with curl logged out: the data endpoint should return 401/403 or nothing. Guide: https://vibecpr.com/fix/app-public-to-anyone-with-the-link-share-link-not-login
Why can any Google account sign in to my Supabase or Firebase app?
Sign in with Google only proves who someone is, not that they are allowed in. With signups open, Supabase and Firebase create an account for any Google user, and policies that only check signed in (to authenticated using (true), auth.role() = 'authenticated', auth.uid() is not null, or Firestore request.auth != null) then show them everything. Turn off Allow new users to sign up or add a deny-by-default before-user-created hook (Firebase: a beforeUserCreated blocking function), and make RLS or rules require a row in a members table that only admins can write. Guide: https://vibecpr.com/fix/sign-in-with-google-lets-anyone-in-restrict-users-allowlist
Does the Google hd parameter restrict sign-in to my company domain?
No. Google's OpenID Connect docs say the hd request parameter only optimizes the account picker and must not be relied on for access control, because client-side requests can be modified. Check the hd claim in the verified ID token on your server, or use an explicit email allowlist or Google's Internal user type for Workspace organizations, and still enforce membership in your database. Don't rely on the email domain alone either. Guide: https://vibecpr.com/fix/sign-in-with-google-lets-anyone-in-restrict-users-allowlist
Is my Vite dev server vulnerable to GHSA-p4f5-76q4-ffq7?
Only if your installed vite is affected (4.0.0 to 6.4.5, 7.0.0 to 7.3.7, 8.0.0 to 8.1.6, 8.2.0 to 8.2.4, 8.3.0 to 8.3.6) and the dev server is exposed to the network with --host or server.host (true, 0.0.0.0 or "::"). Exported Lovable projects listen on "::" by default. Check with npm ls vite --all and the Network line Vite prints at startup. Upgrade to 8.3.8 (or 8.2.6, 8.1.7, 7.3.8, 6.4.6; vite 4 and 5 have no patch), bind the dev server to 127.0.0.1, and never serve production with npm run dev or vite preview. Guide: https://vibecpr.com/fix/vite-dev-server-exposed-host-rce-ghsa-p4f5-76q4-ffq7
Does npm audit catch the Vite dev server RCE?
Not in our test on Nov 19, 2026: npm audit printed found 0 vulnerabilities for vite 8.3.6, which is affected by GHSA-p4f5-76q4-ffq7, most likely because the advisory was published on Vite's GitHub repository but not yet in the global GitHub Advisory Database that npm audit reads. Compare the version from npm ls vite --all against the affected ranges yourself. Guide: https://vibecpr.com/fix/vite-dev-server-exposed-host-rce-ghsa-p4f5-76q4-ffq7
Why do my Supabase RLS policies not work in my API route or Edge Function?
Because the server code creates its Supabase client with a secret key (sb_secret_...) or the legacy service_role key. Supabase's API keys docs say policies never apply to a secret key because the service_role role has BYPASSRLS, so any route using it returns or changes whatever rows its query asks for. For requests made on behalf of a signed-in user, create the client per request with the publishable or anon key plus the user's JWT so RLS applies; keep the admin client for webhooks and cron jobs, and verify the user with getClaims() before using it. Guide: https://vibecpr.com/fix/supabase-rls-not-working-server-uses-service-role-key
Can I write an RLS policy that limits the Supabase service_role key?
No. Supabase's troubleshooting guide says adding service_role to an RLS policy does nothing, because the service role never runs policies. In our local Postgres test on Nov 20, 2026, a policy for service_role with using (false), and FORCE ROW LEVEL SECURITY, both still let service_role read every row; only revoking the table grant stopped it. Restrict what the server code does instead, and keep the key out of the browser. Guide: https://vibecpr.com/fix/supabase-rls-not-working-server-uses-service-role-key
Can an AI coding agent bypass my git pre-commit hook?
Yes. Git's docs say pre-commit and commit-msg hooks can be bypassed with git commit --no-verify (short form -n), and hooks are local scripts that aren't copied when a repo is cloned. In our test, a gitleaks pre-commit hook blocked a commit with fake keys, and the same commit with --no-verify went through. Use GitHub push protection and a secret scan in CI as the real check, and block --no-verify with agent deny rules or hooks as a guardrail.
My AI agent pushed an API key to GitHub and then deleted it. What should I do?
Rotate the key first: create a new one, deploy it, revoke the old one. The deleted key is still in the earlier commit (git log -S or gitleaks git finds it). GitHub's docs say removing a secret from history is often unnecessary once it is revoked; rewrite history with git filter-repo --sensitive-data-removal only if the repo is public or shared, and expect forks and old clones to keep it.
How do I fix "infinite recursion detected in policy for relation" in Supabase?
The RLS policy reads the table it protects (an admin check on profiles that queries profiles), or two tables' policies read each other. Postgres refuses with error 42P17. Move the lookup into a security definer function in a private schema that the API doesn't expose, with set search_path = '' and no arguments, revoke EXECUTE from public, grant it to authenticated, and call it as (select private.is_admin()) in the policy. We reproduced the error and tested this fix on Postgres 17.
Is it safe to use a SECURITY DEFINER function to fix RLS infinite recursion?
Only if outsiders can't call it. In our test, a helper in the public schema that took a user id, public.get_user_role(uid), told the anon role that a user was an admin, and revoking from anon alone didn't stop it because of Postgres's default PUBLIC grant. Keep the helper in a non-exposed schema, take no arguments, read auth.uid() inside, and revoke EXECUTE from public and anon.
Why does Supabase only return 1,000 rows?
Supabase's Data API (PostgREST) caps each response at 1,000 rows by default, set by Max rows in your project's API settings. It doesn't error: in our test a plain select() on 2,500 rows returned HTTP 200, error null and 1,000 rows, and .limit(5000) still returned 1,000. Count with select('*', { count: 'exact', head: true }), page with .order('id').range() using pages of 1,000 or fewer, and compute totals in the database with an RPC.
Should I use the service_role key to get more than 1,000 rows from Supabase?
No. In our test a service_role-style token was still capped at 1,000 rows, and it bypassed Row Level Security, so its count included every user's rows. Keep the public key in the browser, page with range() or keyset pagination, and put totals in a security invoker RPC function.
Why won't Lovable let me publish my app because of security findings?
By default it will: Lovable's docs say findings don't block publishing. The Publish dialog shows a count, and on the built-in backend Lovable opens Review security findings with Review, Publish anyway and Try to fix. If the dialog lists Resolve findings under Before you publish, a workspace admin turned on Block publishing with critical issues, and every critical finding must be fixed or ignored first. Open More → Security → Findings, fix the Critical ones (often database rules like RLS off or USING (true)), run the checks again and test logged out. Guide: https://vibecpr.com/fix/lovable-publish-blocked-security-findings
Should I ignore a Lovable security finding to get my app published?
Only if the behaviour is intended, like a contact form anyone can submit but nobody can read, or a public catalog. Lovable's docs say ignored findings stop counting toward the publish block, but ignoring a finding does not fix the issue. Never ignore findings about private data, keys or other users' rows, and remember that a clean Security view doesn't prove the app is secure.
Should I lock a user's account after 5 failed logins?
Not by email alone. A lockout keyed only on the email lets anyone lock out any user: in our test, 5 wrong passwords from an attacker locked the account, and the real user was refused with the correct password from her own IP. It also never trips on password spraying (one guess per account). Count attempts atomically per IP, per IP plus normalized email (short block), and per account (ask for a CAPTCHA instead of locking), with the IP taken from your host's trusted header.
Does Supabase Auth rate-limit password sign-in attempts?
Yes, by IP address. Supabase's docs list 150 requests per 5 minutes (bursts up to 30) on /auth/v1/token, which covers password sign-in, and a 429 over_request_rate_limit error past that. The rate limits page lists no per-account lockout. Add CAPTCHA (Turnstile or hCaptcha) to sign-in, sign-up and password reset, and if your server calls Supabase Auth for users, forward their IP with Sb-Forwarded-For so they don't share your server's limit.
Insert coin: join the waitlist
The free Vibe Check and Rescue Reports are launching soon. Get early access plus Patch Notes, our weekly 5-minute newsletter on keeping AI-built apps alive.