Lovable security testing

You built it in Lovable.Now make sure it holds.

We attack your Lovable app as real users.Every fix comes as a Lovable prompt.

Autonomous AI pentest. Results in hours, not weeks.

Why Lovable apps

Built in an afternoon.Exposed in a minute.

Lovable apps usually run on Supabase, and the browser talks to the database directly with a public key. That is safe only when every table has the right row level security policies.

When a policy is missing or too broad, anyone with the public key can read or change the data. This has already exposed real users of real Lovable apps.

Lovable's own security check catches configuration problems. Hetz goes further: it signs in as two users and proves whether one can reach the other's data.

Lovable risks

Where Lovable apps leak.

The same gaps show up again and again.

  • 01

    Missing or loose RLS

    Tables readable by anyone with the public key.

  • 02

    Login, not ownership

    Policies that let any signed-in user read every row.

  • 03

    Secrets in the bundle

    Service role or AI provider keys in frontend code.

  • 04

    Admin in the UI only

    Admin actions any user can call directly.

  • 05

    Client-side pricing

    Plans and credits the browser can rewrite.

  • 06

    Public storage

    Uploaded files anyone can download.

In every Lovable test

What Hetz tests.

  • 01Every Supabase table the app touches, as two users
  • 02Select, insert, update and delete across accounts
  • 03Ownership and role columns users should not change
  • 04Edge functions called with another user's ids
  • 05Storage buckets and file links
  • 06Keys and secrets in the deployed JavaScript
  • 07Auth: sign up, reset and rate limits
  • 08Every fix written as a prompt for Lovable

How it works

Your domain in.Insights and fixes out.

This is the real run, step by step.Scroll and watch it.

01 / 05

Point it at your domain

Put in your domain and confirm it's yours. Hetz tests only what you own, and only what you approved.

app.acme.ioVerifying
Domain
DNS TXThetz-verify=8f2c91d0a4
AuthorizationSigned by Dana Levi, CTO
Scope lockedapp.acme.ioapi.acme.io

Full fixes

Don't just find it.Fix it.

Every vulnerability ships with a complete fix.The patch, the test that proves it, and a prompt for your coding agent.Paste, merge, retest.Done.

  • Written for your stack: Next.js, Supabase, Firebase, Laravel, Django and more
  • Starts with a failing test, so the fix is proven, not hoped for
  • Built with Lovable, Bolt or Base44? The prompt works there too
CriticalCWE-639 · OWASP API1:2023

Any signed-in user can read any invoice

GET /api/invoices/{id}

Evidence

GET /api/invoices/8812  (as user 4471)
→ 200 OK  {"customer":"user 1203", "total": …}
You are fixing a verified security finding in a Next.js app with Supabase.

Finding: Broken object level authorization (CWE-639, OWASP API1:2023).
Endpoint: GET /api/invoices/{id}
Proof: a request as user 4471 for invoice 8812 (owned by user 1203) returned 200 with the invoice body.

Task:
1. Write a failing test that reproduces the request above.
2. Enforce ownership: only return the invoice when invoice.customer_id matches the signed-in user (or their organization). Add a Supabase RLS policy on the invoices table so the database enforces it too.
3. Return 404, not 403, for invoices the user does not own.
4. Make the test pass and list every other route that reads invoices by id.

Go deeper

Read before you ship.

FAQ

Straight answers.