I will audit your lovable supabase rls security and fix what is actually broken

E
edgars_laizans
E
edgars_laizans
Edgars L

About this gig

Your app works. That is not the same as being safe to charge money on. I shipped a production SaaS on Lovable with Stripe subscriptions, row-level security and two AI providers in the chain. Building it I found a SECURITY DEFINER function carrying Postgres's default PUBLIC grant. A real privilege escalation the build tool's own summary said had not happened. I found it because I stopped believing the summary and ran has_function_privilege against the live database. That is this gig. Not a scan. Evidence. WHAT YOU GET - Every RLS policy listed, with the role it is scoped to and who can really read and write each table - Every SECURITY DEFINER function with has_function_privilege output for anon and authenticated, shown not claimed - An anonymous-role read test across every customer table - A verdict on each scanner finding: real, false positive or deliberate. This is what stops you clicking fix all and taking your own app dark - The exact SQL to fix what is broken (Standard and Premium) HOW IT WORKS Read-only access, or paste your schema and policies. No calls, no meetings, everything in writing. NOT a penetration test, certification or legal advice. If you need those I will say so

Get to know Edgars L

Edgars L

Supabase and Lovable security audits

  • FromEstonia
  • Member sinceJul 2026
  • Languages

    English, Latvian, Russian, French
I audit apps built with Lovable and Supabase — row-level security, SECURITY DEFINER functions, grants, and the keys that end up in the browser bundle. I build this way myself. RepFlow is my own production app: real Stripe, real customer data. When I stopped trusting the build summary and ran the queries, I found a SECURITY DEFINER function exposed to public. A scanner gives you a list. Every line is real, a false positive, or deliberate. In the output they look identical. Deciding which is which is the job. Before this: 15 years in pharmaceutical B2B sales. All in writing, no calls.

My Portfolio