Browse all platform and AI coding security guides
Bolt security guide: database access and launch checks
Check your Bolt app's database, access rules, server functions and shipped secrets. Turn platform checks into evidence before launching with customers.
Sep 19, 2026 · 4 min read
Field Notes from Thunkle, a studio that takes AI-built apps from prototype to secure, production-ready software.
By Thunkle · Platform references checked 19 September 2026
A Bolt security review starts with the backend your app uses today, not the architecture of an old tutorial. Identify the database connection, authentication provider, server functions and published frontend before applying a checklist.
Bolt documents both its database and options for working with Supabase. Its advanced-settings guidance warns that replacing a database connection is different from claiming an existing database. Neither operation should be attempted as an improvised security fix. Bolt database documentation.
If you are preparing a customer launch, our Bolt security audit reviews the agreed architecture and tests whether its access rules match your product.
Bring developer review to the connected backend
A developer reviewing a Bolt app should establish which database and privileged functions each feature actually reaches. Generated changes can affect several boundaries at once, so a working screen is only one part of the evidence. Before launch, review the implementation and test allowed and denied actions against the intended customer and staff roles.
Use our paid Bolt security audit when you want those backend and customer-access checks reviewed professionally. The developer-led audit has an agreed scope and delivers evidence, prioritized remediation guidance and a free re-review of agreed fixes. Implementing the fixes is scoped separately.
Begin with platform checks and a data map
Use the security checks available in your project and review their findings against the intended behaviour. Follow Bolt's security guidance for the current workflow. A completed check is evidence about its examined scope, not a permanent certificate for later changes.
Write down where each type of sensitive data lives and which component enforces access. A browser may call the database directly for some features and a privileged function for others. Those paths can require different controls even when they populate the same screen.
Do not assume that moving the frontend or switching a database connection corrects permissions. It can introduce a second environment whose rules, users and files need separate verification.
Test a shared resource, not just private rows
Consider a synthetic project room. The owner invites a collaborator, both can read shared notes, and an uninvited user cannot. Private draft notes remain visible only to their author.
This is more useful than blindly applying “creator only” to every record. Overly broad access can leak data; overly narrow access can break legitimate collaboration. Define the expected behaviour for owner, collaborator, outsider and signed-out visitor.
Create dedicated accounts and records in an authorized staging environment. Check the returned data through each backend path, including functions. Retain a successful request for the owner and collaborator as positive controls. Revoke the collaboration and verify subsequent access changes as intended.
Inspect writes and privileged functions
An ordinary collaborator might be allowed to edit a note but not grant membership or change the owner. Test these operations separately. Check who supplies the organization or project identifier and where the server validates it.
A server function using privileged database access must enforce its own intended caller and resource restrictions. Database policies on the browser path do not automatically prove that the privileged path is safe. Review scheduled tasks and integrations that use the same elevated credentials.
For mutation tests, inspect final stored state. A rejected response is not enough if a write occurred before the rejection. Use disposable fixtures and test-mode providers for invitations, payments and notifications.
Check built output and files
Classify credentials by their privileges. A Supabase publishable or legacy anon key is designed for public use; a privileged service credential is not. Review the deployed browser output and responses for genuine secrets, not merely the presence of a recognizable key format. Our Supabase key guide explains the distinction.
Test files independently. A note's metadata may be private while its attachment URL is shareable. Define which files are public, which require membership and how revocation should work. Use synthetic attachments and inspect the actual download result.
A useful release checklist
Confirm the app points at the intended backend, permitted users can complete their workflows, outsiders cannot read or mutate private resources, and privileged functions enforce the same business rules. Review exposed output and repeat these checks after material changes to permissions or connections.
Where Supabase is involved, our read checker can help with a narrow two-account read test. It does not cover every Bolt function, backend or integration.
Do I have to leave Bolt to secure my app?
Not automatically. Correcting the current rules or server logic may be sufficient. Migration is a separate decision about product requirements and operation.
What if the platform check found nothing?
Keep that result, then identify which business boundaries and changes it actually covered. No audit can guarantee the absence of all vulnerabilities either.
Get a security audit quote. We agree scope and authorized testing, then provide prioritized evidence and remediation guidance. Implementation can be scoped separately; agreed fixes receive a free re-review. Send the app URL and requirements, not secrets or customer records.
Get your Bolt project audited.
Have a senior developer review your app's access rules, backend and critical workflows. Our paid audit includes an agreed scope, evidence-backed findings, remediation guidance and a free re-review of agreed fixes. Fix implementation is scoped separately.
