← All leaks & reports

State of Cursor Security · October 2026

What 4,977 public Cursor apps are leaking

We ran Shippable's static source checks over 4,977 public GitHub repos built with Cursor — reading committed code only, never touching anyone's live app. An editor, not a one-shot generator: most repos are hand-steered, so backend misconfigurations are rarer and secret handling dominates what's left.

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

Built with Cursor? Fix these first

  1. Hard-coded secret in source · 4.5% of Cursor apps · critical
  2. Database tables open to the public · 1.3% of Cursor apps · critical
  3. Secrets made with Math.random() · 12% of Cursor apps · high

Everything we found, most common first

  1. 01Secrets made with Math.random() · 12% 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 · 8.2% 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 fallback secret · 7.8% of appsCode like process.env.SECRET || "dev-secret" that silently ships the weak default to production.How to check and fix →high
  4. 04Trackers load without a cookie banner · 4.8% of appsAnalytics or ad scripts that start tracking visitors before they agree.medium
  5. 05Hard-coded secret in source · 4.5% of appsA live secret key written directly into committed code.How to check and fix →critical
  6. 06Stack traces leaked to users · 2.9% of appsErrors returned raw to the client, handing attackers table names and internals.low
  7. 07Injectable PostgREST filter · 2.8% of appsUser input dropped straight into a .or()/.filter() string, letting a caller rewrite the query.How to check and fix →medium
  8. 08Source maps published · 2.6% of appsSource map files that hand anyone your original, readable code.How to check and fix →low
  9. 09DB function with no fixed search_path · 1.7% of appsA security-definer function an attacker can hijack by shadowing a table or function name.How to check and fix →medium
  10. 10Open redirect · 1.5% of appsA redirect target taken from the request, usable for phishing or token theft.medium
  11. 11Database tables open to the public · 1.3% of appsRow Level Security off or a public-read policy, so anyone can read the table's rows.How to check and fix →critical
  12. 12Weak sign-up settings · 1.2% of appssupabase/config.toml lets sign-ups skip email confirmation, allows anonymous sign-ins, or accepts very short passwords.How to check and fix →low

Plus 38 more check types seen less often.

FAQ

Is Cursor secure?

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

What is the most common security issue in Cursor apps?

Secrets made with Math.random(), found in 12% of the Cursor 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 Cursor app?

Start with hard-coded secret in source, then database tables open to the public, then secrets made with Math.random(). Each has a guide with a fix you can paste back into Cursor.

How do I check my own Cursor 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 Cursor.

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 .cursorrules 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,977 repositories where a given check fired at least once, aggregated so no repository, owner or finding is identified.