← Back to offers
Sample deliverable
What an audit report looks like.
This is the format you get at the end of an audit or the first week of an app rescue. The app is fictional, a B2B booking tool built with Lovable and Supabase, but every finding is one that comes up again and again in AI-built apps.
Findings
- 2 critical
- 2 high
- 2 medium
- 1 low
Total fix effort
~7 days
Verdict
Do not launch to new customers until the four critical and high findings are fixed. That is about 3.5 days of work.
- 01Critical0.5 day
Any signed-in user can read every customer's bookings
- What I found
- Row Level Security is off on the bookings and invoices tables. With the public anon key from the browser, one query returns all 4,812 rows across every organization.
- Fix
- Enable RLS on all tables and add policies scoped to the user's organization. Add a test that fails if a table is created without RLS.
- 02Critical0.5 day
Admin database key is shipped to the browser
- What I found
- VITE_SUPABASE_SERVICE_KEY is bundled into the client JavaScript. Anyone who opens dev tools has full read and write access to the database.
- Fix
- Rotate the key today. Move the two admin actions that use it into a server function that checks the caller's role.
- 03High0.5 day
Plan upgrades can be faked
- What I found
- The Stripe webhook does not verify the signature, so a plain POST to /api/stripe can mark any account as paid.
- Fix
- Verify the signature, handle each event once (idempotency key) and read the plan from Stripe instead of the request body.
- 04High2 days
Every push to main goes straight to production
- What I found
- No tests, no type check in CI, no preview deploys. Two of the last ten deploys were rolled back by hand.
- Fix
- CI with type check, lint and smoke tests on the three paths that touch money: sign-up, booking, checkout. Preview deploy per pull request.
- 05Medium1 day
Dashboard takes 4.8 s to load on a mid-range phone
- What I found
- The bookings list makes one request per row (N+1): 140 requests on first load. No index on bookings.organization_id.
- Fix
- One joined query, an index, and pagination. Target: Largest Contentful Paint under 2.5 s.
- 06Medium2 days
One 2,300-line component blocks the next feature
- What I found
- Dashboard.tsx holds data fetching, three modals and all filter state. Recurring bookings, next on the roadmap, would touch most of it.
- Fix
- Split data access into hooks and the modals into their own components before starting recurring bookings.
- 07Low0.25 day
Errors are only found when customers email
- What I found
- No error tracking or uptime alerts in production.
- Fix
- Add Sentry and a basic uptime check that posts to Slack.
Want this for your app?
The real report also includes screenshots or queries that reproduce each finding, and a walkthrough call with your team. Audit from €1,500. Rescue, where I fix the findings too, from €4,000.