The alpha, twice a week
That was 2 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
The Cognitive Revolution · 2 min · Nov 28, 2026
Lovable formally verifies database access rules
Fabian Hedin explains how Lovable checks whether database row-level security rules actually prevent unintended access.
In this episode
Full analysis- 25:53Lovable is automating security maintenance for user-built apps7 min
- 49:28Business agents can earn autonomy through human reviewPro pick 3 min
- 1:02:01Lovable routes tasks to models based on their needsPro pick 3 min
- 12:04A solo founder built a $430,000 ARR platform in 45 days2 min
- 16:49Enterprise rollouts map data permissions before opening app creation5 min
- 37:10Lovable formally verifies database access rules2 min
- 56:57Server-side rendering helps generated apps get indexed4 min
- 1:07:16SaaS providers can stay useful by serving agents3 min
“And this is not done through test and so on, but we can kind of formally verify that and feed that back to the agent”
Fabian Hedinat 38:53 · The Cognitive RevolutionTakeaways
- The check targets whether application data is accessible.
- Formal verification goes beyond tests that cover selected cases.
- The agent can patch a rule and repeat the verification.
About this segment
Fabian Hedin explains how Lovable checks whether database row-level security rules actually prevent unintended access. The result feeds back to the agent for another patch-and-check cycle.
Fabian Hedin is co-founder and CTO of Lovable.
Co-founded Lovable, the Stockholm vibe-coding platform, after commercializing the open-source GPT Engineer project.

Nathan Labenz, Host · Host, The Cognitive Revolution
Founded AI video company Waymark and red-teamed GPT-4 before its release.
From “1M+ Projects a Week, $600M ARR: Lovable CTO Fabian Hedin on Empowering Everyone to Shape the World”, Nov 28, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 37:14
You mentioned like frontier security techniques a minute ago. Does that include or what do you think the prospects are for leveraging things like formal verification? I know this is like a huge trend, but I'm not sure if it's really a trend that's like broken through to the level of widely adopted platforms like Lovable. How much mindshare do you have for formal methods? What role does it play, if any, now?
- 37:42
And how do you expect that to develop? Yeah, so we already use some of this internally. and the idea right is that you're able to formally verify that whatever you're building it works the way you intend it to right and if you rely on unit tests and end-to-end tests it's not a formal verification of of that and this just comes back to creating this situation loop this feedback loop of an agent writing some code and then getting some you know some some feedback of was this correct. And it might be like runtime or real-time errors on the actual code itself, but the output of LovableWrite is not only code, it's a product or it's a business.
- 38:25
And so we want to verify that your intent is correct. And formal verification is one way to do this. And to give you one example in how we're using this in the platform today is When you create a database, we create kind of row-level security rules for you, or less rules. And we can, in our security scanners, we can formally verify, is data that you have within your application, is that accessible or not?
- 38:57
And this is not done through test and so on, but we can kind of formally verify that and feed that back to the agent and say, okay no there is actually this way in how the rules are configured that that you can access the data and therefore the agent can patch that and you know that loop keeps on going until we can formally say like yes okay the data is not accessible that's cool hey we'll continue our interview in a moment after a word from our sponsors the cognitive revolution is brought to