# Lovable is automating security maintenance for user-built apps

Markdown copy of https://realalpha.app/s/lovable-is-automating-security-maintenance-for-user-built/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [Fabian Hedin](https://realalpha.app/builders/fabian-hedin/) · 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.
- Host: [Nathan Labenz](https://realalpha.app/people/nathan-labenz/) · Host, The Cognitive Revolution · Founded AI video company Waymark and red-teamed GPT-4 before its release.
- Show: The Cognitive Revolution
- Episode: [1M+ Projects a Week, $600M ARR: Lovable CTO Fabian Hedin on Empowering Everyone to Shape the World](https://realalpha.app/v/Bh17p93s8O4/), Nov 28, 2026
- Moment: 25:53 to 33:22 of the episode (7 min), playing on https://realalpha.app/s/lovable-is-automating-security-maintenance-for-user-built/; the episode from there: https://realalpha.app/v/Bh17p93s8O4/?t=1553

## Quote

> “we have security scanners on Lovable that **scans every project** being built. And we do this for free”
> — [Fabian Hedin](https://realalpha.app/builders/fabian-hedin/) at [27:33](https://realalpha.app/v/Bh17p93s8O4/?t=1653) · The Cognitive Revolution

## Takeaways

1. Every project gets security scans at no extra cost.
2. Agents can update vulnerable dependencies in the background.
3. Tests built alongside an app help validate later changes.

## About this segment

Fabian Hedin describes scanning every project, automatically patching vulnerable dependencies, and using app tests to validate changes. The platform aims to make ongoing security less dependent on users staying on top of it.

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](https://realalpha.app/v/Bh17p93s8O4/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[25:57](https://realalpha.app/v/Bh17p93s8O4/?t=1557) And I guess maybe even like, how much security can you realistically promise to customers right now? It strikes me that we're in this moment where, you know, you could potentially do everything right and still have kind of unknown, unknown risk, right? The situation that we're in right now with security reminds me of Murphy's Law, like anything that can go wrong will go wrong. And that's like a way to think about building software.

[26:20](https://realalpha.app/v/Bh17p93s8O4/?t=1580) And that's really the case where we have, you know, software that has been around for tens of years with bugs in them, such as Nginx recently here, right, where you get these kind of remote execution bugs where they've been in the program for 10 years plus. And you have, you know, you have issues with PHP where, you know, about half of the internet is running on this. And so you start finding this all over the place.

[26:49](https://realalpha.app/v/Bh17p93s8O4/?t=1609) And then if you zoom back to Lovable now and you think of, okay, you actually have people building software who does not necessarily think about the security piece of it. And so the way we think about that is that we, of course, have to take care of making sure that the software that you build on Lovable is secure and that you can build platforms on Lovable serving customers in a way where both you're building that and your customers are safe and secure.

[27:19](https://realalpha.app/v/Bh17p93s8O4/?t=1639) And the way we do that is to really kind of scrutinize the code that is being built on the platform. And this has to be done in the same way that the code is being built, right? By having AI make sure that that code is safe. And we do this in a few different ways. we have security scanners on Lovable that scans every project being built. And we do this for free, by the way, because we want to just incentivize people to do it. You don't really have a choice. We're going to scan your project for you, right? And then as your project starts evolving, right, and it goes out there, then, you know, first off, we're just making sure everything is up-to-date.

[28:00](https://realalpha.app/v/Bh17p93s8O4/?t=1680) You know, again, with kind of the PHP analogy, where you have so many WordPress sites out there living in a VM that are not getting updated, right? That's not the case with Lovable because we're managing the infrastructure to make sure it's always on the latest. But the code itself is specific to the app. And so to manage that, we need to make sure that we have agents continuously analyzing what is being built and making sure it is secure.

[28:28](https://realalpha.app/v/Bh17p93s8O4/?t=1708) And so we do everything from looking at dependencies in your app and bumping and updating those automatically without you making a change to the app because we don't want you to host something that has a known vulnerability in it, right? We're kind of on this journey where actually making small changes to your app is extremely reliable. And so before, what we used to do is we found a security vulnerability and we would send you an email and we would give you a pop-up the app. And before you publish it, we would warn you like, hey, you have this vulnerability, but you will have to click like fix because there might be something in your business logic that there was the vulnerability or it might be something else, but we're kind of afraid it will affect your business logic or anything else in the app. But really the reliability

[29:15](https://realalpha.app/v/Bh17p93s8O4/?t=1755) of making these changes is getting to a place where we can do more and more of this automatically. And so we're moving towards this way of handling security where you truly do not have to manage it as a user. And we're not quite there yet. And I think we're on this journey with our users where we want to make sure they're educated. And we do this within the product as you're building. Like if you're prototyping, it doesn't really matter, right? But as soon as you want to have real users on there, we really make an effort to make sure that you're educated.

[29:49](https://realalpha.app/v/Bh17p93s8O4/?t=1789) And more and more so, we're making an effort to, even if you kind of choose to actively care about this or not, the app is just kind of auto-updating, and we're making sure that, especially when you have these end users, that you have business logic that actually makes sense and follows regulations and just, I would say, basic common sense and security of what is being built. Which, you know, is a hard problem when you have 70 million apps out there being built and iterated on the platform.

[30:18](https://realalpha.app/v/Bh17p93s8O4/?t=1818) Um, so does that mean you, when you say like it's getting reliable enough, you know, the gold standard typically for, well, I don't, I'm not, no security expert, but like certainly a component traditionally of making upgrade like this would involve like end to end testing, you know, from kind of the, you know, from the chair in front of the app, working through all the flows, making sure everything still works the way it used to.

[30:45](https://realalpha.app/v/Bh17p93s8O4/?t=1845) I'm guessing you're not doing that, right? Like how much sort of can we rely on just the coding agents are good, they get it right, or like we build out a few kind of unit tests, we make the upgrade, we make sure the tests pass, or maybe you do have to go through all the way still to like end-to-end, you know, click through the whole app testing. How much are you finding is necessary to be able to run these background updates?

[31:14](https://realalpha.app/v/Bh17p93s8O4/?t=1874) It always depends on the update itself, right? If it's just like patching a vulnerability in a dependency in the app, you probably don't have to run a bunch of agents going and crawling the site in all possible ways. Anything could go wrong in an end-to-end way. But if you're changing some of the business logic, then you want to make sure you run your unit tests and your end-to-end tests and that you might even do some agentic discovery outside the testing suite. One thing we're doing here is that when you're actually building on Lovable, Lovable as it is building for you, it is also testing it for you. And the way it's testing it is partly by writing actual unit tests in the code. And so as you build out your app, you also build out your test suite.

[32:00](https://realalpha.app/v/Bh17p93s8O4/?t=1920) Might also go in with its own browser and click through and make sure that it works in an end-to-end way. But by building out this test suite, we're putting ourselves in a good spot later on when, okay, we find this vulnerability or this potential issue that might be just a result of kind of the outside world, finding a deep vulnerability within Node or whatever it might be, right, and we need to make this update.

[32:24](https://realalpha.app/v/Bh17p93s8O4/?t=1944) then we can actually run all of these tests that are already made from when you built your app out. And so the more and more we verify your app when you build it, the easier we just make this kind of continuous maintenance of the app, which, by the way, is like one of the big value adds that we can have as a platform when we take kind of this more managed approach of the software that you're building, right?

[32:50](https://realalpha.app/v/Bh17p93s8O4/?t=1970) where we can actually follow it over time. We have user analytics, we have everything going on, and so we can make sure that even if you're not on top of this yourself, that we can actually help secure, help make sure it keeps running, or whatever it might be when it comes to ongoing maintenance of the app. The other thing that really jumps out to me is getting into actually analyzing
