Apps built fast with AI hide the same few problems: a key left in the code's history, customers who can see each other's data, an AI feature anyone can run up a bill on. Thetis finds yours before a customer does, and tells you in plain English what to fix first.
Start free: send me your app's address and I'll tell you what it gives away to any visitor. When you want certainty, Ben runs the full Thetis review and checks every finding himself. Fixes are priced up front, and you only pay for the ones that pass their tests.
For anyone shipping AI-written code that touches payments, logins or personal data, technical founder or not. Ideally before your first real customers.
R 01 Secrets in code history · Secret files were committed at some point: .env.production. Their contents were not read.
R 04 Who can see what · Database row-level protection is switched off at supabase/migrations/0003_bookings.sql:10.
R 13 Abuse and runaway cost · Uses paid services (openai) and no rate limiting was found anywhere.
R needs fixing · A weak spot · OK nothing found by this basic check, which isn't the same as safe · NV not checked: needs a person or your dashboards Real output from the free check, run on Fernlight, a made-up demo app. See all three samples
From first check to fixed
Start with the free check. If it flags something, or can't check something, a review works out what's really wrong and prices each fix. You choose which fixes to buy, and only pay when their tests pass. Once you're live, Watch keeps an eye on every change.
Start here
Free checks
Three ways in · Free
yourapp.com→ report in your inbox/thetis-check:run→ 14 checks
Included: Your URL: what your live app gives away to any visitor, sent within a day
Included: One line in your terminal: all 14 checks on your code, in about a minute
Included: Read-only access: I run the code check and send you the report
Not included: Flags warning signs without confirming them
Ben Howdle, two-time startup CTO, author of The First CTO
I've been the CTO who deals with the heel after launch. The key someone finds in an old commit. The customer who can see another customer's data. The bill nobody capped. Fixing those with real customers watching is slow, expensive and stressful. Thetis is how I find yours before your customers do.
On Fernlight, our sample app, the free check found 3 need fixing in seconds. The review found 23 findings, including a login bypass no script could spot, and priced the fixes. The check tells you where to look. The review tells you what's actually wrong, and what it'll cost to fix.
Free check
Full review $500
Who does it
A script, in Claude Code on your machine
The Thetis review engine, with Ben checking every finding and signing off
What it looks at
Your code and git history, for known warning signs
Every route, query and config, plus your dashboards from the screenshots you send
What you get
Red flags, and a count of what your app exposes
Each warning sign confirmed or cleared, with evidence, and a fix plan: this week, this month, before your 100th customer
Gaps left by earlier fixes
Not looked for
Found: fixes that look done but leave the hole open, like a deleted key that still works
Fixes
What a review would check, in your app
Prioritised fixes with fixed prices, and a test for each
Time
Usually about a minute
A plain-English report within 3 working days of read-only access
Price
Free
$500, or nothing if it finds nothing that needs fixing
You can, and it'll answer with confidence. Ask again and you'll get a different list. It sounds just as sure when it's wrong, and if you can't read the code, you can't tell which answer to trust. Thetis uses AI too, but inside a fixed method, with a person checking the result.
A person checks it and puts their name to it
The Thetis engine does the legwork. Ben checks every finding against your code before it reaches you, and signs off the report: how sure he is of each one, and what couldn't be checked. An AI on its own won't tell you what it missed.
Fernlight: 23 findings, each labelled Confirmed, Likely or Unverified
Proof, not promises
Every fix comes with a test that fails on your old code and passes on the new. You only pay once it passes, so you never pay for a fix that doesn't work.
Fernlight fix: 2 tests failed before, all pass after
Progress you can measure
The same 14 checks, and the same id for each finding, every time. A re-check shows exactly what's fixed, what's still open and what's new, instead of a fresh guess.
Fernlight, after one fix: 2 findings closed, 0 new, 15 still open
It looks past the code
Backups, spending caps and who can change the live app are set in dashboards, not code. The review asks for screenshots and marks anything unproven as not verified, rather than assuming.
Fernlight: 2 items marked not verified, and why
It finds the gaps old fixes left
AI-built apps get patched fast, and a patch can look done while the hole stays open: a key file deleted but the key never replaced, or a check added for new customers but not existing ones. Spotting that means reading the history, not just today's code.
Fernlight: 1 gap left by an earlier fix, a deleted key that was never replaced
The review is $500. Any one of these problems found by a customer instead of by you costs more: in money, in time spent firefighting, and in the trust of the people who use your app.
How ready are new AI-built apps?
I'm running a study of apps launched recently with AI coding tools. Send yours and you get the free report either way. If you tick the box, your results are counted in the totals: how many apps had something that needed fixing, and which problems were most common. No app is ever named.
Only apps whose owners opt in are counted. The results will be published here and on benhowdle.im once enough apps are in.
Is Thetis right for me?
It's built for one kind of founder. If that isn't you yet, the free check is still yours to run.
Right for you if
You built your app with AI coding tools like Claude Code, Cursor or Lovable, and real people use it or soon will.
It holds something worth protecting: accounts, personal data or payments.
Your code is in a GitHub repository you can share read-only.
You'd rather fix the few things that matter than learn security from scratch.
You want it in writing: a report you can act on, with no calls to book.
Probably not the right fit if
It's a prototype with no users and no real data yet. Run the free check, ship, and come back when people depend on it.
You need a certificate, such as SOC 2, ISO 27001 or a formal penetration test. Thetis finds and fixes problems; it doesn't certify.
There's no code to share, for example an app built entirely in a no-code tool.
You already have a security team doing this work.
The free check reads JavaScript and TypeScript apps. Reviews and fixes work with any language on GitHub.
See a working example
Download the full sample review (PDF). Fernlight is a made-up booking app with real code and real git history. These are the actual outputs from running the free check, a review and one fix on it.
RED FLAGS FOUND (3 need fixing, 6 not checked)
01R
02OK
03NV
04R
05A
06NV
07OK
08NV
09A
10NV
11NV
12NV
13R
14A
A few seconds on Fernlight's 5 commits. No AI, nothing uploaded, nothing changed. It found the committed secrets file and the switched-off database protection on its own, and it says plainly what it couldn't check.
# Thetis free check: fernlightRED FLAGS FOUND (3 need fixing, 6 not checked)| 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 || -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- || R | OK | NV | R | A | NV | OK | NV | A | NV | NV | NV | R | A |## Start here- Needs fixing: Secrets in code history (01). Anyone who has ever had a copy of the code can read a key saved in its history, even if it was deleted later. Secret files were committed at some point: .env.production. Their contents were not read.- Needs fixing: Who can see what (04). Being logged in isn't enough: each person should only be able to see and change their own data. Database row-level protection is switched off at supabase/migrations/0003_bookings.sql:10.- Needs fixing: Abuse and runaway cost (13). Features that cost money per use (AI, email, SMS) need limits, or one bot or bug can run up a huge bill. Uses paid services (openai) and no rate limiting was found anywhere.## Your app at a glance- 6 API routes- 1 webhook handler- 2 database tables- Data in Supabase- Files in Supabase Storage- Takes payments with Stripe- Pay-per-use services: OpenAI- 3 ways to change production (scripts and pipelines)## What the full review would do for fernlight- Trace all 6 API routes for login and ownership checks.- Check who can read and change each of the 2 database tables.- Make sure the 1 webhook handler can't be faked or replayed.- Check Stripe payments: prices set on the server, and no way into paid features without paying.- Check OpenAI usage for spending limits and abuse.- Confirm files in Supabase Storage are private.- Confirm your Supabase backups exist, and walk you through a restore.## All 14 checks## 01 Secrets in code history: R*Why it matters:* Anyone who has ever had a copy of the code can read a key saved in its history, even if it was deleted later.- Secret files were committed at some point: .env.production. Their contents were not read.- *Not checked here:* Whether a key that was found still works. Removing a key from git doesn't switch it off; only replacing it in the provider's dashboard does.## 04 Who can see what: R*Why it matters:* Being logged in isn't enough: each person should only be able to see and change their own data.- Database row-level protection is switched off at supabase/migrations/0003_bookings.sql:10.- *Not checked here:* Whether each query checks who owns the record. The full review traces that route by route.## 13 Abuse and runaway cost: R
Overall RED(2 not verified)
01A
02NV
03R
04R
05A
06R
07A
08G
09R
10G
11R
12NV
13R
14R
The full review of the same app, run by the Thetis engine and checked by Ben: 23 findings, each with evidence and a confidence label, 1 fix that left a gap, and fixes priced up front.
What could hurt you now
Anyone on the internet can pretend to be any logged-in customer, including the owner, by sending one header. [03-6787bc9a1e00]
Any logged-in customer can read every other customer's booking, including their name, phone number and health notes, by changing a number in the address bar. [04-75d67ea7af1b]
The database's own protection on the bookings table is switched off, so nothing in the database stops one customer reading another's data if the app layer is bypassed. [04-c28b396bc513]
Already done well
No passwords or keys were found saved in your code history by the automated scan.
Only the keys that are meant to be public reach your customers' browsers.
Prices come from your server, never from the customer's browser.
Recommended first
Make every route require a login unless marked public · pull request$900
Stop users seeing each other's data · pull request$900
Rate-limit expensive actions · pull request$400
Set spending caps and alerts · you, with our notes$150
Stop customers seeing each other's bookings
Delivered as one pull request. Its tests fail on the old code and pass on the new, so you can see the fix works before you merge it, and you only pay once they pass.
The rerun, matched by finding id
Before
01A
02NV
03R
04R
05A
06R
07A
08G
09R
10G
11R
12NV
13R
14R
After the fix
01A
02NV
03R
04G
05A
06R
07A
08G
09R
10G
11R
12NV
13R
14R
Fixed: Booking view does not check who owns the booking [04-75d67ea7af1b]
Fixed: Row-level security disabled on bookings [04-c28b396bc513]
15 still open (fixes not bought yet) · 0 new
before ✗after ✓GET /api/bookings/:id returns 404 when a different customer asks
before ✗after ✓a new migration re-enables row level security on bookings with an owner-only select policy
still ✓GET /api/bookings/:id returns 200 and the booking for its owner
diff --git a/src/app/api/bookings/[id]/route.js b/src/app/api/bookings/[id]/route.jsindex cd54133..edbf3fd 100644--- a/src/app/api/bookings/[id]/route.js+++ b/src/app/api/bookings/[id]/route.js@@ -6,6 +6,9 @@ export async function GET(request, { params }) {const user = await currentUser(request);if (!user) returnnew Response("Unauthorized", { status: 401 });const booking = await db().bookings.find(Number(params.id));- if (!booking) return new Response("Not found", { status: 404 });+ // Answer 404 (not 403) when the booking isn't the caller's, so ids can't be probed.+ if (!booking || booking.user_id !== user.id) {+ return new Response("Not found", { status: 404 });+ }return Response.json(booking); }diff --git a/supabase/migrations/0004_bookings_rls.sql b/supabase/migrations/0004_bookings_rls.sqlnew file mode 100644index 0000000..cc32b4a--- /dev/null+++ b/supabase/migrations/0004_bookings_rls.sql@@ -0,0 +1,6 @@+-- Re-enable row level security on bookings and restrict reads to the owner.+alter table bookings enable row level security;++create policy "bookings_select_own" on bookings+ for select+ using (user_id = auth.uid());diff --git a/tests/bookings-ownership.test.js b/tests/bookings-ownership.test.jsnew file mode 100644index 0000000..3d6bee0--- /dev/null+++ b/tests/bookings-ownership.test.js@@ -0,0 +1,84 @@+import { test } from "node:test";+import assert from "node:assert/strict";+import { readFileSync, readdirSync } from "node:fs";+import { fileURLToPath } from "node:url";+import { dirname, join } from "node:path";++import { GET } from "../src/app/api/bookings/[id]/route.js";+import { setDb } from "../src/lib/db.js";++const here = dirname(fileURLToPath(import.meta.url));+const repoRoot = join(here, "..");++function makeDb(bookings) {+ return {+ bookings: {+ async find(id) {+ return bookings.find((b) => b.id === id) ?? null;+ },+ },+ };+}++const bookingA = {+ id: 1,+ user_id: "user-a",+ class_id: 10,+ name: "Alice",+ phone: "0100000000",+ health_notes: "none",+};+const bookingB = {+ id: 2,+ user_id: "user-b",+ class_id: 11,+ name: "Bob",+ phone: "0200000000",+ health_notes: "none",+};++test("GET /api/bookings/:id returns 404 when a different customer asks", async () => {+ setDb(makeDb([bookingA, bookingB]));+ const req = new Request("http://test/api/bookings/1", {+ headers: { "x-test-user": "user-b" },+ });+ const res = await GET(req, { params: { id: "1" } });+ assert.equal(res.status, 404);+});++test("GET /api/bookings/:id returns 200 and the booking for its owner", async () => {+ setDb(makeDb([bookingA, bookingB]));+ const req = new Request("http://test/api/bookings/1", {+ headers: { "x-test-user": "user-a" },+ });+ const res = await GET(req, { params: { id: "1" } });+ assert.equal(res.status, 200);+ const body = await res.json();+ assert.deepEqual(body, bookingA);+});++test("a new migration re-enables row level security on bookings with an owner-only select policy", () => {+ const migrationsDir = join(repoRoot, "supabase", "migrations");+ const laterMigrations = readdirSync(migrationsDir)+ .filter((f) => f.endsWith(".sql") && f > "0003_bookings.sql")+ .sort();+ assert.ok(+ laterMigrations.length >= 1,+ "expected a new migration file after 0003_bookings.sql",+ );+ const sql = laterMigrations+ .map((f) => readFileSync(join(migrationsDir, f), "utf8"))+ .join("\n")+ .toLowerCase()+ .replace(/\s+/g, " ");+ assert.ok(+ /alter\s+table\s+bookings\s+enable\s+row\s+level\s+security/.test(sql),+ "migration should enable row level security on bookings",+ );+ assert.ok(+ /create\s+policy[^;]*on\s+bookings[^;]*for\s+select[^;]*using\s*\(\s*user_id\s*=\s*auth\.uid\(\s*\)\s*\)/.test(+ sql,+ ),+ "migration should add a select policy restricting rows to user_id = auth.uid()",+ );+});
Install the free check
It's a plugin for Claude Code, Anthropic's coding agent: two commands to install, one to run. It reads your repository without changing it and saves the report to your home folder, not your repo. The only network call asks npm's public advisory database about your package versions. Your code itself never leaves your machine.
No terminal, or not using Claude Code?
Give me read-only access to your repo and I'll run the free check for you, then send you the report, usually within a working day. I delete my copy of your code once it's sent.
In the Claude Code terminal app you can type the same thing as /pluginmarketplace add …
2. Run it in Claude Code, in your app's folder
›/thetis-check:run
3. Finished? Got red flags, or areas it couldn't check?
That's what a review is for: Ben runs the full Thetis review to work out which are real, checks what the script can't, and prices each fix. The report is saved in ~/.thetis-check/reports/. You don't need to send it, or give anyone access, to ask.
Not using Claude Code? One line, in any terminal, in your app's folder
Fourteen checks in six areas. Each one is rated needs fixing, weak spot, OK or not verified. Nothing is called safe without proof.
Secrets
01
Secrets in code history
No live keys or passwords were ever saved in your code, including old commits.
02
Secrets in the app
Nothing secret reaches the browser, the mobile app or your logs.
Access
03
Who can call what
Every private function needs a login, and admin areas are kept apart.
04
Who can see what
People can only see their own data, and links can't be guessed.
05
Files and uploads
Uploaded files aren't sitting in public folders or at guessable addresses.
Personal data
06
Personal data
You can delete or export someone's data, and it stays out of logs and analytics.
Payments
07
Payment messages
Payment notifications are genuine, and a repeated one isn't counted twice.
08
Prices and access
Customers can't set their own price or reach paid features for free.
09
Test and live apart
Test versions can't take real money or touch real data, and the reverse.
Backups and recovery
10
Backups exist
Backups run automatically, are recent, and the app itself can't delete them.
11
Restore rehearsed
Someone has actually restored a backup and knows how long it takes.
Changes and running costs
12
Dependencies
The libraries you use have no known holes in the parts that matter.
13
Abuse and runaway cost
Expensive features have limits, and your paid services have spending caps.
14
Who can change production
You know who and what can change the live app, including AI assistants, and something stops a mistake.
What one heel costs
Each of these turned up in the sample app above, and each is common in apps built fast with AI tools. None of them shows up in normal testing, because the app works fine.
Customers can see each other's data
That's a personal-data breach. Under UK and EU GDPR it may have to be reported to the regulator, and the customers affected may have to be told.
A key sits in your git history
Deleting the file didn't switch the key off. Anyone who has ever had a copy of the code can still use it, until you replace it.
An AI feature with no limit
One script calling it in a loop runs up your AI bill all night. Nothing stops it, and the provider sends the bill to you.
Finding them is free with the check, or $500 for a full review. Fixing them is priced before any work starts, and you only pay for fixes whose tests pass.
Built to be trusted with your code
Read every line
The free check is open source. It's one script you can read before you run it.
During a review, a hook blocks the tools that edit files, pushes, commands against live databases, and reading secret files, so safety doesn't depend on anyone remembering.
Your code stays yours
The free check never uploads your code. A review works on one encrypted copy, deleted when we're done, and you confirm access is removed.
Evidence for every finding
Every finding says where it is and how sure we are. What we can't see is marked not verified, never guessed green.
Pay when it works
Each fix comes with a test that fails before and passes after. You're charged only once it passes.
Checked by a person
Every finding is checked by Ben, a two-time fintech CTO, before the report reaches you, and he signs it off.
Only what any visitor's browser receives: the page, the scripts it loads, and any source maps they point to. It looks for secret keys left in that code, a database connection that depends on rules it can't see, downloadable source code, HTTPS, security headers and cookie settings. It never guesses hidden addresses, sends anything to your app or tests your database. I keep your address and email only to send you the report.
Not with the free check: it runs locally. Its only network call asks npm's public advisory database about your package versions, never your code. If you open the link at the end of your report, the site records the 14 ratings it carries, so I know the check was run: nothing from your code, and no names. For a review, you give read-only access to your repo. We work on a copy on an encrypted laptop, the review engine analyses it with Claude, Anthropic's AI model, and we delete the copy when we're done.
Yes. The Thetis engine uses Claude, Anthropic's AI model, to work through your code against the 14 checks. Ben then checks every finding against the code before the report reaches you, and signs it off. That's the difference from asking an AI yourself: a fixed method, evidence for every finding, and a person accountable for the result. The free check uses no AI at all.
No. Checks and reviews are read-only. Fixes come as pull requests that you review and merge yourself.
The free check is built for Claude Code: install it with two terminal commands, then run /thetis-check:run. Without Claude Code you can run it in one line from any terminal (it needs python3 and git), or give me read-only access to your repo and I'll run it for you. Reviews and fixes don't need Claude Code at all: they work with any repo on GitHub.
The check is free. A review is $500, and if the review finds nothing that needs fixing, you don't pay for it. Fixes are priced one by one before any work starts, and you only pay for the ones whose tests pass. Thetis Watch is $1,500 a month, month to month, and if you had a paid review in the last 12 months, its fee comes off your first month.
Ask anything with the form, or email hello@benhowdle.im. Either way it comes straight to me, and you'll get a written reply within one working day.
It all happens in writing, on your schedule: no sales call to book, no mailing list, and nothing starts until you've agreed to it.