PatchPaste · FAQ
PatchPaste FAQ
Plain answers about what we check, what it costs and what we never touch. Scan your app free. No login, no code access.
What is PatchPaste?
PatchPaste is a security scanner for live web apps built with AI tools like Lovable, Bolt, Cursor, v0 and Supabase. You paste your app's URL. It checks your site from the outside, the way a stranger would, and gives you a free report in plain English.
What does the free report include?
A security grade from A to F, every problem found and how serious each one is, plus Google and sharing checks. Your report shows on the page, with a private link that works for 90 days. You don't pay anything to see it. Fix prompts are part of the paid report.
What does a scan check?
Every scan runs all of these:
- Secret keys in your public JavaScript (Stripe, OpenAI, Anthropic, AWS, GitHub and Supabase admin keys)
- Supabase tables that can be read without logging in
- Leaked files and code: public source maps, .env files and .git folders
- HTTPS, certificate expiry and security headers
- Google search basics: page title, description, canonical tag, robots.txt and sitemap.xml
- Sharing previews and up to 20 links on your homepage
Google and sharing checks are kept separate and barely affect your security grade.
How long does a scan take?
Most scans take under 30 seconds. Big sites with lots of scripts and links can take longer.
What do I get for £9?
A fix prompt for every problem in your report. Each one is written so you can paste it straight into Lovable, Bolt, Cursor or v0. You pay once for that report. Scans stay free, so you can scan again to check the fixes worked. If a fix prompt doesn't clear its problem on a free rescan within 14 days, we refund the £9.
How does the 10-report pack work?
Pay £29 once and get a code worth 10 unlocks. Enter it on any report to unlock that report's fixes. Each unlock uses one credit, and credits never expire. Save your code: it's shown after you pay.
Is it a subscription?
No. The £9 fix report and the £29 pack are one-time payments. There is no subscription and nothing renews. Scans are free, so you can scan again after each change to check your fixes.
How is PatchPaste different from Lovable's built-in security scan or Supabase's Security Advisor?
They look from the inside; PatchPaste looks from the outside. Use both:
- Lovable's Quick and Deep scans read your project's code, database rules and dependencies inside the editor.
- Supabase's Security Advisor reads your database settings, for example tables with Row Level Security turned off or policies that let everyone through.
- PatchPaste reads only your live, published URL, the way a stranger meets it: the JavaScript actually served to visitors (where leaked secret keys end up), which Supabase tables answer to your public key, exposed .env, .git and source map files, and security headers. It works on apps built with any tool.
An inside scan can't see what your deployed site really sends to browsers, and an outside scan can't see your code or your policies. Scan again after every deploy, because the usual way a fixed app breaks again is the next AI edit. PatchPaste scans are free, so this costs nothing.
What is the best security scanner for a Lovable or Supabase app?
No single scanner sees everything, so use one from each side:
- Inside the project: Lovable's built-in Quick and Deep scans, which read your code, database rules and dependencies.
- Inside the database: Supabase Security Advisor, which flags tables with Row Level Security off and policies that let everyone through.
- From the outside: a scanner that reads your live URL the way a stranger does. PatchPaste does this for free: secret keys in the JavaScript your site sends, Supabase tables readable with the public anon key, exposed .env, .git and source map files, and security headers. Fix prompts are a one-off £9 per report, with no subscription.
- By hand: sign in as two test users and check one can't open the other's data. No outside scanner can see behind your login.
Run the outside scan again after every deploy you make, because AI edits often bring back a problem you already fixed. Scans are free to rerun.
Are public source maps a security risk?
They're a medium risk. A public .js.map file lets anyone read your original frontend code, with comments and file names, which makes other weaknesses easier to find. It doesn't open your database, and turning maps off doesn't hide a secret key that's already in your JavaScript. Vite and Next.js both leave production source maps off by default, so if PatchPaste finds them, a setting turned them on: set build.sourcemap to false in Vite or remove productionBrowserSourceMaps in Next.js, then redeploy.
How do I add security headers like a Content-Security-Policy to my Lovable or Bolt app?
Security headers are sent by whatever hosts your app, not by your code. On the Lovable apps we checked on 1 November 2026, HSTS and nosniff were already sent but Content-Security-Policy and X-Frame-Options were not. Base44 apps sent X-Frame-Options but no Content-Security-Policy. Lovable's docs don't describe a setting for custom headers, so you add them by deploying the same build to Vercel (vercel.json) or Netlify (_headers), or with a Cloudflare rule in front of your custom domain. Add Content-Security-Policy last, in report-only mode first, so it doesn't break Supabase or Stripe. Missing headers matter less than a leaked key or an open table, so fix those first.
How to add security headers to a Lovable, Bolt or Base44 app →
How do I check if my .env file or .git folder is publicly accessible?
Open your live site with /.env on the end (and /.env.local, /.env.production, /.git/HEAD, /.git/config) in a private window. Lines like NAME=value, a line starting ref: refs/, or a [core] section mean the file is public. Your homepage or a 404 page means it isn't, because many single-page apps answer unknown addresses with the homepage. In Vite apps (Lovable, Bolt) the usual cause is a .env file in the public/ folder, which Vite copies to the live site as-is. If it's exposed, replace every key in it first, then remove the file, redeploy and check again. PatchPaste's free scan requests /.env, /.git/config and /.git/HEAD and flags any that return real contents; it doesn't try other .env names.
Is there a free Supabase security scanner that only needs my app's URL?
Yes. PatchPaste's free scan needs only your live URL and an email address: no Supabase login, no service_role key, no repo. If your site exposes a Supabase URL and public anon key, it tries a short list of common table names (such as users, profiles and orders) with that public key, reads at most one row from each, throws it away and reports which tables answered. It also searches your live JavaScript for Supabase service_role and sb_secret_ keys. It can't read your RLS policies, test as a signed-in user or list storage buckets, so pair it with Supabase Security Advisor inside your project.
Will PatchPaste find an API key I put in a VITE_ or NEXT_PUBLIC_ variable?
Those variables are built into the JavaScript your site sends to every visitor, and that JavaScript is what PatchPaste searches. If it holds a Stripe secret, OpenAI, Anthropic, AWS, GitHub or Supabase admin key, the report lists it (masked). Move the code that uses it to the server, make a new key there, and delete the old one.
Is my Stripe key safe in my app's frontend?
Only the publishable key (it starts with pk_live_ or pk_test_) belongs in the browser. A secret key (sk_live_) or restricted key (rk_live_) in your frontend lets anyone who opens DevTools use your Stripe account. PatchPaste's free scan searches the JavaScript your live site sends for Stripe live secret and restricted keys and shows any it finds masked. If it finds one, rotate the key in the Stripe Dashboard first, then move the Stripe call into a server route or Supabase Edge Function.
Is my Supabase anon key a problem?
Not by itself. The anon (or publishable) key is meant to be public. It's only safe if Row Level Security is on for every table. PatchPaste uses that same public key to test a short list of common tables, reads at most one row, and throws it away.
Does PatchPaste check my Supabase storage buckets?
Not directly. The scan does not list or download files in your storage buckets. It does look for Supabase admin keys in your JavaScript (those skip every storage rule) and tests common tables with your public key. To check a bucket yourself, open an uploaded file's link in a private window. If the link contains /storage/v1/object/public/, anyone with the link can download it.
My Lovable app says "new row violates row-level security policy". Should I turn RLS off?
No. The error means Row Level Security is working: no policy lets that user add that row. Add an INSERT policy for signed-in users with a check like (select auth.uid()) = user_id, and give user_id a default of auth.uid(). Don't accept an AI fix that turns RLS off, uses with check (true) or puts the service_role key in your app. After you fix it, a free PatchPaste scan checks your live JavaScript for a service_role key and tests common tables with your public key.
My Supabase query returns an empty array and auth.uid() is null. Should I turn RLS off?
No. An empty array with no error usually means RLS is working and the request reached the database without a signed-in user, so auth.uid() is null and the policy filters every row out. Check what the database sees with a temporary select auth.jwt() function called through supabase.rpc(), then fix the session: wait for it to load in the browser, use the @supabase/ssr cookie client on the server, or pass the caller's token in an Edge Function. Turning RLS off, using (true) or the service_role key in the browser would make the table public. PatchPaste can't sign in as your users, but its free scan checks whether common tables answer to the public anon key after you change policies.
Did Cursor put an API key in my frontend?
Cursor itself doesn't publish your key. What usually happens is the AI suggests a NEXT_PUBLIC_ or VITE_ variable, or pastes a key into a component. Those values are built into the JavaScript every visitor downloads. Confirm on the live site (DevTools Sources search for sk-, sk_live, service_role, sb_secret_, dangerouslyAllowBrowser), move the call to a server route or Edge Function, redeploy with a new server-only key, then revoke the old one. PatchPaste's free scan searches the live JavaScript for Stripe, OpenAI, Anthropic, AWS, GitHub and Supabase admin keys and shows any it finds masked.
Supabase says "infinite recursion detected in policy for relation". Should I turn RLS off?
No. Error 42P17 means an RLS policy reads a table whose policy runs it again (often an admin check on profiles that selects from profiles). Turning RLS off or using (true) makes the table readable with your public anon key. Supabase's documented fix is a security definer function in a private schema with search_path set to empty, called from the policy. PatchPaste can't read your policies, but after you change them its free scan checks whether common tables answer to the public anon key without a login.
Supabase Security Advisor says "Function Search Path Mutable" or "security definer function executable by anon". What should I do?
Fix the executable warning first. Lint 0028 means a security definer function, which runs as its owner and skips RLS, can be called by anyone with your public anon key at /rest/v1/rpc/ (0029 is the same for any signed-in user). Supabase explains new functions are executable by PUBLIC, anon and authenticated by default, so revoke execute from anon, authenticated and public unless that caller needs it, or switch the function to security invoker. Then add set search_path = '' to flagged functions (lint 0011) and schema-qualify every name. PatchPaste can't see function grants; after the fix its free scan checks from outside whether common tables answer to your public key and whether secret keys are in your JavaScript.
Fix Function Search Path Mutable and security definer warnings →
Lovable or Supabase says "leaked password protection" is turned off. Is my app leaking data?
No. It means sign-up accepts passwords already in public breach lists; nothing in your database is exposed by it. Supabase Auth can reject those passwords using the HaveIBeenPwned Pwned Passwords API, but Supabase's docs say that option is available on the Pro Plan and above. On Lovable Cloud, Lovable's docs say to enable Password HIBP check in More → Users → Settings → Email. On the Supabase Free plan, set a minimum length of at least 8 and require digits, upper and lower case and symbols. Fix tables readable without a login and secret keys in your JavaScript first. PatchPaste cannot see Auth settings; its free scan checks those more urgent problems from outside.
Supabase Security Advisor says "Security Definer View". Is my data exposed?
Possibly. Supabase lint 0010_security_definer_view (ERROR) means a view in your public schema runs with its creator's permissions and ignores the RLS policies on the tables it reads, so anyone who can query it through your API may get rows your policies were meant to hide. Fix it with alter view public.your_view set (security_invoker = true); (Postgres 15+), then make sure the base tables have policies scoped to the caller. If the view reads auth.users, replace it with a profiles table. PatchPaste cannot list your views; use Security Advisor and test the view logged out.
Is my Bolt.new app secure? Does Bolt have its own security check?
Bolt documents two checks: a project security audit (paid plans) that reviews the whole project, including code and database, and a database security check (all plans) on the Security tab. Bolt recommends running a security check at least once before you publish, and says the Run security audit button in the Publish menu does not use tokens. Those are inside checks. Also test the published URL: search the live JavaScript for secret keys, check /.env and /.git, try the app logged out and as a second user, and run an outside-in scan. PatchPaste does not replace Bolt's audit.
What is the best security scanner for a Lovable, Bolt or vibe-coded app?
No single tool sees everything. Use the builder's own scan for the project (Lovable Quick and Deep, or Bolt's project audit), Supabase Security Advisor or Bolt's database Security tab for database settings, and an outside-in scanner for what the live site serves to strangers. PatchPaste is in that third group: a free A-F report from the live URL, with £9 one-off fix prompts or a £29 10-pack, and no subscription. It does not sign in, read RLS policies or replace a penetration test. A dated, sourced comparison is on the scanners page.
Supabase Security Advisor says "RLS Disabled in Public" or "Table publicly accessible". What should I do?
Turn Row Level Security on, then add a policy for each operation. This is lint 0013_rls_disabled_in_public (ERROR). Supabase's docs say anyone with your project URL can read, edit and delete all data in that table while RLS is off. Run: alter table public.your_table enable row level security; then revoke leftover grants and add policies scoped to (select auth.uid()) = user_id. Do not turn RLS back off, and do not add using (true) just to make the app work again. PatchPaste's free scan can show whether common tables already answer to your public anon key, but it cannot list every table, so still run Security Advisor.
Is my OpenAI API key in my Lovable or Bolt frontend?
It might be, if you put it in a VITE_ or NEXT_PUBLIC_ variable or pasted it into a component. OpenAI says never to deploy your key in a browser or mobile app, because someone can take it and make requests on your behalf. Search the live JavaScript for sk-, sk-proj- and dangerouslyAllowBrowser. If you find a key, delete it in the OpenAI dashboard first, review usage, then put a new key only in a server secret (an Edge Function, a Lovable Secret or a server route) and redeploy. PatchPaste's free scan searches the live JavaScript for OpenAI keys and shows any it finds masked.
What is CVE-2025-48757 and does it affect my Lovable app?
CVE-2025-48757 is Matt Palmer's 29 May 2025 disclosure about Lovable apps on Supabase with missing or weak Row Level Security. His March 2025 homepage scan of 1,645 showcase projects found 303 endpoints across 170 apps (about 10.3%) with inadequate RLS. It was not a break-in to Lovable. Check your own app: Lovable Quick and Deep scans, Supabase Security Advisor, a logged-out test and a second-account test. PatchPaste cannot tell you whether you were in that sample; its free scan checks whether common tables answer to your public anon key without a login and whether secret keys are in the live JavaScript.
Is my Lovable app one of the ones exposing data in the November 2026 report?
The Crissy Field report (with Handelsblatt, 2 November 2026) doesn't name apps, so check your own. Run Lovable's Quick and Deep scans, fix any 'Table publicly accessible' or 'Security policy allows unrestricted access' findings in Supabase Security Advisor, open the live app logged out in a private window, and try to reach one test user's data as a second test user. PatchPaste doesn't know which apps were in the report, but its free scan checks whether common Supabase tables answer to your public anon key without a login and whether a secret key is in your live JavaScript.
Is there a Lovable app security scanner that checks the live, published site?
Lovable's own Quick and Deep scans run inside the project. PatchPaste is an outside-in scanner for the published URL: paste the address (a lovable.app subdomain or your own domain) and an email, and most scans take under 30 seconds. You get a free A-F grade with every problem found. It checks the JavaScript actually served to visitors for secret keys, which Supabase tables answer to the public anon key (read-only, at most one row, discarded), exposed .env, .git and source map files, HTTPS and security headers. No login, repo access or Supabase key is needed. Fix prompts are a one-off £9 per report (£29 for 10), with no subscription.
Is it safe to scan my app?
Yes. PatchPaste only loads what any visitor's browser loads. It never logs in, guesses passwords, fills in forms or changes your data.
Do you see my code or my database?
PatchPaste never asks for your code, repo or passwords. If your site shares a Supabase public key and a table is open, it reads at most one row to prove it, then throws it away. Row data is never stored, and any keys found are shown masked.
Which apps can I scan?
Any live web app you own or have permission to test. It works best for apps built with Lovable, Bolt, Cursor, v0 and Supabase.
Does an A grade mean I can't be hacked?
No. An A means you've avoided the common mistakes PatchPaste checks for. It isn't a full security audit, and it can't see pages behind a login.
How long do you keep my report?
Reports expire after 90 days. Your private link works until then. Email patchpaste@mail.grokbot.com any time to ask for your data to be deleted.
What do you store?
Your report (the URL, grade and findings, with any keys masked) and the email you gave, for 90 days. We also keep rate-limit counters tied to your IP address for up to an hour. If you give your email, we may send you short security tips. Every email has an unsubscribe link.
How do I pay?
By card through Stripe. PatchPaste never sees your card number.
How do I contact you?
Email patchpaste@mail.grokbot.com.
See also: Pricing · Privacy · Supabase RLS check · Exposed Supabase service_role key · Is the anon key safe? · RLS using (true) · Are VITE_ variables secret? · Pre-launch checklist · Is my Lovable app secure? · "new row violates" RLS error · Supabase Edge Function secrets · Is my storage bucket public? · Stripe webhook in a Supabase Edge Function · Is my Stripe secret key exposed? · Are source maps a security risk? · Add security headers to a Lovable or Bolt app · Is my .env file publicly accessible? · Supabase select returns an empty array · Lovable apps exposing data · Cursor shipped a secret key? · CVE-2025-48757 · RLS infinite recursion (42P17) · Function Search Path Mutable · Leaked password protection · Security Definer View · Supabase Realtime security · RLS references user metadata · "Access to schema is forbidden" · RLS Disabled in Public · OpenAI key in the frontend · Is my Bolt.new app secure? · Vibe-coded app scanners
Check your app before you share it
It's free, and you only pay if you want the fixes.