Security review · Replit Agent
Security review for apps built with Replit Agent
Rare Agentics is a UK software and AI agent engineering firm that reviews apps built with Replit Agent. We check first that development and production data are separated, who can read the Secrets and whether the published app is open to the public. Every finding is reproduced and ranked in a written report. A review takes 1 to 3 weeks.
- Fixed price in writingYou approve the plan and the price before any paid work starts.
- You own the code from the first commitIt lives in your repositories and your cloud accounts.
- 30 day launch warrantyDefects against the agreed acceptance criteria are fixed at no cost.
How Replit Agent builds
What does Replit Agent set up for you?
Replit Agent builds the app and publishes it on Replit’s own hosting. Each app has a development database, where you and Agent experiment, and a separate production database that publishing creates. Keys are kept in Secrets and reach your code as environment variables.
Failure modes
Where do apps built with Replit Agent usually go wrong?
Database changes that publish with the app
Replit’s documentation says structural changes made in development, such as adding or removing tables and columns, are applied to production when you publish. A column removed during an experiment is removed from live data at the next publish.
Database rules that never reach production
The same page says publishing does not copy functions, triggers or grants. A protection added to the development database in one of those forms can be missing from production while every test in the workspace still passes.
Secrets readable by more people than expected
Collaborators on a project can see secret names and values. Replit also notes that organisation members who cannot view a value in the editor can still read it by printing the environment variables.
An internal tool published as Public
Apps in a personal workspace default to Public, which means anyone with the address can use them. A dashboard built for staff is on the open internet unless its access setting was changed or it has sign-in of its own.
Access rules that live only in server code
The app reaches its database through a single connection string, so which customer can read which row is decided by your server code. An endpoint that looks up a record by its identifier without checking the owner returns it to anyone who asks.
Live data open to manual edits
Production is read-only in the Database tool by default, with a switch called Enable Editing. Left on, it lets anyone with access to the workspace change customer records by hand with no review.
Our checks
What do we check in a Replit Agent app?
- 01
Development and production separation
We confirm the two databases use different connection strings and that the app is on current infrastructure. Replit shut down its shared legacy databases on 8 June 2026.
- 02
What a publish will change in production
We compare the development and production schemas and list every difference, including functions, triggers and grants that publishing does not carry across.
- 03
Authorisation on every endpoint
We test each route as two separate test customers and confirm that the server checks ownership before it reads or writes a row.
- 04
Secrets and who can read them
We review project and account Secrets, the collaborator list and whether any sensitive value has been stored as a plain configuration instead.
- 05
Who can open the published app
We check the access setting on each published app and test what a visitor with no account can reach.
- 06
Recovery of live data
We check what checkpoints and restore options exist for the production database and ask when a restore was last tried.
- 07
Sign-in, sessions and limits
We test sign-up, password reset and session handling, and check whether logins, forms and AI features can be called without limit.
- 08
Replit’s own scan results
We read the results of Replit’s dependency and publish scans. Replit describes its build-time check as lightweight and not a full codebase review.
Check it yourself
What can you check in your Replit Agent app today?
- 01Check who can open your published appOpen the publishing settings and read the access option. If the app is for staff only, it should not be set to Public.
- 02Confirm your two databases are separateIn the Database tool, compare the development and production connection strings. The part that starts with ep- should differ, and if it matches, follow Replit’s migration guide or contact Replit support.
- 03Review your collaboratorsRemove anyone who no longer needs access to the project. Collaborators can see the values of your Secrets.
- 04Turn off Enable Editing on productionOpen the Database tool, select production and confirm that editing is switched off unless someone is making a planned change.
- 05Read the security scan before you publishOpen the Security pane, read the dependency findings and switch on the setting that blocks publishing when a critical vulnerability is found.
- 06Test with two accounts of your ownCreate two test accounts in your app. Sign in as one and try to open a record that belongs to the other.
Run these on your own app only. The full pre-launch security checklist covers every area, for any tool.
Questions
Questions about reviewing a Replit Agent app.
Do we have to rebuild or move off Replit?
Rarely. Most apps need targeted fixes such as ownership checks on named endpoints, tighter access settings and Secrets tidied up. If moving or rebuilding is the honest answer we will say so in the report and explain why.
Could Replit Agent delete our production database?
Replit wrote in July 2025 that Agent had deleted data from a user’s app database and that the data was restored with its Rollback feature. Replit then separated development and production databases by default, and its documentation now says Agent cannot modify the production database. We confirm that your app has that separation.
Can Agent still see our live customer data?
Replit’s documentation says Agent can read production through a read-only replica and cannot change it. That is worth knowing if the live database holds personal data, and we cover it in the report.
Replit already scans the app before publishing. Is that enough?
It is a useful first pass. Replit says its automatic checks complement and do not replace a full security scan, and its Auto-Protect feature covers dependency vulnerabilities only. A review also tests who can read whose data in the running app.
Is the review a penetration test?
No. It is an engineering-led review of your code, database and configuration, with every finding reproduced. It is not a certification. If a customer or investor needs a certified penetration test we will say so and work alongside the firm you choose.
The review, and what follows it
Sources
- Development and production databases, Replit
- Introducing a safer way to Vibe Code with Replit, Replit
- Doubling down on our commitment to secure vibe, Replit
- Secrets, Replit
- Project Security Center, Replit
- Who can access your app, Replit
- A01 Broken Access Control, OWASP Top 10 2025, OWASP Foundation
About Rare Agentics
- What we do
- We are a UK software and AI agent engineering firm. We build bespoke software, custom AI agents and operating platforms, and run security reviews of apps built with AI coding tools.
- Who for
- Founders and growing businesses across the United Kingdom, in any sector, from a London base.
- How we price
- Scoping is free, every piece of paid work has a fixed price in writing before it starts, and a proof sprint starts from £3,000.
- How we control agents
- Senior engineers lead every build and AI agents do the heavy lifting. Agents cannot reach production, and a person signs off every release.
- Where code lives
- Your code lives in your repositories and your data in your cloud accounts from the first commit.
Send a brief
Send us your Replit Agent app. We will tell you what we would check first.
Send a brief. It does not need to be technical. Within two working days you get a first view, and within a week a written plan, a fixed price and the risks.