Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by xXSLAYERXx on Monday February 02, 2026 @05:19PM
(#46862658)
Just started vibing and have integrated codex into my side project which uses Supabase. I turned off RLS so that could iterate quickly and not have to mess with security policies. Fully understand that this isn't production grade and have every intention of locking it down when I feel the time is right. I access it from a ReactNative app - no server in the middle. Codex does not have access to my Supabase instance.
Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by ryanjshaw on Monday February 02, 2026 @05:22PM
(#46862717)
RLS doesn’t slow you down. It actually speeds things up because you are forced to design things properly. It’s like type checking.
Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by xXSLAYERXx on Monday February 02, 2026 @05:34PM
(#46862928)
That makes sense and appreciate the response. Definitely a topic I need to invest more time with if that is the case.
Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by Chaosvex on Tuesday February 03, 2026 @04:45AM
(#46868821)
There is a server in the middle. It's the machine running Supabase.
Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by xXSLAYERXx on Friday February 06, 2026 @11:14AM
(#46914683)
Of course. What I meant was I'm calling Supabase directly from the client instead of handing off the request to for example Node / Express and having that manage the req / res.
Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by bgschulman31 on Monday February 02, 2026 @06:14PM
(#46863593)
My thought exactly. Is this standard practice with using Supabase to simply expose the production database endpoint to the world with only RLS to protect you?
Re:Hacking Moltbook: The AI Social Network Any Human Can Con...
by kinduff on Monday February 02, 2026 @09:05PM
(#46865433)
Supabase is aware of this and they actually put big banners stating this flaw when you unlock your authentication.
What I think it happens is that non-technical people vibe-coding apps either don't take those messages seriously or they don't understand what it means but made their app work.
I used to be careful, but now I am paranoid on signing up to apps that are new. I guess it's gonna be like this for a while. Info-sec AIs sound way worse than this, tbh.
In every project I've worked on, PG is only accessible via your backend and your backend is the one that's actually enforcing the security policies. When I first heard about the Superbase RLS issue the voice inside of my head was screaming: "if RLS is the only thing stopping people from reading everything in your DB then you have much much bigger problems"