Deutsch
For your stackLovable · Supabase

Security audits for Lovable apps

Connect the GitHub repository Lovable syncs your project to, get findings with file and line, and paste the fix prompt straight back into the Lovable chat.

  • Read-only access to your repository
  • Every finding with file and line
  • Fix prompts for Lovable, Cursor, Claude Code and Bolt
Lovable Certified Partner 2026

Lovable syncs your project to a GitHub repository. ShipRely reads that repository with read-only access, checks it for the security and database mistakes that AI-built apps tend to ship with, such as tables without row level security or secret keys in browser code, and gives you a fix prompt for every finding that you paste into the Lovable chat.

Lovable lets you go from an idea to a running app with a real database in an afternoon. What it can’t do is know which of your tables hold private data, which button should be admin-only or which key must never reach the browser. Those decisions end up in the code, and that is where ShipRely looks.

How ShipRely fits into your Lovable workflow

You don’t change how you build. Lovable keeps working in its editor; ShipRely reads the code that Lovable writes to GitHub.

Connect Lovable to GitHub

In Lovable, connect your project to GitHub. Lovable creates a new private repository for it and keeps it in sync in both directions, on one branch at a time, usually main (Lovable docs (opens in a new tab), checked 3 December 2026).

Give ShipRely read-only access to that repository

Install the ShipRely GitHub App and select only the repository Lovable created. The app asks for read access to code and metadata, nothing else. ShipRely never logs into Lovable or Supabase and never connects to your live database.

Pick the areas and start the audit

Choose Security, Database & Supabase or both, and a depth. Specialist agents read your migrations, edge functions and React code. Areas you didn’t select show up as “not tested”, never as “fine”.

Paste the fix prompt into Lovable

Every finding comes with a prompt written for Lovable. Paste it into the Lovable chat, review what Lovable changes, and the fix lands in GitHub through the sync. Run the audit again on the new commit to check that the finding is gone.

What goes wrong in Lovable apps

A typical Lovable app is React and TypeScript in the browser, Supabase (or Lovable Cloud) behind it, and edge functions for anything that needs a secret. The browser talks to the database directly with a public key, so the database rules are the real security boundary. The same few mistakes show up again and again:

  • Tables without row level security

    A table created in a migration without RLS can be read by anyone who has your public key, and that key is in your website's code by design.

  • Policies that let everyone in

    RLS is on, but a policy like using (true) or 'any signed-in user' opens every row to every account.

  • Secret keys in browser code

    A service_role key or a payment secret in a VITE_ variable ends up in the JavaScript bundle that every visitor downloads.

  • Edge functions that trust the caller

    A function uses the admin client with an id from the request body and never checks who is asking.

These are exactly the patterns we plant in our own test apps, which are built in the style of a Lovable project. Here is what the engine reported on them in our latest benchmark run:

Critical

public.documents has no row level security and is granted to anon

supabase/migrations/20260119141500_documents.sql

Critical

Service-role Supabase key read from VITE_ variable in browser bundle

src/lib/admin.ts

Critical

export-project returns any project and tasks without membership check via service role

supabase/functions/export-project/index.ts

Reported by the ShipRely engine on our synthetic Lovable-style test apps, benchmark run of 3 December 2026.

If you want to check by hand first, the 30-minute self-audit for Lovable apps walks you through it, and the Supabase row level security guide explains the most important rule in depth. The fixes for the patterns above are on table without RLS, policies with using (true), service_role key in the frontend and edge function without auth check.

What a fix prompt looks like

A finding is only useful if you can act on it from the Lovable chat. This is the remediation the engine wrote for the missing-RLS finding in our test app. It names the table, the change and what must keep working, so Lovable has nothing to guess:

Fix prompt from a real benchmark finding

Add a new migration that enables row level security on public.documents, revokes all privileges from anon, and creates select, insert, update and delete policies for authenticated with auth.uid() = user_id (USING and WITH CHECK), mirroring the profiles policies. Do not edit the existing migration. Owners must still list, create and delete their own documents. Review existing rows after applying.

The report adds checks you can tick off afterwards, for example “a signed-in user selecting documents without a user_id filter receives only their own rows”. That is how you know the fix really closed the gap, not just that Lovable said it did.

Why evidence matters with AI-written code

AI models are good at spotting suspicious code and bad at quoting it precisely. So a ShipRely finding is only shown if the files and lines it cites really exist in your repository and contain the quoted code. A deterministic check, not a model, reads those lines. Each finding then carries a severity, a verification status and a confidence, so you can tell “confirmed” from “needs your review”. The methodology page explains the details and how we measure the engine against apps with planted defects and clean twins.

What ShipRely does not do

ShipRely reads code; it doesn’t run your app, log into your Supabase project or test your live site. A setting that only exists in a dashboard is invisible to it. An audit is not a certification. It tells you what was examined, what was found and what was not tested, so you can decide what to fix before launch. Plans and what each includes are on the pricing page.

Frequently asked questions

Does ShipRely need access to my Lovable account?

No. ShipRely never logs into Lovable. It reads the GitHub repository that Lovable syncs your project to, through our GitHub App with read-only permission on the repositories you select.

Can ShipRely change my code or open pull requests?

No. Access is read-only. You get a fix prompt per finding and decide yourself whether to paste it into Lovable. Lovable makes the change and syncs it back to GitHub.

Lovable already has security checks. Why a second audit?

Lovable’s checks run inside the editor and before you publish, and they are a good first line. ShipRely is an independent second read of the same code with its own procedure and an evidence check for every finding. The two complement each other; the comparison page explains how.

Does it work with Lovable Cloud and with my own Supabase project?

ShipRely reads what is in the repository: the SQL migrations in supabase/migrations, edge functions and the React code. That is the same for both setups. Settings that only live in a dashboard and never appear in the code are outside what a code audit can see.

Which audit areas can I run on a Lovable app today?

Security and Database & Supabase run on the real engine. Bugs, payments, user flows and the other areas are in development; you can try all of them with sample data in the demo.

Sources

  1. 1.Sync your Lovable project with GitHub — Lovable Docs
  2. 2.Security overview — Lovable Docs
  3. 3.Row Level Security — Supabase Docs

Updated

Find this in your own app

ShipRely reads your repository (read-only), proves each finding with file and line, and gives you a fix prompt to paste into your AI builder.

Run a demo audit
  • Read-only access to your repository
  • Every finding with file and line
  • Fix prompts for Lovable, Cursor, Claude Code and Bolt