Sample audit: PawPath Bookings

A fictional dog-walking booking app built in Lovable with Supabase and Stripe. The app, data and code are invented, but every finding is a pattern that shows up in real AI-built apps.

Summary for the owner

PawPath works, customers like it, and the owner built it in a few weekends. That's a real achievement. As it grows, a few things need attention: customer details are readable by anyone who knows where to look, two customers can book the same walker at the same time, and nothing checks that booking and paying still work after a change.

The good news: none of this needs a rebuild. The most serious problem can be fixed in a day with the prompt below, and the rest fit into normal work over the next month.

Fix this week: findings 1 to 3. Fix this month: findings 4 and 5. When convenient: finding 6. Three more findings are in the full PDF.

How PawPath looks across the six areas

Each area is rated by the most serious thing we found in it. There's no overall score: a single number would hide the one problem that matters most this week.

This is a point-in-time review of the app as it stood on the day we looked. It shows where to focus, not a guarantee that nothing else is wrong.

  1. Security and PrivacyFix now

    3 findings in the full report.

  2. Correctness and Data IntegrityNeeds work

    1 finding in the full report.

  3. Reliability and OperationsWorth attention

    2 findings in the full report.

  4. Testing and VerificationNeeds work

    1 finding in the full report.

  5. Maintainability and PerformanceWorth attention

    1 finding in the full report.

  6. Documentation and UnderstandabilityMinor issues

    1 finding in the full report.

Findings

CriticalFinding 1Security and Privacy

Anyone on the internet can read every customer's name, phone number and home address.

What we found
Row level security is turned off on the customers and bookings tables. The public key in the website's code is enough to download both tables in full.
Why it matters
Home addresses plus booking times tell a stranger when a customer is away from home. It's a serious breach of your customers' trust, and the kind of incident you'd have to explain to every one of them.
What to do first
Turn on row level security for both tables today. Then add policies so customers see only their own records and staff see what they need.

Prompt for your AI tool

Enable row level security on the customers and bookings tables in Supabase. Add policies so an authenticated user can only select, insert and update rows where user_id equals auth.uid(). Staff with role 'admin' in the profiles table can read all rows. Show me the SQL before running it, and list every place in the app that reads these tables so I can test each one.
HighFinding 2Correctness and Data Integrity

Two customers can book the same walker for the same time slot.

What we found
The availability check and the booking save are two separate steps with nothing tying them together. When two customers book at nearly the same moment, both bookings go through.
Why it matters
A walker double-booked, a dog left waiting, and an apology call to a customer who did everything right. It gets more likely as you grow.
What to do first
Make the check and the save a single step in the database, so the second booking is refused with a clear message.

Prompt for your AI tool

In Supabase, add a constraint on the bookings table so a walker can't have two bookings that overlap in time. Move the availability check and the insert into one database function that runs in a single transaction, and return a clear error the booking form can show. Add a test that tries two simultaneous bookings for the same slot and expects exactly one to succeed.
HighFinding 3Testing and Verification

Nothing checks that booking and paying still work after a change.

What we found
There are no automated tests. Changes go live after a quick click-through in the preview.
Why it matters
Every update is a gamble with the two flows that bring in money. Problems show up as customer complaints instead of a failed check.
What to do first
Add end-to-end tests for booking and paying, and have them run automatically before every release.

Prompt for your AI tool

Set up Playwright end-to-end tests for this app. Write tests that (1) sign up a new customer, (2) book a walk, (3) pay using Stripe test mode and the test card 4242 4242 4242 4242, and (4) confirm the booking shows as paid. Add a GitHub Action that runs these tests on every push and blocks deploys when they fail. Use a separate Supabase test project, never production data.
MediumFinding 4Reliability and Operations

There are backups, but no one has ever tested a restore.

What we found
The project uses the default daily backup. There is no written restore process, and the app has never been restored to a test environment.
Why it matters
If a bad change wipes bookings on a Friday night, nobody knows how long recovery takes, or whether it works at all.
What to do first
Do one practice restore to a test project this month and write down the steps. Turn on point-in-time recovery once revenue justifies it.

Prompt for your AI tool

Write a one-page runbook called RESTORE.md that explains how to restore this Supabase project from a backup into a new test project, step by step, including environment variables to change. Flag any steps you're unsure about rather than guessing.
MediumFinding 5Maintainability and Performance

Pricing rules are copied in four places, and the bookings page loads every record.

What we found
Walk pricing and cancellation rules are written separately in the booking form, the admin page, the confirmation email and a database function. The admin bookings page downloads every booking ever made each time it opens.
Why it matters
Change a price in one place and the other three keep using the old one (the confirmation email already does). And the admin page gets slower every week as bookings pile up.
What to do first
Move the rules into one shared place, and load bookings a page at a time.

Prompt for your AI tool

Find every place that calculates walk prices or cancellation fees and list them. Create one shared module with a single function for each rule, replace the copies with calls to it, and add unit tests for those functions. Then change the admin bookings page to load 50 bookings at a time, filtered and paginated on the server.
LowFinding 6Documentation and Understandability

How the app works lives only in the AI chat history.

What we found
There's no README, no list of the outside services and settings the app needs, and no notes on how to deploy or restore it.
Why it matters
If the original builder is unavailable, the next person starts from zero, and every fix takes longer than it should.
What to do first
Write a one-page README covering setup, services, settings and deployment.

Prompt for your AI tool

Write a README.md for this project aimed at a developer who has never seen it: what the app does, the tech stack, every outside service it uses (Supabase, Stripe, email, AI) and which environment variables each needs, how to run it locally, how to deploy, and where the restore steps live. Mark anything you're unsure about rather than guessing.

Get all nine findings as a PDF

An audit is a point-in-time review with practical recommendations. It reduces risk; it can't guarantee an app is free of problems.

Development guidelines for your AI tool

Every audit ends with a short set of rules written for your app. Paste them into your AI tool's project instructions (Lovable knowledge, Cursor rules, a CLAUDE.md file) so the next feature you build doesn't bring the same problems back.

  • Every new database table gets row level security and a policy before any data goes in.
  • No secret keys in front-end code. Anything with VITE_ or NEXT_PUBLIC_ in its name is public.
  • Prices and booking rules live in one shared module. Never copy them.
  • Every change to booking or payment code comes with a test, and all tests pass before deploying.
  • Changes that touch existing data are reviewed and tried on a test copy first.
  • Update README.md and RESTORE.md whenever setup, services or settings change.

Get the full sample report as a PDF

All nine findings, the ratings for all six areas, every AI prompt and the development guidelines, formatted the way a real client report arrives. Useful to forward to a co-founder, partner or the person who built your app.

We send the report and nothing else, unless you tick the box. See the privacy policy.

Let's talk about your app.

A free vibe check is a no-obligation conversation about what you built and what's worrying you. Tell us a little about your app below, and Jonathan will reply within two business days to set up a time to talk.

We use your details only to reply to you. No mailing list. See the privacy policy.