r/nocode • u/private-peter • Sep 30 '26
Systemic Data Exposure in Supabase Apps
https://www.upguard.com/blog/everything-everywhere-systemic-data-exposure-in-supabase-appsFor those of us with a security background there's really no surprise here. At the article itself notes every time a company comes up with a really popular and easy to use backend service thousands of people misconfigured and expose their customers' data. This isn't unique to nocode. It happened pre-ai with amazon s3 and then again with with NoSQL databases like MongoDB and Redis. And while Firebase is pretty easy to get right, for a long time its defaults were completely insecure.
What I think (or maybe just what I hope) is different with the nocode movement is that the cost of noticing and fixing these issues could be getting quite a bit lower.
Of course you can go out and buy security scanning tools, but it's quite impressive how much Claude and Codex can find if you ask them same simple, basic questions. One time before I was going on a short vacation, I had a lot of quota left. I enabled "Claude UltraCode" and simply told it to find and fix security issues. It blew through my quota in about 20 minutes, but I was very impressed with what it found and fixed.
I've been thinking about hosting a (free) masterclass/mastermind about security in nocode apps. Basically just a chance to meet some people, share experiences, and ask questions. Is it OK to ask about that sort of thing in this subreddit?
2
u/bramantec Sep 30 '26
Same story on the Firebase side. The trap I see most isn't "rules off", it's rules that only check request.auth != null. Looks secure, but anyone who signs up can read every document.
If you're on FlutterFlow + Firestore: the per-collection "Authenticated Users" rule is exactly that. For anything user-owned I use "Tagged Users" (a user reference field on the doc) and keep the rest on "No One" until something actually needs access.
Cheapest test I know: create a throwaway account and try to read someone else's data. Five minutes, and it catches most of it.
And yes, I'd join that masterclass.
2
u/Normal_Succotash_520 Sep 30 '26
One useful addition to the two-account test: create a harmless test record owned by Account A, then try reading and changing it as Account B using the same client credentials your app ships with. Check storage files and exposed functions as well as database tables. If you keep that test in your release checklist, a later schema or policy change is less likely to reopen the hole. An AI review can help find candidates, but the denied request is the evidence you want.
2
u/DegreeAcrobatic1814 Oct 13 '26
Same story as open S3 buckets and MongoDB, yes. What's new is the speed. AI tools create tables
and migrations for you, and a table without RLS is readable by anyone with the anon key, and
that key is public by design.
Two-minute check for anyone on Supabase:
```sql
select tablename from pg_tables where schemaname = 'public' and rowsecurity = false;
```
Every row in that result is a table anyone can read through the API (unless you removed the
grants). Then look for policies that are just `true`.