Guides

Security, explained for people who ship

Plain-English security guides for apps built with AI. Every one has a two-minute check you can run yourself and a copy-paste prompt that fixes the problem.

Lovable

What Lovable gets wrong, gap by gap.

Supabase

RLS, keys, and how to verify them from outside.

A key leaked

Something is already out. Start here.

Fix prompts

Copy, paste into your AI, done.

Fix prompt3 minPrompt: actually protect your admin pagesTurns cosmetic role checks into enforcement that survives someone typing the URL directly.Fix prompt3 minPrompt: add rate limiting to your appWithout limits, your login is a password-guessing endpoint and your AI feature is someone else's free tier.Fix prompt3 minPrompt: add the security headers you are missingSix headers, no application changes, and a warning about the one that breaks sites.Fix prompt3 minPrompt: fix open Firebase security rulesTest mode expires, and what replaces it is often a rule that allows everyone forever.Fix prompt3 minPrompt: full checklist after a key leaksRotating the key is step one of five. The other four are where people stop too early.Fix prompt3 minPrompt: get API keys out of your frontendFinds every hardcoded key, separates the public-by-design ones from the real secrets, and relocates the rest.Fix prompt3 minPrompt: move sessions out of localStorageA token in localStorage is readable by every script on the page, including one that got there by accident.Fix prompt3 minPrompt: stop shipping source maps to productionSource maps turn your minified bundle back into commented source. Anyone can download them.Fix prompt3 minPrompt: stop users reading each other's dataThe most common serious bug in AI-built apps: /orders/1041 works, and so does /orders/1042.Fix prompt3 minPrompt: turn on Supabase Row Level Security properlyEnables RLS everywhere and — importantly — catches the USING (true) policies that pass naive checks.

Errors explained

What the message means — and when it means you're safe.

Or just check your site

Every check in these guides, run against your live site from the outside. Free, about 30 seconds, no signup.

Check my site — free