Research · December 2026
We scanned 100 apps built with AI. Here's what we found.
AI app builders make it easy to ship. We wanted to know how much of the security basics ships with the app. So we picked 100 apps built with Lovable at random and ran GuardByte's free scan on each one.
- Apps
- 100, picked at random
- Source
- madewithlovable.com
- Scanned
- 1 December 2026
- Checks
- Passive, free scan
Key results
- 87%of 100 apps
had no Content-Security-Policy
The browser's main defence against injected scripts (XSS).
- 85%of 100 apps
could be embedded by any other site
With no frame protection, a page can be hidden under a fake button (clickjacking).
- 14%of 100 apps
published their source maps
Anyone could read the app's original source code.
- 8%of 100 apps
passed every check
The other 92 had at least one issue to fix.
What we checked
GuardByte's free scan looks at a site the way any visitor's browser does. It reads the home page, the scripts it loads and the response headers, then asks for a handful of files that should never be public. For each app we looked for:
- Leaked secrets: API keys for services like OpenAI, Stripe or a Supabase
service_rolekey sitting in the JavaScript that ships to every visitor. - Exposed files:
.envfiles, a.gitfolder or.DS_Storeserved to anyone who asks. - Source maps: files that rebuild the app's original, readable source code.
- Browser protections: Content-Security-Policy, frame protection, HSTS,
X-Content-Type-OptionsandReferrer-Policy. - Cookies and CORS: session cookies without
Secure,HttpOnlyorSameSite, and APIs that let any site read responses with the visitor's login.
Full results
| Finding | Apps |
|---|---|
| No Content-Security-Policy | 87 |
No frame protection (X-Frame-Options or CSP frame-ancestors) |
85 |
No Referrer-Policy |
21 |
No X-Content-Type-Options |
17 |
| Source maps published | 14 |
No HSTS (Strict-Transport-Security) |
12 |
Server or framework version shown in X-Powered-By |
4 |
Session cookie missing Secure, HttpOnly or SameSite |
2 |
| Secret-looking name in a public environment variable | 1 |
| Leaked secret API key | 0 |
Exposed .env file |
0 |
Exposed .git folder |
0 |
| CORS letting any site read logged-in responses | 0 |
Grades on GuardByte's A–F scale: A 13, B 86, C 1, D 0, F 0. The median score was 89 out of 100, with 2.2 issues per app on average. Only 8 apps passed every check, and 26 had three or more issues.
The good news: not one of the 100 leaked a secret key or served an .env file. The worst
mistakes are rarer than you might fear. The basic browser protections are what most apps skip.
Free address vs your own domain
| Apps | No CSP | No frame protection | Source maps | No HSTS | |
|---|---|---|---|---|---|
Default *.lovable.app address |
37 | 37 | 37 | 1 | 0 |
| Own domain | 63 | 50 | 48 | 13 | 12 |
All 37 apps on the default address had exactly the same gaps. That points to the hosting defaults, not to choices each builder made. Apps on their own domain varied more: some had added full protection, while more of them published source maps or skipped HSTS.
Why these gaps matter
- No Content-Security-Policy. If an attacker ever gets a script into your page, through a comment field, a compromised package or a bad link, nothing tells the browser to refuse it. A CSP is the safety net that turns many XSS bugs into harmless errors.
- No frame protection. Any website can load yours inside an invisible frame and trick your users into clicking buttons they can't see (clickjacking), such as "delete account" or "confirm payment".
- Source maps. They hand anyone your original code, comments included. That makes it much easier to find the next bug, and sometimes reveals internal URLs or logic you didn't mean to share.
- No HSTS. A visitor's first request can be quietly downgraded to plain HTTP on a hostile network, such as public Wi-Fi.
None of these is a break-in on its own. They're the layers that decide whether a small bug stays small.
How to fix them
Most fixes are a few lines in your host's configuration. Ask your coding agent to:
- Add a Content-Security-Policy that allows only your own scripts and the services you use.
Start with
Content-Security-Policy-Report-Only, check nothing breaks, then enforce it. - Block framing with
frame-ancestors 'none'in the CSP, orX-Frame-Options: DENY. - Stop publishing source maps in production builds (for Vite,
build.sourcemap: false). - Turn on HSTS:
Strict-Transport-Security: max-age=31536000; includeSubDomains.
Or scan your app with GuardByte: the report lists what your site is missing and gives you a ready-made prompt for each fix.
What this study doesn't show
The free scan is passive. It doesn't test whether an app's database can be read without logging in, such as a Supabase table with Row Level Security turned off or an open Firebase database. For apps built with Lovable, that's one of the most serious common risks. GuardByte runs those checks only for owners who verify their site, so they weren't part of this study.
So a good grade here doesn't mean an app's data is safe. It means the app got the browser basics right.
Other limits:
- One platform, one directory. The apps come from a public directory of projects built with Lovable. Most are small products and side projects, and people who list their app may not be typical builders. We didn't measure other AI builders.
- One moment. Sites change. This is how they looked on 1 December 2026.
- Our severity scale. A missing header is a weakness, not proof of an exploitable bug.
How we did it
- Population: all 599 projects listed on madewithlovable.com, an independent directory of apps built with Lovable.
- Random sample: we shuffled the list with a fixed seed and read each project's own link, in that order.
- Scan: we scanned the first 125. Sixteen didn't load: eleven domains no longer existed, three couldn't be reached, one timed out and one redirected somewhere our scanner won't follow. The study covers the first 100 that loaded.
- Pace: at most three sites at a time, with a pause after each one. A scan took about three seconds.
How we kept it responsible
- We only made requests any visitor's browser could make, plus plain requests for six well-known file paths. We didn't run the database checks, which read data.
- Every request said who we are:
GuardByteResearch/0.1, with a link to this site. - We kept only totals: each app's grade and the types of issues found. We stored no file contents and no secret values, and we don't name or hint at any app.
- If we had found a leaked secret, we would have told the owner privately and kept no copy. We didn't find any.