VibeCodeHealth

Shareable report

demo.vibecodehealth.example

https://demo.vibecodehealth.example/

Scanned 12/1/2026, 5:38:45 AM · 18.4s · expires 12/31/2026

Grade another URL
D66/100

Embed your grade badge

Drop this on your README, Lovable/Bolt landing page, or portfolio so visitors can see your grade and open the full report.

Vibe Code Health grade DVibe Code Health grade D large
[![Vibe Code Health grade D (66/100)](https://www.vibecodehealth.com/badge/demo)](https://www.vibecodehealth.com/r/demo)

What this means

demo.vibecodehealth.example scored 66/100 (grade D). No Content-Security-Policy and no clickjacking protection — grade capped at C, with extra weight on missing header hardening. Focus on the “Fix these 3 first” items below before sharing this app publicly.

  • No Content-Security-Policy and no clickjacking protection — grade capped at C, with extra weight on missing header hardening.

New to these terms? Hover underlined words or read the Learn / FAQ.

Fix these 3 first

Highest-impact items for a vibe-coded app before you share the link.

  1. 1No Content-Security-Policy (CSP)high · The site doesn’t send a CSP header — the browser’s “allow-list” for scripts and frames.
  2. 2Page can be embedded in other sites (clickjacking)medium · No X-Frame-Options or CSP frame-ancestors — other sites can put your app in an iframe.
  3. 3HSTS not enabledmedium · No Strict-Transport-Security header — browsers aren’t told to stick to HTTPS.

Category scorecards

Tap a category to filter findings. Weights favor secrets and headers.

All findings

Each card explains the issue in plain English, then gives platform steps and an AI prompt.

highHDR_CSP_MISSINGCopy-paste fix

No Content-Security-Policy (CSP)

What this is
The site doesn’t send a CSP header — the browser’s “allow-list” for scripts and frames.
Why it matters
If an attacker sneaks a script into your page (XSS), the browser will run it. CSP makes that much harder — especially important for vibe-coded apps with lots of UI libraries.
How severe
High — serious weakness; fix before you share the link widely.
Terms
CSP

Exact steps

**Next.js / Vercel / Cursor:** Add headers() in next.config with Content-Security-Policy. **Lovable / Bolt:** Managed `*.lovable.app` / builder hosting often cannot set custom headers from a chat prompt or a vercel.json sitting in the repo. Realistic options: (1) deploy the Vite `dist/` to Vercel/Netlify with `vercel.json` or `_headers`, or (2) proxy your custom domain through Cloudflare and add Response Header Transform Rules. A CSP `<meta>` tag helps a little but cannot set `frame-ancestors` (clickjacking). Start with `default-src 'self'` and loosen only for services you need (e.g. `connect-src` for Supabase). See the beginner guide: /blog/lovable-security-headers-when-ask-ai-fails.

Copy-paste fix code

Pick your stack, copy the snippet, deploy, then re-scan.

next.config.ts

import type { NextConfig } from "next";

const securityHeaders = [
  { key: "X-Content-Type-Options", value: "nosniff" },
  { key: "X-Frame-Options", value: "DENY" },
  { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },
  {
    key: "Permissions-Policy",
    value: "camera=(), microphone=(), geolocation=(), interest-cohort=()",
  },
  {
    key: "Strict-Transport-Security",
    value: "max-age=63072000; includeSubDomains; preload",
  },
  {
    key: "Content-Security-Policy",
    value: [
      "default-src 'self'",
      "script-src 'self' 'unsafe-inline' https://va.vercel-scripts.com",
      "style-src 'self' 'unsafe-inline'",
      "img-src 'self' data: blob: https:",
      "font-src 'self' data:",
      "connect-src 'self' https://va.vercel-scripts.com https://*.supabase.co",
      "frame-ancestors 'none'",
      "base-uri 'self'",
      "form-action 'self'",
    ].join("; "),
  },
];

const nextConfig: NextConfig = {
  poweredByHeader: false,
  async headers() {
    return [{ source: "/:path*", headers: securityHeaders }];
  },
};

export default nextConfig;

Merge with your existing next.config. Add hosts you need to script-src / connect-src only.

Paste into Cursor / Lovable / Bolt / v0

Add a Content-Security-Policy HTTP header (not only a meta tag). For Next.js, use next.config headers() with default-src 'self'; script-src 'self' https://va.vercel-scripts.com; frame-ancestors 'none'. For Lovable/Bolt managed hosting, deploy dist to Vercel/Netlify or add Cloudflare response-header rules. Avoid Access-Control-Allow-Origin on HTML. Redeploy and re-scan.
mediumHDR_FRAME_MISSINGCopy-paste fix

Page can be embedded in other sites (clickjacking)

What this is
No X-Frame-Options or CSP frame-ancestors — other sites can put your app in an iframe.
Why it matters
Attackers can overlay invisible buttons (“clickjacking”) so users click things they didn’t mean to — like approving a transfer.
How severe
Medium — worth fixing soon; raises risk or looks unprofessional.

Exact steps

Add `X-Frame-Options: DENY` or CSP `frame-ancestors 'none'` (unless you intentionally embed the app).

Copy-paste fix code

Pick your stack, copy the snippet, deploy, then re-scan.

next.config.ts

import type { NextConfig } from "next";

const securityHeaders = [
  { key: "X-Content-Type-Options", value: "nosniff" },
  { key: "X-Frame-Options", value: "DENY" },
  { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },
  {
    key: "Permissions-Policy",
    value: "camera=(), microphone=(), geolocation=(), interest-cohort=()",
  },
  {
    key: "Strict-Transport-Security",
    value: "max-age=63072000; includeSubDomains; preload",
  },
  {
    key: "Content-Security-Policy",
    value: [
      "default-src 'self'",
      "script-src 'self' 'unsafe-inline' https://va.vercel-scripts.com",
      "style-src 'self' 'unsafe-inline'",
      "img-src 'self' data: blob: https:",
      "font-src 'self' data:",
      "connect-src 'self' https://va.vercel-scripts.com https://*.supabase.co",
      "frame-ancestors 'none'",
      "base-uri 'self'",
      "form-action 'self'",
    ].join("; "),
  },
];

const nextConfig: NextConfig = {
  poweredByHeader: false,
  async headers() {
    return [{ source: "/:path*", headers: securityHeaders }];
  },
};

export default nextConfig;

Merge with your existing next.config. Add hosts you need to script-src / connect-src only.

Paste into Cursor / Lovable / Bolt / v0

Add clickjacking protection: X-Frame-Options: DENY and/or CSP frame-ancestors 'none' in next.config headers.
mediumHDR_HSTS_MISSINGCopy-paste fix

HSTS not enabled

What this is
No Strict-Transport-Security header — browsers aren’t told to stick to HTTPS.
Why it matters
Users on hostile networks could be downgraded to HTTP more easily.
How severe
Medium — worth fixing soon; raises risk or looks unprofessional.
Terms
HSTS

Exact steps

Add `Strict-Transport-Security: max-age=63072000; includeSubDomains; preload` (after HTTPS works everywhere).

Copy-paste fix code

Pick your stack, copy the snippet, deploy, then re-scan.

next.config.ts

import type { NextConfig } from "next";

const securityHeaders = [
  { key: "X-Content-Type-Options", value: "nosniff" },
  { key: "X-Frame-Options", value: "DENY" },
  { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },
  {
    key: "Permissions-Policy",
    value: "camera=(), microphone=(), geolocation=(), interest-cohort=()",
  },
  {
    key: "Strict-Transport-Security",
    value: "max-age=63072000; includeSubDomains; preload",
  },
  {
    key: "Content-Security-Policy",
    value: [
      "default-src 'self'",
      "script-src 'self' 'unsafe-inline' https://va.vercel-scripts.com",
      "style-src 'self' 'unsafe-inline'",
      "img-src 'self' data: blob: https:",
      "font-src 'self' data:",
      "connect-src 'self' https://va.vercel-scripts.com https://*.supabase.co",
      "frame-ancestors 'none'",
      "base-uri 'self'",
      "form-action 'self'",
    ].join("; "),
  },
];

const nextConfig: NextConfig = {
  poweredByHeader: false,
  async headers() {
    return [{ source: "/:path*", headers: securityHeaders }];
  },
};

export default nextConfig;

Merge with your existing next.config. Add hosts you need to script-src / connect-src only.

Paste into Cursor / Lovable / Bolt / v0

Add Strict-Transport-Security: max-age=63072000; includeSubDomains; preload.
mediumBE_SOURCEMAPCopy-paste fix

Public JavaScript source map

What this is
A `.js.map` file is fetchable in production.
Why it matters
Helps reverse-engineer your app structure even without full sourcesContent.
How severe
Medium — worth fixing soon; raises risk or looks unprofessional.
Terms
Source map
Evidence (masked)
/assets/index-abc123.js.map
mediumSEO_DESC_MISSINGCopy-paste fix

Missing meta description

What this is
No meta description for search snippets.
Why it matters
Google may invent a snippet; you lose control of the pitch.
How severe
Medium — worth fixing soon; raises risk or looks unprofessional.
lowPERF_JS_LARGE

Large JavaScript payload

What this is
Linked JS is on the heavy side for a fast first load.
Why it matters
Pages feel sluggish, especially on mobile.
How severe
Low — polish / defense-in-depth; quick wins.
Evidence (masked)
~820KB across 14 JS file(s)
infoHDR_CORS_WILDCARD_HTMLCopy-paste fix

CORS * on an HTML page

What this is
This HTML document is served with Access-Control-Allow-Origin: *.
Why it matters
Other sites could fetch and read this public HTML. Usually low risk for marketing pages, but unnecessary — remove it to keep a clean security posture.
How severe
Info — not necessarily wrong, but review and document.
Terms
CORS
Evidence (masked)
Access-Control-Allow-Origin: *
infoSEC_SUPABASE_ANONCopy-paste fix

Supabase anon key in the browser (expected)

What this is
Your Supabase anon (public) key appears in client code — normal for Supabase apps.
Why it matters
The anon key is designed to be public, BUT only safe if every table has Row Level Security (RLS) turned on with tight policies. Otherwise strangers can read/write your data.
How severe
Info — not necessarily wrong, but review and document.
Terms
RLS
Evidence (masked)
eyJh…anon
infoPRIV_THIRD_PARTY_TRACKERS

Third-party analytics detected

What this is
Common analytics/tracker scripts appear in the page HTML.
Why it matters
Not a vulnerability, but you should disclose them in a Privacy Policy and consider consent rules (EU/UK).
How severe
Info — not necessarily wrong, but review and document.
Evidence (masked)
google-analytics