Skip to main content
Sealgap
App security checks Maintenance plans 4 min read Daniel Nielsen

Why an App That Passed at Launch Fails Three Months Later

An app built with Lovable or Bolt keeps changing after handover. Six ordinary changes that reopen what was closed at launch, and how to notice when they do.

Launch day is the best-checked day in the life of most apps. Someone went through the access rules, the keys were where they should be, and the client signed off. Then the app kept changing, because changing it is one prompt away, and nobody checked it again.

This is the case for a maintenance plan that clients understand once they see it. Nothing on the list below is an attack or a careless developer. Each one is an ordinary change, made for a good reason, that quietly reopens something that was closed.

1. A new table without the old tables' rules

Three months after launch, the client asks for a waiting list, and the builder creates a table for it. Whether that table gets Row Level Security and sensible policies depends on that one prompt, not on how careful the original build was. The tables from launch are still fine. The new one may be open to anyone with the app's public key.

Supabase has changed the defaults here: new tables are no longer exposed through the API by themselves. That helps, but the builder usually adds the grant in the same breath as the table, because without it the feature does not work.

2. A rule loosened to make an error go away

A user reports "permission denied" on a screen. Someone pastes the error into the builder and asks it to fix it. The fastest fix is a policy whose condition is simply true, and that is often what comes back. The error disappears, and so does the protection. From the outside the app now looks better than it did, which is why nobody looks further. Five policies that leave a table open shows what such fixes look like.

3. A key added with a new feature

An AI summary, a payment link, a mail sent from the app: each new feature brings a key, and the shortest way to make it work is to call the service from the page. The key ships with the next publish. Which keys can be in browser code lists the ones that must not.

4. A setting changed for a demo

Some changes are not in the code at all. Sign-up is opened for a sales demo. Email confirmation is switched off because test mails were slow to arrive. Anonymous sign-in is turned on for a trial feature that was later dropped. Each one widens what "signed in" means, and every policy written for signed-in users widens with it. Settings changed in a dashboard leave no trace in the app's version history, so nobody remembers to change them back.

5. The domain or the host moves

The client moves the domain to a new registrar, or the app to another host. The certificate that renewed itself for a year stops renewing, because the record it depended on is gone. The security headers that were set in the old host's configuration do not come along. The app looks the same in the browser, until the certificate expires and every visitor sees a warning instead.

6. The project goes to sleep

Supabase pauses projects on the Free plan that show low activity over a seven-day period. A small client app with a quiet week can be paused without anyone touching it. What makes this one sneaky is that the app's pages are usually hosted elsewhere and still load. Only the data is gone: the login fails, lists stay empty. A check that only loads the front page reports the app as up.

Supabase sends a warning mail first, but it goes to whoever owns the project, which after handover may be a client who does not know what it means. Projects on a paid plan are not paused.

What the six have in common

None of them breaks the app. A broken app gets noticed within hours, because users complain. Every change on this list leaves the app working and makes it less protected, and the people who would notice are the ones who are not looking: the developer who handed it over, and the client who does not read code.

That is what a security regression is: something that was fine becomes not fine, and nobody is told. It is also why an app built through vibe coding regresses more often than one built the slow way. The cost of a change is a sentence, so there are many changes, and few of them are reviewed.

Check after changes, compare with yesterday

A one-time audit or penetration test answers for the day it ran. Since the problems arrive with changes, the checks should follow the changes: the same list, run again on a schedule, compared with the previous result. What matters is not the full list of everything an app could improve, but what is new since yesterday, because that is what a recent change caused and what the person who made it can still explain.

For an agency, the routine looks like this:

  • Run the same checks every night on every app under a plan: keys in the code, tables and files readable without a login, the two-user test, sign-up settings, certificate, headers and whether the app and its database answer.
  • Be told only when a result gets worse. A daily mail that says "all fine" is read for a week and ignored after that.
  • Fix it while the change is fresh, and say what happened in the monthly report.

When you sell the plan, this list is the argument. Not that the app was built badly, but that it will keep changing, and every change is a chance to undo what launch day got right.

Written by

Daniel Nielsen

Daniel Nielsen

Founder of Sealgap.

About Sealgap

Keep reading

See what one of your own apps answers.

The free check looks at an app from the outside: whether it answers, its certificate, its browser protections and keys in its public code.