VibeCodeHealth

Learn & FAQ

A beginner-friendly guide to reading your Vibe Code Health report — written for people shipping with AI builders, not career security engineers.

How grading works

  • Secrets 25% · Headers 25% · HTTPS 15% · Backend/Supabase 15% · Perf/SEO 12% · Privacy 8%
  • Live secret in public files → hard F
  • Public /.env or /.git → max grade D
  • Missing CSP + framing protection → max grade C for typical vibe apps
  • We never store the HTML/JS we fetched — only scores, codes, and masked snippets

How to use the grader

  1. Paste your production URL. Use the real hostname you share with users — not only a local preview — in the grader on the homepage.
  2. Read the letter grade and Fix these 3 first. Start with critical/high findings (live secrets, exposed .env, missing CSP). Caps may force F or D regardless of other polish.
  3. Apply the copy-paste AI fix prompts. Each finding includes platform steps and a prompt for Cursor, Lovable, Bolt, or v0. Redeploy and re-scan.

Glossary

CSP
Content-Security-Policy — a browser rulebook that limits which scripts, images, and frames your page may load. Helps stop attackers from injecting evil JavaScript.
HSTS
HTTP Strict Transport Security — tells browsers to always use HTTPS for your domain, so users can’t be tricked onto an insecure HTTP copy.
RLS
Row Level Security — Supabase/Postgres rules that decide which rows each user can read or write. Without RLS, your anon key can often read/write everything. Storage buckets have their own policies too—public buckets are world-readable by design.
JWT
JSON Web Token — a signed string that proves identity/role. A Supabase service_role JWT is a master key and must never appear in the browser.
CORS
Cross-Origin Resource Sharing — browser rules for when another website may read your responses. Access-Control-Allow-Origin: * means “any website may read this response.”
Source map
A .map file that reconnects minified production JavaScript back to your original source. Useful for debugging; dangerous if public with full source.
nosniff
X-Content-Type-Options: nosniff — stops browsers from guessing file types, which can turn an upload into executable script.
SameSite
A cookie flag that limits when cookies are sent on cross-site requests, reducing CSRF (tricking your browser into acting as you).
HttpOnly
A cookie flag that blocks JavaScript from reading the cookie — so stolen XSS can’t easily grab session tokens.
Mixed content
An HTTPS page that still loads some scripts, images, or styles over plain http://. Browsers block or warn because that http:// hop can be read or changed on the network.
Webhook
A special URL a service gives you so your app can send it messages (Discord/Slack) or so Stripe can notify you about payments. The URL or signing secret is a password — if it is in frontend code, strangers can abuse it.

FAQ

Is this a hack or a penetration test?

No. We only do passive checks — the same kind of fetches a normal browser (or a curious stranger) could do. We don’t log in, attack forms, or query your database. Think of it as a health checkup, not a break-in.

What does the letter grade mean?

A (90+) means we didn’t find serious publicly visible problems. B/C means polish and hardening needed. D means serious exposure (or a hard cap from an open .env/.git). F means a live secret — like a Stripe or OpenAI key — was found in public files. Rotate those keys before you share the link.

Will you break my site or slow it down?

No. We fetch your homepage, a capped set of public JavaScript files, a few well-known paths (like /.env), and headers/TLS info. We identify as VibeCodeHealthBot, rate-limit ourselves, and never crawl your whole site.

I use Lovable / Bolt / v0 — how do I fix leaked keys?

Treat anything that can spend money or read your whole database as a server secret. In those builders, use “secret” / server env — never public/client env — and call OpenAI, Stripe, or Supabase admin APIs from a backend function. Then rotate any key that was ever public.

Is a Supabase anon key a failure?

No — the anon (public) key is meant for the browser. The danger is missing Row Level Security (RLS) — rules that decide which rows each user can see. We flag anon keys as info and remind you to lock every table down.

How do share links work?

After a scan you get a report link. Reports can also be packed into a compressed URL (/r/p/…) so anyone with the link can open the grade without us storing your page HTML. Links still expire after 30 days of report age.

Can I opt out of scans?

Yes. Block User-Agent VibeCodeHealthBot at your CDN or firewall. Details are on /bot.

Ready? Grade a URL · Read the guides · Example report.