On October 2, Supabase published its Supabase Select 2026 recap, describing how the platform now works code first. Schema and project settings can live in your repository, so a coding agent can set up and change a project the same way you do. Local Supabase can run as native processes without Docker, in alpha. An agent can check the project and report the problems it finds, and as Supabase puts it, you decide what gets fixed and merged. Supabase also introduced a way for an app to offer its own MCP server, where every tool call runs as the signed-in user and your row level security policies decide what it can reach. If you built an app with an AI tool on top of Supabase, this is a good week to work through a Supabase production checklist.
Why so many AI-built apps run on Supabase
Supabase gives you a Postgres database, authentication, storage and functions in one place, and AI app builders reach for it constantly. That’s a good foundation. The trouble is that a prototype can run on Supabase for months with settings that were fine for testing and risky for real users. The new code-first approach makes it easier to see and review those settings, which is exactly what you need before launch.
The anon key is public on purpose
The public anon key is meant to ship in your app. Anyone who opens the page can read it from the JavaScript. That is by design, not a leak.
Row level security is the real lock. The anon key only gets the database to listen. RLS decides which rows each user can read or change. If RLS is off, missing, or written as “anyone can read everything,” the public key is enough to open the door.
The service role key is different. It bypasses row level security and must never ship in client code or a public repository. Search your code for it. If it was ever exposed, rotate it.
The Supabase production checklist
Row level security on every table
Check that RLS is enabled on every table that holds user or business data, and read each policy in plain language: “a user can read their own orders.” If a policy says “anyone can read everything,” make sure that’s truly intended.
Keys in the right places
Anon key in the client: expected. Service role key in the client: an incident.
Schema in version control
With declarative schemas, your tables, columns and policies can live as SQL files in your repo. That means every change gets reviewed like code and you can rebuild the database from scratch if needed. If your schema exists only in the dashboard today, pull it into code.
Separate environments
Use a separate project or branch for development and testing. An agent experimenting against production data is how accidents happen. I wrote about one such case in what happened when an AI agent deleted a production database.
Backups you’ve actually tested
Confirm which backups your plan includes, how far back they go, and try restoring one into a test project. A backup you’ve never restored is a hope, not a plan.
Storage bucket rules
Check that private files are in private buckets with policies, and that public buckets contain only what you’re comfortable anyone seeing.
Functions and secrets
Review edge functions for secrets in code, missing authentication checks and overly broad access. Keep secrets in the platform’s secret store.
Monitoring
Turn on logging and alerts so you hear about errors and unusual traffic before your users tell you. I covered the basics in release monitoring for the last mile.
Let the agent check, and you decide
Supabase’s framing is the right one for AI-assisted work: the agent can find and report problems, and a person decides what merges. Use that. Ask your agent to review security policies and configuration, then read its findings carefully before applying anything. Agents are good at spotting a table without row level security. They are less good at knowing whether a policy matches how your business actually works.
Where to start this week
Open your Supabase project and answer three questions: Is row level security on for every table with user data? Is the service role key anywhere it shouldn’t be? Do you have a tested backup? Those three cover most of the serious risks.
If you’ve built an app on Supabase with an AI tool and want help getting it ready for real users, here’s how I approach Prototype to Production. We’ll go through the checklist together and fix what matters most first.