← Startup Signals
6 min readUpdated 2026-08-31Issue 1

Row-level security is on by default now. That is not the same as being protected.

Lovable fixed the default. The gap that actually leaks data was never the default, it was the policy, and no platform can write that for you.

ByKarthik KumarCafiyn Innovations
At a glance
Most common leak
Misconfigured RLS in Supabase-backed applications
Supabase default
Tables created via SQL have RLS off unless you enable it
Lovable now
Enables RLS by default, lints for it after migrations, scans schema changes
Still on you
Writing a policy that restricts who reads and writes each row
Test time
About two minutes with a second account

The part that changed, honestly

Lovable has closed the gap that generated most of the early coverage. It enables row-level security by default, runs a linter that catches missing RLS after a database migration, and runs automated security checks against database configuration when your schema changes, flagging what it finds. Its agent will also produce an assessment covering auth flows, schema, RLS policies, and general posture.

That is a meaningful amount of safety net, and it is worth saying plainly rather than recycling an older story about defaults that have since been fixed. If your mental model of building on Lovable is from a year ago, update it.

Why the default was never the whole problem

Row-level security is a switch and a policy. The switch decides whether Postgres consults a policy at all. The policy decides who can see which rows. Platform tooling can turn the switch on for you and can tell you when it is off. It cannot know that a support agent should see tickets for their assigned accounts and nobody else's, because that is a fact about your business, not about your schema.

So RLS enabled with a permissive policy passes every automated check and leaks exactly as much data as RLS disabled. The linter is satisfied, the scan is green, and the table is still readable by anyone holding an API key. This is the failure mode that survives good defaults, which is why it is the one worth your attention.

Supabase's own documentation makes the underlying point: tables created through SQL do not have RLS enabled unless you enable it, and skipping that step is a documented cause of data leaks. Anywhere your schema is created outside the tool's happy path, a migration you wrote by hand, a table added directly in the dashboard, the defaults you are relying on may simply not have applied.

The test that settles it

There is a version of this check that takes two minutes and does not require reading any policies. Create a second account. Sign in as that user. Try to read a row that belongs to the first user.

If it comes back, every row in that table is available to anyone who can authenticate, and in some configurations to anyone holding your public API key at all. If it does not, that table is doing what you think it is doing. Repeat for each table holding data that belongs to a specific user.

This works because it tests the thing you actually care about, which is behaviour, rather than the thing that is easy to check, which is configuration. It is also the same test that catches broken object-level authorisation in hand-written code, so it is worth doing whether or not a generator was involved.

What the funding round has to do with it

Lovable raised $400M at a $13.3B valuation this month. The reason that matters to someone building on it is not validation, it is roadmap: a company at that scale will keep improving the generated defaults, and the gap between "what the platform handles" and "what you handle" will keep moving.

That is good, and it creates a specific obligation. If your security posture depends on platform defaults, you need to know which ones, because they are being changed by someone whose release notes you do not read. The properties you own explicitly, in policies you wrote and tests you run, are the ones that do not move underneath you.

What to do

  1. 1Create a second account and try to read the first account's rows. Do this for every table containing user-owned data.
  2. 2List the tables in your project and confirm each one has RLS enabled and at least one policy. Enabled with no meaningful policy is the case that passes checks and still leaks.
  3. 3Check any table you created outside the tool: hand-written migrations and dashboard-created tables may not have picked up the default.
  4. 4Write down which security properties you are relying on the platform for. Those are the ones to re-verify after a platform update.
  5. 5Add the second-account read test to whatever you run before a release, so it is a check rather than a memory.

Common questions

Is Lovable safe to use for a production app?

It ships meaningful safeguards: RLS on by default, a linter that catches missing RLS after migrations, and automated checks on schema changes. What it cannot do is write the policy that says who may read which row, because that is specific to your product. Treat the platform as covering the switch and yourself as owning the policy.

If RLS is enabled, is my data protected?

Not necessarily. RLS enabled with a permissive policy behaves much like RLS disabled while passing automated checks. The protection comes from the policy restricting rows to their owner, not from the feature being switched on.

What is the fastest way to check?

Sign in as a second user and attempt to read the first user's rows. If the data comes back, the table is exposed. It takes about two minutes and tests behaviour rather than configuration.

Does this only affect AI-generated apps?

No. Supabase documents that tables created via SQL do not have RLS enabled by default, so a hand-written migration carries the same risk. Broken object-level authorisation is one of the most common web vulnerabilities generally, with or without a code generator.

Sources

Read against the primary documentation rather than secondary coverage. Where a figure comes from a provider's own docs, it is quoted as published on 2026-08-31.

Related

More from Signals

OpenAI removes o1, o3-mini, o4-mini and GPT-4 Turbo on 23 October. The replacements it names run from 5.5 times the price to 97 percent less.
Eleven models and six fine tuned models go dark in four days. Here is OpenAI's own mapping, what each landing costs on a typical month of traffic, and the places where the named replacement is not the cheapest or cannot be used at all.
OpenCode says a breach hit 1.4 percent of Console users who linked an AI provider. Rotate those keys before the root cause is published.
OpenCode has confirmed the breach and has not said how it happened or what was taken. Here is what the vendor said, who is exposed, the order to work in, and how to limit the damage next time.
GitHub Actions workflow lockfiles are in public preview. Here is how to turn them on, check them in CI, and what they do not protect.
A tag can move after you reviewed it. A lockfile makes the runner use the commit you reviewed. Here is the setup, the CI check, the policy, and what a lockfile cannot tell you.
Next.js 16.4.1 and 15.5.28 fix two critical remote code execution flaws. For one of them there is no workaround.
Two of the three fixes were postponed from September. Here is what each flaw needs in order to be reachable, the one workaround that exists, and what the announcement leaves out.
A poisoned npm release that punishes you for revoking the stolen token. The order of your response is the whole defence.
Most incident guidance starts with revoking the leaked token. Here that is the trigger. What StepSecurity found, the order it recommends, and why a valid provenance attestation did not help.
Claude Haiku 5.5 costs a tenth of Haiku 4.5 per token. One token past 100,000 it costs half.
The rate card is a tenth of Haiku 4.5. The footnote is a threshold that moves the price fivefold and that a tokenizer change pushes you toward.
Gemini 4 Argon launched at $2 and $10 and goes to $4 and $20 on 1 December. Price your product on the second number.
Every tier on the pricing page doubles on the same date. What changes, what the number includes, and what to do if you are building on the launch rate.
Claude Haiku 5.5 is not a model id swap. Five things that worked on Haiku 4.5 now return a 400.
The model id is the easy part. The requests that now fail, the response parsing that changes, and the details that fail quietly.
Next.js shipped 16.3.7 and 16.3.8 a day apart. Only one of them is the security release.
Two patch releases a day apart, one of them a decoy if you are not reading carefully. And the 15.5 line does not get the high severity fix at all.
The EU AI output marking rule is not a December deadline. For most teams it started in August.
Almost every summary of this gives one date. There are two, and which one applies to you depends on when you shipped, not on how big you are.
Sonnet 5.5 cut the rate by a third and the token count went up by about 30 percent.
A third off the per-token rate is not a third off the bill when the same text now costs more tokens. Here is the arithmetic, and the five ways your code can break.
Your AI gateway holds every provider key you have. A 9.9 just landed in LiteLLM.
An AI gateway concentrates every upstream key into one process. That is the point of it, and it is why a privilege escalation there is worse than it looks.
The table your coding agent created does not have row level security on it.
Dashboard-created tables get row level security by default now. API-created tables do not, and API is how your coding agent works.
A 9.5 in next/og. Whether it reaches you depends on one line in your OG route.
The advisory rates it 9.5, but it only fires if your OG image route puts attacker-controlled text into SVG. Here is how to find out which side of that line you are on.
OpenAI and Anthropic both cut prices on 22 September. One of them costs you a refactor.
Two frontier price cuts in one day is a good week for anyone paying a token bill. The migration cost is not evenly distributed, and one of the two prices comes with an expiry hedge.
A package install reads your home directory. This week two of them did it on purpose.
The implant did nothing clever. It read the files your shell reads, in the place your credentials live, and sent them somewhere else. That is the whole attack, and it works.
GitHub is switching off SHA-1 SSH keys. Find out now whether yours is one of them.
The keys at risk are the old ones, on the machines nobody logs into, in the pipelines that have run untouched for three years. Those are also the ones that will fail loudest.
Every third-party script tag is a standing grant to run code on your visitors.
A marketing form, a chat widget, an analytics snippet. Each one is permission for someone else's server to execute whatever it sends, on every page it sits on, forever.
1.8 million Android apps were scanned for hardcoded keys. Here is how to check yours.
Finding secrets in shipped apps is now a cheap, automated pipeline. Anything compiled into an APK, an IPA or a JavaScript bundle should be treated as already published.
OpenAI's Agents API will hold your agent state. What breaks if you ever need to leave.
Two major providers moved into the agent state layer in the same week. A managed harness is a real shortcut, as long as you keep a copy of what it holds.
Meta's Muse agent can now check out at your store. What merchants should change.
Agent purchases are arriving through wallets and single-use cards, not through merchants adopting a new protocol. Many merchants will receive them without choosing to.
What Brevo's SSO incident teaches about multi-tenant SAML and hijacked sending accounts.
One incident, two lessons: why email authentication did not help, and the tenant-scoping mistake anyone shipping SSO can make.
Cloudflare now sorts bots into Search, Training and Agent. What it means for your site and your agent.
The same change lands on two audiences. Site owners can now accidentally block search; agent builders will find more doors closed.
OpenAI has announced ten dated deadlines between 23 October 2026 and 1 April 2027. Here is the calendar.
Ten dated deadlines in six months, every one announced in public. The failure mode is never the notice. Updated 19 October with the entries added since September.
Nvidia bought Hugging Face. Your open-weight fallback is now a vendor relationship.
The commitments say nothing breaks. The structural change is that "we can always self-host" is now a dependency on one vendor rather than on a neutral commons.
The Videos API goes away on 24 September and OpenAI names nothing to move to.
Every other deprecation on OpenAI's page offers a migration target. This one does not, which makes it a different kind of problem.
Whisper shuts down on 26 February. The risk is not the deadline.
Five months is a generous window. Whisper is also typically wired into a background job that fails into a queue rather than into a user's face.
The Assistants API is gone. Your app may not have told you yet.
It shut down on 26 August 2026. The replacement is not a drop-in, and the most common migration mistake changes your model's behaviour without throwing an error.
One Copilot code review costs 13 requests. Here is the rest of the maths.
Copilot now bills on usage rather than seats. The headline change is simple. The multipliers underneath it are where teams get surprised.
Your model comparison is measuring the wrong number.
Every price list is per token. Your bill is per finished piece of work. Those two numbers can rank models in opposite orders.
An agent with production log access is a new identity. Treat it like one.
Always-on agents that read production logs are arriving fast. The access-control question they raise is old and well understood, which is the good news.

Open the tool.

Ten production categories, three minutes, and a ranked list of what to fix first.

Check your own stack