← All leaks & reports

State of Replit Security · October 2026

What 4,970 public Replit apps are leaking

We ran Shippable's static source checks over 4,970 public GitHub repos built with Replit — reading committed code only, never touching anyone's live app. The fewest issues overall. Many Replit repos are small or Python projects, and what does show up skews to weak secret generation and hard-coded secrets.

Patchy ticking items off a checklist on his clipboard
18%
had at least one issue
6%
had a critical issue
4,970
apps analysed

Built with Replit? Fix these first

  1. Hard-coded secret in source · 4.5% of Replit apps · critical
  2. Secrets made with Math.random() · 6.6% of Replit apps · high
  3. .env committed to git · 4.6% of Replit apps · high

Everything we found, most common first

  1. 01Secrets made with Math.random() · 6.6% of appsPassword-reset tokens and API keys generated with a predictable random source an attacker can guess.How to check and fix →high
  2. 02.env committed to git · 4.6% of appsReal API keys and database passwords sitting in the repo's history for anyone to read.How to check and fix →high
  3. 03Hard-coded secret in source · 4.5% of appsA live secret key written directly into committed code.How to check and fix →critical
  4. 04Trackers load without a cookie banner · 3.3% of appsAnalytics or ad scripts that start tracking visitors before they agree.medium
  5. 05Hard-coded fallback secret · 2.9% of appsCode like process.env.SECRET || "dev-secret" that silently ships the weak default to production.How to check and fix →high
  6. 06Injectable PostgREST filter · 2.6% of appsUser input dropped straight into a .or()/.filter() string, letting a caller rewrite the query.How to check and fix →medium
  7. 07Stack traces leaked to users · 1.1% of appsErrors returned raw to the client, handing attackers table names and internals.low

Plus 40 more check types seen less often.

FAQ

Is Replit secure?

Replit can build secure apps, but its defaults leave gaps you have to close yourself. In our October 2026 scan of 4,970 public Replit repos, 18% had at least one security issue and 6% had a critical one.

What is the most common security issue in Replit apps?

Secrets made with Math.random(), found in 6.6% of the Replit repos we checked. Password-reset tokens and API keys generated with a predictable random source an attacker can guess.

What should I fix first in my Replit app?

Start with hard-coded secret in source, then secrets made with Math.random(), then .env committed to git. Each has a guide with a fix you can paste back into Replit.

How do I check my own Replit app?

Scan it with Shippable: paste your live URL at shippable.dev, or run npx shippable-dev scan in your project folder before you push. It's read-only, shows proof for each finding, and gives you a fix prompt to paste back into Replit.

See which of these your app ships

Paste your app's URL. It's free, read-only, and takes about a minute.

Compare all five builders: which AI builder ships the safest apps.

How we measured this

We found public GitHub repositories carrying the .replit config file and ran Shippable's static source checks — the same code-level checks in npx shippable — over each one's committed files. We read source only: no live app was scanned and nothing was probed over the network. Figures are the share of 4,970 repositories where a given check fired at least once, aggregated so no repository, owner or finding is identified.