Bolt
Security FAQ

Can Bolt.new apps be hacked?

Get instant answers about your app's security.

Short Answer

Yes. The realistic attack paths in a Bolt.new app are exposed api keys and missing supabase rls — both routinely found by automated scanners within minutes of deployment.

Detailed Answer

Bolt.new-Specific Attack Vectors

These are the paths attackers actually take into Bolt.new applications — not a generic OWASP list, but what automated scanners and security researchers find when they look at Bolt.new apps specifically, given the stack (Supabase (Postgres + RLS) as the database):

  1. **Exposed API Keys**: OpenAI, Stripe, and other secret keys hardcoded directly in frontend JavaScript bundles. Attackers can extract these keys and use your API quotas, make purchases, or access your services.

2. **Missing Supabase RLS**: Database tables accessible to anyone with the anon key because Row Level Security policies haven't been configured. This means any user can read, modify, or delete all data in exposed tables.

3. **No Security Headers**: Missing Content-Security-Policy, Strict-Transport-Security, and X-Frame-Options headers leave your app vulnerable to cross-site scripting, man-in-the-middle attacks, and clickjacking.

4. **Weak Authentication**: No minimum password requirements, missing email verification, and lack of rate limiting on login endpoints allows brute force attacks and account takeovers.

5. **Source Map Exposure**: Production source maps uploaded to hosting reveal your entire application source code, including business logic, API endpoints, and potentially sensitive comments.

**Supabase-Specific Risk**: Bolt.new apps typically ship with the public Supabase anon key embedded in frontend code. That is by design — but only works safely if Row Level Security is enabled on every table. Attackers routinely query Supabase endpoints directly using the anon key from your bundle. A single table without RLS is a full data leak.

Real-world example

Common to find OpenAI keys, database passwords, and OAuth secrets in Bolt projects.

How attackers find these issues

Attackers don't target Bolt.new apps specifically — they run automated scanners across the entire internet looking for known patterns. Supabase URLs follow a predictable pattern (`*.supabase.co`), making Bolt.new apps easy to fingerprint. Once identified, the scanner probes the specific vulnerability classes listed above.

What a security scan of a Bolt.new app looks at

  • **Secret Detection** — Scans all JavaScript bundles for API keys, tokens, and credentials that should never be in frontend code. We detect OpenAI keys, Stripe secrets, AWS credentials, database connection strings, and dozens of other sensitive patterns.
  • **Database Security** — Tests Supabase/Firebase for proper security rules. We query your tables to verify they're protected.
  • **Security Headers** — Checks for all important HTTP security headers that prevent XSS, clickjacking, and MITM attacks.
  • **Auth & Sessions** — Analyzes authentication implementation for weak passwords, session issues, and rate limiting gaps.

Security Research & Statistics

10.3%

of Lovable applications (170 out of 1,645) had exposed user data in the CVE-2025-48757 incident

Source: CVE-2025-48757 security advisory

4.45 million USD

average cost of a data breach in 2023

Source: IBM Cost of a Data Breach Report 2023

500,000+

developers using vibe coding platforms like Lovable, Bolt, and Replit

Source: Combined platform statistics 2024-2025

Expert Perspectives

There's a new kind of coding I call 'vibe coding', where you fully give in to the vibes, embrace exponentials, and forget that the code even exists.

Andrej KarpathyFormer Tesla AI Director, OpenAI Co-founder

It's not really coding - I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.

Andrej KarpathyFormer Tesla AI Director, OpenAI Co-founder

Check Your Bolt.new App's Security

VAS scans for all the security issues mentioned above. Get a comprehensive security report in minutes.

Get Starter Scan

More Questions About This Topic

How quickly can a Bolt.new app be hacked after it goes live?

Typically within hours. Bolt.new apps share recognizable fingerprints (supabase, firebase endpoints, framework headers), and automated scanners work through the fingerprint space continuously. An unprotected database or exposed key is usually found before the developer finishes setting up monitoring.

What do attackers look for first in Bolt.new apps?

Exposed API Keys. OpenAI, Stripe, and other secret keys hardcoded directly in frontend JavaScript bundles. Attackers can extract these keys and use your API quotas, make purchases, or access your services. This is the highest-ROI finding for an attacker because it requires no interaction from the user and often exposes the full dataset at once. Secondary targets are missing supabase rls and related misconfigurations.

Has any Bolt.new app actually been breached?

Security incidents affecting vibe-coded apps are documented (CVE-2025-48757 alone exposed 170+ Lovable apps). While Bolt.new-specific public breaches vary, the vulnerability patterns — exposed keys, missing access controls, weak auth — are identical across platforms. An unscanned Bolt.new app has the same exposure profile as an unscanned Lovable or Bolt app.