# Lovable app due diligence: what to check

Source: https://www.plutonapps.com/resources/lovable-app-due-diligence

Published 2026-11-23, updated 2026-11-23, sources checked 2026-11-23. By Faysal Par (https://www.plutonapps.com/authors/faysal-par).

A Lovable app is only as transferable as the accounts behind it. Before you invest in, buy or take over one, check who controls the code, the workspace, the backend, the secrets, the bills and the data.

As of November 23, 2026, due diligence on a Lovable-built app comes down to six questions: who controls the code repository, the Lovable workspace and project, the backend, the secrets, the billing accounts and the data. [Lovable's ownership docs](https://docs.lovable.dev/tips-tricks/deployment-hosting-ownership) say the apps, code and content you create with it are yours, subject to third-party rights such as open-source licences, and add: "We want you to stay with Lovable by choice, never by necessity." Owning the code is not the same as controlling the accounts it runs on.

This guide is for investors, acquirers and new owners assessing an app built in Lovable. It lists what to ask for, what each answer should look like, and the red flags. If you are the founder preparing for a raise, read [technical due diligence before you raise](https://www.plutonapps.com/resources/technical-due-diligence-before-fundraising) first. Platform facts come from Lovable's and Supabase's documentation, listed under Sources.

## What should you ask for first?

Ask for an inventory before you read any code. A team that can produce it quickly usually knows its app; one that cannot is your first finding.

- The GitHub repository, the account or organization that owns it, and which branch Lovable syncs.
- The Lovable workspace, the project, and everyone with a role on each.
- Whether the backend is Lovable Cloud or a Supabase project, and who owns that.
- Every outside service, such as Stripe, email, AI and the domain registrar, with the account owner and monthly cost.
- A list of secrets by name and purpose, where each is stored and who has seen it. Never the values.
- The latest security scan results, and what was fixed.
- A recent database export, and proof it restores.

## Who owns the code, and is GitHub in sync?

Lovable stores the project's code on its platform and can [sync a copy to GitHub both ways](https://docs.lovable.dev/integrations/github). Git sync is on all plans; a .zip download of the codebase needs a paid plan, per [Lovable's hosting and ownership docs](https://docs.lovable.dev/tips-tricks/deployment-hosting-ownership). The Lovable editor itself cannot be self-hosted, so ongoing prompting needs a Lovable workspace, but the app can be hosted anywhere.

- [Lovable syncs one branch at a time](https://docs.lovable.dev/integrations/github), by default the repository's default branch. Check that branch matches what is live.
- Renaming the repository keeps sync working. Transferring it to another account or organization keeps sync only if the workspace has a GitHub connection for the new owner; otherwise Lovable disconnects the project.
- Disconnecting leaves the repository and its history on GitHub. Later changes then exist only in Lovable, so a repository that stopped updating months ago is not the current app.
- Moving a Lovable project to another workspace disconnects its Git connection, which has to be set up again.
- The repository should sit in a company-owned organization, not a founder's personal account. Our guide to [code handover](https://www.plutonapps.com/resources/what-is-a-code-handover) covers the rest of the transfer.

## Who controls the Lovable workspace and project?

The workspace holds the project, its collaborators and its billing. [Lovable's billing docs](https://docs.lovable.dev/introduction/invoices-and-billing) say workspace owners and admins manage billing. Check who those people are, and plan how the project changes hands.

- Per [Lovable's project settings docs](https://docs.lovable.dev/features/projects/settings), transferring ownership hands a project to another member of the same workspace with an owner, admin or editor role.
- Moving a project to another workspace keeps its built-in backend, database, users, storage, functions and secrets, but disconnects Git and the email sender domain, resets access to the new workspace's default and restarts analytics history.
- A project with Lovable's payments set up cannot move to another workspace until payments are disconnected, which cannot be undone. Find this out before closing.
- As of November 2026, a deleted project can be restored for 60 days, then is gone for good, according to [Lovable's project settings docs](https://docs.lovable.dev/features/projects/settings).

## Is the backend Lovable Cloud or a Supabase project you own?

The backend type decides how the data moves. [Lovable Cloud](https://docs.lovable.dev/integrations/cloud), the built-in backend, runs on Supabase's open-source foundation inside Lovable. An [external Supabase project](https://docs.lovable.dev/integrations/supabase) is one the team owns in its own Supabase organization.

| Question | Lovable Cloud | Your own Supabase project |
| --- | --- | --- |
| Who bills it | Usage comes out of Lovable workspace credits | Supabase bills the owner's Supabase organization |
| How it changes hands | Stays with the project when the project moves workspace | Supabase project transfer between organizations |
| Moving it elsewhere | No one-step move; export, restore and set up the rest | Already portable; transfer or migrate |
| Data region | Chosen when enabled; cannot change | A transfer cannot change the region |

A [Supabase project transfer](https://supabase.com/docs/guides/platform/project-transfer) needs you to be an Owner of the source organization and a member of the target, on the same account. A GitHub connection or an overdue invoice can block it. The project keeps its data, default URL and API keys, a transfer to a Free Plan organization removes add-ons, and there is no undo. If the plan is to leave Lovable Cloud, our guide to [moving off Lovable Cloud](https://www.plutonapps.com/guides/migrate-off-lovable-cloud) covers the cutover.

## What security evidence should you ask for?

Ask for evidence, not assurances. In a Lovable app, most serious risks sit in the database's access rules and in where keys are kept.

- Row-level security on every exposed table, with a test showing one user cannot read another's rows. See [users seeing each other's data](https://www.plutonapps.com/resources/lovable-users-see-each-others-data).
- User roles stored where users cannot edit them, and admin areas enforced by the database. See [authentication and user roles](https://www.plutonapps.com/resources/lovable-authentication-user-roles).
- [Lovable's Security view](https://docs.lovable.dev/features/security-view), under More, Security: a quick scan runs on every publish, a deep scan reviews all the code, and the dependencies card can export an SBOM. Lovable says: "Automated scans help catch common issues, but they cannot guarantee complete security." A No issues found result means only that the last scan found nothing.
- The secret (service role) key used only on the server, never in browser code. See [an exposed API key](https://www.plutonapps.com/resources/lovable-api-key-exposed).

Our [Lovable security checklist](https://www.plutonapps.com/guides/lovable-security-checklist) is the full list to work through, and [Lovable's security scan](https://www.plutonapps.com/resources/lovable-security-scan) explains what the scanner does and does not catch.

## Where are the secrets, and who has seen them?

On Lovable Cloud, API keys live on the project's [Secrets page](https://docs.lovable.dev/integrations/cloud). On an external Supabase project, [Lovable's Supabase docs](https://docs.lovable.dev/integrations/supabase) say secrets are stored in the Supabase project, readable by its Edge Functions, and never appear in the code or repository. Values prefixed VITE_ are different: they are public by design and ship in the browser code.

- Database exports leave out secrets, and a remix keeps secret names but not their values, so every key has to be re-entered wherever the app moves.
- Ask who has seen each value: former contractors, agencies, collaborators.
- Plan to rotate every secret after the deal closes. Removing a person does not remove what they copied.

## Which billing accounts need to change hands?

Every account that bills the app should end up in the company's name, with company payment details. A typical Lovable app has several:

- The Lovable workspace, billed through [Stripe's billing portal](https://docs.lovable.dev/introduction/invoices-and-billing) from Workspace settings, Plans & credit usage.
- The Supabase organization, if the backend is external. A project transfer changes who pays.
- The domain registrar and DNS.
- Payments, email sending, AI providers and any other service the app calls.

A card on a founder's personal account is a common finding. It is a small fix before closing and a real outage risk if it is found after.

## Can the data be exported and restored?

Ask for a real export and a test restore. On Lovable Cloud, the database export holds the structure, the data, and user accounts with password hashes. As of November 2026, [Lovable's backup and export docs](https://docs.lovable.dev/features/database-backups) set its limits: databases up to 15 GB, a file up to 5 GB, one export every 24 hours.

- The export is a [compressed PostgreSQL archive](https://docs.lovable.dev/tips-tricks/external-deployment-hosting) restored with pg_restore, not a file you paste into an SQL editor.
- It leaves out storage files, Edge Function code, secrets, sign-in provider settings and API keys. Storage files are downloaded separately from More, Storage.
- Users keep their passwords after a restore, but sessions do not carry over, so everyone signs in again once.
- As of November 2026, Lovable takes one database backup a day and keeps up to about 14 days, per [its backup docs](https://docs.lovable.dev/features/database-backups); backups do not include storage files.
- [AI features, app connectors and managed OAuth](https://docs.lovable.dev/tips-tricks/external-deployment-hosting) run through Lovable while the app uses the built-in backend, and need replacing if it leaves.

## What are the red flags?

The biggest red flags in a Lovable app are gaps in control and access: a repository in a founder's personal account or months out of sync, no inventory of secrets, tables without row-level security, and payments set up through Lovable, which blocks moving the project to another workspace.

- The repository lives in a founder's personal account, or has not synced for months.
- Nobody can say which secrets exist or who has seen them.
- Tables without row-level security, or policies that allow every row.
- Payments set up through Lovable, which blocks a workspace move.
- No export has ever been restored anywhere.
- Critical services billed to personal cards.

## When should you bring in an engineer?

Bring one in before signing if the app handles payments or personal data, if any red flag above applies, or if the plan is to move hosting or backend after closing. An engineer can read the access rules, run the restore and estimate the cost of what needs fixing.

Our guide to [hiring a Lovable developer](https://www.plutonapps.com/guides/hire-a-lovable-developer) compares freelancers, agencies and subscriptions on cost and scope. For a quick first read of an app's risks, the free [production-readiness check](https://www.plutonapps.com/tools/production-readiness-check) scores it and names its biggest gaps. Our [vibe-coding rescue service](https://www.plutonapps.com/services/vibe-coding-rescue) starts with an architecture review of what exists, then fixes what is risky, such as access rules, secrets and payments. Ongoing plans are on our [pricing page](https://www.plutonapps.com/pricing).

## Sources

All checked on November 23, 2026. We review this page every 30 days.

- Lovable docs: Deployment, hosting, and ownership options, on who owns apps and code, Git sync, the .zip download, hosting anywhere and the editor not being self-hostable ([docs.lovable.dev/tips-tricks/deployment-hosting-ownership](https://docs.lovable.dev/tips-tricks/deployment-hosting-ownership)).
- Lovable docs: Sync your Lovable project with GitHub, on two-way sync, the synced branch, and renaming, transferring, deleting and disconnecting the repository ([docs.lovable.dev/integrations/github](https://docs.lovable.dev/integrations/github)).
- Lovable docs: Project settings, on moving a project to another workspace, transferring ownership and deleting a project ([docs.lovable.dev/features/projects/settings](https://docs.lovable.dev/features/projects/settings)).
- Lovable docs: Invoices, payments, and billing details, on who manages billing and the Stripe billing portal ([docs.lovable.dev/introduction/invoices-and-billing](https://docs.lovable.dev/introduction/invoices-and-billing)).
- Lovable docs: Built-in backend, on Lovable Cloud, its Secrets page, data region, remixing and moving to another provider ([docs.lovable.dev/integrations/cloud](https://docs.lovable.dev/integrations/cloud)).
- Lovable docs: Connect to Supabase, on owning and billing an external Supabase project and where its secrets are stored ([docs.lovable.dev/integrations/supabase](https://docs.lovable.dev/integrations/supabase)).
- Lovable docs: Back up, restore, and export your project's database, on what the export includes and leaves out, its limits and daily backups ([docs.lovable.dev/features/database-backups](https://docs.lovable.dev/features/database-backups)).
- Lovable docs: Deploying and hosting outside Lovable, on the export format, sessions and what stays tied to Lovable ([docs.lovable.dev/tips-tricks/external-deployment-hosting](https://docs.lovable.dev/tips-tricks/external-deployment-hosting)).
- Lovable docs: Project security view, on quick and deep scans, the SBOM export and the limits of automated scans ([docs.lovable.dev/features/security-view](https://docs.lovable.dev/features/security-view)).
- Supabase docs: Transfer a project, on requirements, blockers, what stays the same and billing effects ([supabase.com/docs/guides/platform/project-transfer](https://supabase.com/docs/guides/platform/project-transfer)).

## Frequently asked questions

### Who owns the code of an app built with Lovable?

Lovable's documentation says the apps, code and content you create with Lovable are yours, subject to third-party rights such as open-source licences. In due diligence, also check who controls the GitHub repository, the Lovable workspace and the backend accounts, because ownership of code does not move those.

### Can a Lovable project be moved to the buyer's workspace?

Yes, with Move workspace in project settings. The project keeps its built-in backend, but Lovable disconnects its Git connection and email sender domain, and access resets to the new workspace's default. A project with Lovable's payments set up cannot move until payments are disconnected, which cannot be undone.

### How do you transfer the Supabase project behind a Lovable app?

Use Supabase's project transfer from the project's settings. You must be an Owner of the source organization and a member of the target one, on the same account. The project keeps its data, default URL and API keys, a GitHub connection or overdue invoice can block it, and there is no undo.

### What does a Lovable Cloud database export leave out?

Lovable's documentation says the export includes the full database and user accounts with password hashes, but not storage files, Edge Function code, secrets, sign-in provider settings or API keys. Storage files are downloaded separately, and sessions do not carry over.

### Is a clean Lovable security scan enough for due diligence?

No. Lovable says its automated scans cannot guarantee complete security, and a No issues found result only means the last scan found nothing. Ask for row-level security on every table with a test that proves isolation, a secrets inventory, and a review by an engineer for apps handling sensitive data.
