“We have RLS enabled” is not “our tenants are isolated.”
“The Security Advisor is green” is not “the app is closed.”
“verify_jwt is on” is not “this endpoint is safe.”
A policy can exist and still be wrong. The place it’s wrong is almost never the UI. It’s the API.
Your frontend only ever queries with your own session, so everything looks locked down. PostgREST will still run the query RLS was supposed to stop. “Looks fine” and “is fine” are different claims, and nothing in the normal workflow tells you which one you have.
This is not a Supabase problem. RLS is powerful. It is just easy to get wrong, and you find out from a breach, not a build error.
I kept seeing the same gap, so I built the smallest test that actually counts, then the battery around it.
Kloof is an open-source evidence engine for Supabase stacks. It runs on your machine, reads your schema and edge functions, and produces ranked findings labeled by confidence. Nothing leaves the machine.
Self-run output is unreviewed. It is not a Kloof Report. It is not a pentest or a certification. It will not tell you you are secure. A human-signed Report is the paid product.
The ones that keep shipping are the ones the agent marks green.
A policy can exist, pass the Security Advisor, and still let any authenticated user read every row when you hit PostgREST directly. The UI never sent that query, so it looked fine.
Same pattern in edge functions: verify_jwt = true is not authorization if the function never checks the caller.
This is why I built Kloof, an open-source evidence engine that runs both checks on a local checkout. Self-run is unreviewed.
Being in the ER after a moment that could have been significantly worse a couple of years ago made me realize (and really cry over the fact) that I wasn’t ready.
Not ready in the sense that I didn’t have my stuff together. Sure, I have a will and documents. That alone is not being ready.
My wife and kids would not have found the who, what, where, and how immediately. They would have been bogged down with the process.
I still have a scar that reminds me every day. What I’ve built for one of those moments is exactly why we built this.
Two out of three of us have no plan for the day something happens. About 1 in 9 employees will lose someone close this year, and settling an estate takes roughly 570 hours on average. Most of it can’t be done after hours.
Nobody dropped the ball. There just wasn’t a map.
Someone you love is in the hospital. You’re trying to reach their doctor, find the insurance card, remember the attorney’s name. Phone at 12%. You haven’t slept.
We keep losing people we love, and every time the same scramble starts.
The documents are the easy part. The map is the part everyone skips. Especially when you own a business and both your family and your company depend on the same person.
That’s what we’re building.
Not for me. For my family’s peace of mind.
@TimurNegru You went back! Try Pedregalejo as a beach and El Tintero as a restaurant in El Palo. Will think of you while we’re here - but I’d rather be there :)
Item 5 is the one that still ships broken.
“Lock database rules so users can only read their own rows” is not the same as the rules actually doing it. A policy can exist, pass the Security Advisor, and still return every row when you hit PostgREST as a second authenticated user. The UI never sent that query.
Same pattern in edge functions: verify_jwt = true is not authorization if the function never checks the caller.
Exactly. The second-user test is the one that actually counts.
A policy that "looks" correct in the dashboard can still return every row when you hit PostgREST as a different authenticated user. The UI never sends that query.
Same pattern in edge functions: the function can pass verify_jwt and still trust the wrong caller.
This is a product. Well-packaged, easy to use, towards a growing niche, implementing/adding/fixing on the fly in the open.
Look forward to meeting @TimurNegru in person one day soon. Honored to know him at least here.
This is how properties are displayed on https://t.co/sot2HhRfzx and you also get it sent to you by email
It’s got
- the full listing
- map showing location
- market insights
- full listing
What else would you add?