Skip to main content
Sealgap

What is a security regression?

A security regression is a weakness that appears in an app after a change, where the app did not have it before. A table that was protected becomes readable. A key that was kept on the server ends up in the browser code. A setting that was right at launch is switched for a demo and never switched back. The app keeps working, so nobody notices.

The word comes from software testing, where a regression is anything that worked and then stopped working. A security regression is harder to spot than an ordinary one, because what stops working is a protection, and protections are invisible when they are missing.

Why AI-built apps regress often

In an app built with an AI app builder, a change costs one sentence. That means many changes, and few of them are reviewed by someone who knows what the app's access rules were meant to do. A prompt that fixes a "permission denied" error by loosening a Row Level Security policy is a typical example: the error goes away, the screen works, and the protection is gone.

Other common causes are settings changed in a dashboard rather than in code, a domain or host that moves, and a new feature that brings a new key. Why an app that passed at launch fails three months later goes through six of them.

How to catch one

A regression is defined by comparison: it is only a regression if it was fine before. So the way to catch one is also a comparison.

  • Run the same checks on a schedule. Nightly is common, since most changes happen during the working day.
  • Compare each result with the previous one. What matters is not every possible improvement, but what is new since the last run.
  • Alert only on what is new. A mail every night that lists the same accepted issues stops being read within a week. A mail that arrives only when something got worse gets read every time.
  • Keep track of what was fixed. When a finding that was fixed comes back, that is the clearest regression of all, and worth knowing about separately.

Why it matters for a maintenance plan

Catching regressions is most of what a maintenance plan is for. A client paying every month is not paying for the app to be checked once. They are paying for someone to notice when it changes for the worse, ideally the morning after, while whoever made the change still remembers why.

Also known as

regression reintroduced vulnerability configuration drift

Free check

See what one of your apps answers.

Certificate, browser protections and keys in public code. No account needed.

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.