Skip to content
Dusk
NewShadow branches for every fix

The backend agent
for AI‑built software

Every table, secret and migration, watched and fixed while you sleep. Nothing destructive without a yes.

$npx dusk init

Free for one project. No card needed.

Northwind
Lumen
Halcyon
Kite
Tandem
Parallel
FindingsScanning 214 tables
Needs you2
Fixed today6
Watching14
FindingsDUSK-214
MCJL

Row-level security off on orders

Criticalpublic.ordersanon → 18,422 rows0042_add_orders.sqlby cursor-agent

Dusk anon key read 18,422 rows from public.orders without a session · 2m

Dusk traced to 0042_add_orders.sql, merged 11:42 pm, no policy · 2m

Dusk drafted 0043_orders_rls.sql and verified on shadow/fin-214 · 1m

supabase/migrations/0043_orders_rls.sql+4−0
1 -- 0043_orders_rls.sql
2+alter table public.orders enable row level security;
3
4+create policy "owners read own orders"
5+ on public.orders for select
6+ using (auth.uid() = user_id);

Shadow branch: anon reads 0 rows · owners still read their own · 214/214 tests pass

What Dusk promises

@duskfind who can read the payments table, and fix it.

  • Reads the schema
  • Reads the last day of logs
  • Reads the code that queries it
  • Writes to the database

Reads, never writes

Dusk connects read only. Every fix arrives as a pull request you merge yourself.

Refunds open to the anon key

Found in three places at once.

  • api/refunds.ts
  • refundstable
  • receiptsbucket
  • Tests all three on a shadow branch

Every layer at once

Code, database and cloud are read together, so a fix in one never breaks another.

STRIPE_KEYrotated

Shipped with web 3.2.0

  • New key live
  • Old key kept until you revoke it
  • Previous release kept warm
  • Down migration written

Every fix has a way back

Each fix ships with its undo: a down migration, a rollback, the old key kept until you say so.

Ship fast. Wake up to fixes.

Dusk finds what’s exposed, fixes it on a shadow branch, and waits for a yes before anything reaches production.

All findings
Orders table readable by anyone#214
MCReady for review

Maya joined the investigation

Orders table readable by anyone

Criticalpublic.orders18,422 rowsProductionby cursor-agent

What’s going on

At 11:42 pm the anon key read 18,422 rows from public.orders without a session. Row level security is off, so anyone with the URL can read every order.

Reads by the anon key, last 24 hours18,422 at 11:42 pm
12 am12 pmnow

Why it happened

Migration 0042_add_orders.sql created the table on Tuesday. The agent that wrote it never added a policy, and nothing in CI checks for one.

Findings

  • The table has no row level security policy
  • The anon key is used by the public web app
  • Two more tables were created the same way

Find what’s exposed across tables, policies, secrets and migrations, with the evidence for each one.

Fix

Every finding gets a fix, written and tested on a shadow branch before anyone sees it.

Lock public.invoices to row owners

dusk/213 · merged by Maya 2 days ago

Lock public.orders to row owners

dusk/214 · tests passed on shadow branch

Wait for a yes

Anything that drops, deletes or touches production stops and waits for a person.

Drops a columnTouches production
Rotates a key

Dusk watches what breaks at night. Policies, secrets, migrations and deploys, checked while you sleep.

Every table gets a policy. Agents create tables faster than anyone reviews them. Dusk reads every one each night and proves what a stranger can see.

  • Row level security

    Every table checked for a real policy, not just RLS on.

  • Read as a stranger

    Dusk replays the anon key to show exactly what leaks.

  • Policy history

    What changed, in which migration, and by whom.

  • Fixed on a branch

    The policy is written and tested before you look.

NorthwindFindings / #214

public.refunds

Critical
Rows 18,422Since 0045_refunds.sqlFound by nightly scan
Nov 2, 1:18 AM
Dusk’s run
1alter table refunds enable row level security;
2create policy owners_read on refunds
3 for select using (owner_id = auth.uid());
4create policy owners_write on refunds
5 for insert with check (owner_id = auth.uid());
6-- 6 of 6 policy tests passed

Built with AI. Kept safe by Dusk. What teams say after their first month.

“We closed an open invoices table before breakfast. Dusk found it overnight and the fix was ready when we woke up.”

Priya Raman

CTO, Northwind

invoices locked to owners at 6:10 am

Dusk watches over 1,200 apps built with AI. From weekend projects to Series B teams.

Priced by what Dusk watches. Free for one project. Pay when there is more to watch.

Hobby

For the project you ship on weekends.

$0per month

One project

  • A nightly scan of one project
  • Fixes opened as pull requests
  • A short report each morning

Scale

For teams with many apps and one backend owner.

$15per project, per month

11 to 25 projects

  • Everything in Team
  • Custom policies and rules
  • SSO and an audit log
  • Priority support

More than 25 projects? Volume pricing, SSO and a named engineer, set together.

Questions, answered.Everything teams ask before they let Dusk near production.

No. Dusk writes and tests every fix away from production, then opens a pull request. Anything that drops, deletes or touches production stops until a person approves it.

A read only database role and a GitHub app that can open pull requests. Dusk never holds a key that can write to production.

Dusk reads your schema, policies and query metadata. When it proves a leak it counts the rows a stranger could read, it does not copy them.

Postgres on Supabase, Neon, RDS or your own servers, with deploys from GitHub Actions, Vercel or any CI that can run one command.

Every change ships with a way back. Migrations come with a down file, and rolling back is one click from the finding.

A scanner hands you a list. Dusk proves what is exposed, writes the fix, tests it, then asks before anything ships. You review one pull request, not three hundred warnings.

Yes. On Scale, the runner can live in your VPC, so nothing leaves your network except the pull request.

About five minutes. Connect the database with a read only role, install the GitHub app, and the first scan runs that night.

Let Dusk watch tonight.

Social

© 2026 Dusk, Inc.

Templates