The backend agent
for AI‑built software
Every table, secret and migration, watched and fixed while you sleep. Nothing destructive without a yes.
Free for one project. No card needed.
Row-level security off on orders
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
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.
Maya joined the investigation
Orders table readable by anyone
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.
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.
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.
public.refunds
CriticalBuilt 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.
One project
- A nightly scan of one project
- Fixes opened as pull requests
- A short report each morning
Team
Most teamsFor startups shipping with agents every day.
2 to 10 projects
- Everything in Hobby
- A check on every push in CI
- Fixes tested on shadow branches
- Approvals from Slack
Scale
For teams with many apps and one backend owner.
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.