170 of 1,645 Lovable apps let a stranger read other users' data

You test your app as yourself. Stranger tests it as someone else.

Kane CLI signs in as a second user and goes looking for the first user's data. If it finds any, your coding agent fixes the database and Kane looks again.

Look for
LEAK Kane's own screenshot, signed in as stranger@duebook.demo. Open the run ↗

Built on Kane CLI. Fits the stack you already ship with.

What it does

Stranger signs in to your app as a second account and goes looking for the first account's data, on the page, in what the server sends, and with no login at all. Then it hands your coding agent the fix and checks again.

170 of 1,645
Lovable apps let a stranger read other users' data (CVE-2025-48757)
9 of 9
bug classes caught on the Stranger bench, and the clean control stayed CLEAN
4 min
for a full check with two real Kane CLI runs, about 50 credits

Live, and broken on purpose

It found one. You can see it too.

Duebook is a small invoicing app with the bug AI app builders ship most: the database lets every account read every row. Nobody notices, because nobody uses their own app as somebody else.

  • No sign-upOne click logs you in as either account.
  • Maya's real-looking dataHer invoices, her clients, the bank account in her notes.
  • Kane's own proofOpen Kane's run page ↗
  • Stays leakyFixes live on their own branch, so you can always check.

What your agent gets

# .stranger/FIX.md (excerpt)
Tables the stranger's page read: invoices

drop policy if exists "Enable read access for all users"
  on public.invoices;
create policy "Owners can read their own rows"
  on public.invoices for select to authenticated
  using ((select auth.uid()) = user_id);

Done means: stranger run prints CLEAN.
Read the whole brief ↗

Checked this week, all real Kane CLI runs

The loop closes without us.

One command. Two accounts. A fresh canary every run.

Stranger drives Kane CLI through your app twice, once as the owner and once as someone else, then asks the server directly. Every step is a real browser run with a public page anyone can open.

Kane · maya@duebook.demo

✓Log in

✓Saves stranger-canary-e18167

✓The canary is on her page

The owner plants a canary

Kane signs in as your real first account and saves a random string nobody else should ever see.

Kane · stranger@duebook.demo

On the stranger's pagesaw it

Its own reads, sent againsaw it

The same reads, no loginsaw it

LEAKrun 6541c9

A stranger goes looking

A second account checks its own control first, so an empty page can never pass. Any sight of the canary is a leak.

-- 0002_invoices_owner_read.sql
create policy
  "Users can read their own invoices"
  on public.invoices for select
  to authenticated
  using ((select auth.uid()) = user_id);

Your agent gets the fix

The brief names the table, the open policy and the migration to write. Filtering rows in the page is ruled out.

LEAKf5b2cc, found by Kane

AGENTwrites and applies the migration

CLEANc789a7, checked by Kane

It can't stop until CLEAN

A Claude Code Stop hook runs Stranger whenever the agent thinks it is done. On a leak, the brief goes straight back.

Stranger bench · 9 of 9

  • RLS off
  • Page-only filter
  • Leaky view
  • Leaky function
  • Record page
  • Forged insert
  • Leaky total
  • Open files
  • Public channel

CLEANon the control, as it should

Nine ways to leak, all caught

Ten small apps, each with one bug class left in. See the scorecard and every Kane run.

$ npx github:Sanchay117/stranger run
LEAK  Signed in as stranger@duebook.demo,
      Kane found the owner's canary
      on the page.
      Fix brief for your coding agent:
      .stranger/FIX.md
$ echo $?
1

One command, any pipeline

Exit codes, one JSON line with --json, a history file and a PR gate for CI.

The details

  • The owner plants a canary. Kane signs in as your real first account and saves a random string like stranger-canary-e18167.
  • A second account looks for it. Kane signs in as someone else, saves its own control, and checks the control is there, so an empty page can't pass.
  • Any sight of the canary is a leak. On the page, or in what the server sends: Stranger replays the stranger's own data requests, then again with no login at all.
  • New canary every run. Old data can't fake a pass, and a fix has to really hold.