<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ProofForge</title>
    <description>The latest articles on DEV Community by ProofForge (@proofforge_live).</description>
    <link>https://dev.to/proofforge_live</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267300%2F371ee7b3-63d8-40cf-8ce5-394203045fbd.png</url>
      <title>DEV Community: ProofForge</title>
      <link>https://dev.to/proofforge_live</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/proofforge_live"/>
    <language>en</language>
    <item>
      <title>Bolt and Replit app security: 6 things to check on your live deployment</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:39:30 +0000</pubDate>
      <link>https://dev.to/proofforge_live/bolt-and-replit-app-security-6-things-to-check-on-your-live-deployment-16ln</link>
      <guid>https://dev.to/proofforge_live/bolt-and-replit-app-security-6-things-to-check-on-your-live-deployment-16ln</guid>
      <description>&lt;p&gt;Bolt and Replit apps ship fast, and the same few mistakes show up again and again. Here is what to check on a live deployment, and how to fix each one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Secrets in the client bundle&lt;/strong&gt;&lt;br&gt;
Anything prefixed for the browser (for example &lt;code&gt;VITE_&lt;/code&gt; or &lt;code&gt;NEXT_PUBLIC_&lt;/code&gt;) is public. Do not put a &lt;code&gt;service_role&lt;/code&gt; key, a Stripe secret or an AI provider key there. If one is already live, revoke it first, then move the call to a server function.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Replit and Bolt environment files&lt;/strong&gt;&lt;br&gt;
Check that &lt;code&gt;.env&lt;/code&gt; is not served at your domain, and that it is in &lt;code&gt;.gitignore&lt;/code&gt; before the first commit. A key committed once stays in history even after you delete the file, so rotate it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Open database tables&lt;/strong&gt;&lt;br&gt;
If the app uses Supabase, turn on Row Level Security and write per-operation policies. Test signed out and as a second user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Public storage buckets&lt;/strong&gt;&lt;br&gt;
Uploads, invoices and avatars often sit in a public bucket. Make private buckets private and use signed URLs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Debug routes and verbose errors&lt;/strong&gt;&lt;br&gt;
Remove test endpoints and turn off stack traces in production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Source maps&lt;/strong&gt;&lt;br&gt;
Disable production source maps unless you want your source public.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix order&lt;/strong&gt;&lt;br&gt;
Revoke leaked keys, then close the database, then storage, then the rest. Rotating a key is more urgent than a code cleanup.&lt;/p&gt;

&lt;p&gt;ProofForge scans your live URL from the outside, read-only and without logging in, and writes fix prompts you can paste back into Bolt or Replit. Free first scan: &lt;a href="https://proofforge.live/check/bolt" rel="noopener noreferrer"&gt;https://proofforge.live/check/bolt&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>bolt</category>
      <category>replit</category>
      <category>vibecoding</category>
    </item>
    <item>
      <title>Buying an AI-built app? A security due-diligence checklist before you pay</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:33:15 +0000</pubDate>
      <link>https://dev.to/proofforge_live/buying-an-ai-built-app-a-security-due-diligence-checklist-before-you-pay-44d1</link>
      <guid>https://dev.to/proofforge_live/buying-an-ai-built-app-a-security-due-diligence-checklist-before-you-pay-44d1</guid>
      <description>&lt;p&gt;Buying a vibe-coded app on Flippa, Acquire or from a founder directly? The listing shows revenue and traffic. It does not show what is shipped in the frontend. A leaked key can turn into a bill or a breach that lands on you after the transfer. This is a checklist you can run on the live site before you pay, with no login and no access to the seller's accounts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before you make an offer (outside checks only)&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Public JavaScript.&lt;/strong&gt; Search the deployed bundle for &lt;code&gt;service_role&lt;/code&gt;, &lt;code&gt;sk_live&lt;/code&gt;, &lt;code&gt;sk-&lt;/code&gt;, &lt;code&gt;AKIA&lt;/code&gt; and private key headers. Anon keys are meant to be public. These are not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Exposed files.&lt;/strong&gt; Check &lt;code&gt;/.env&lt;/code&gt;, &lt;code&gt;/.git/HEAD&lt;/code&gt; and source map files. Real content in any of them is a finding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database exposure.&lt;/strong&gt; If it uses Supabase or Firebase, test whether an anonymous visitor can read tables or collections. Open tables mean user data is public.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Headers and CORS.&lt;/strong&gt; Wildcard CORS on authenticated JSON, no HSTS, no CSP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Third-party keys.&lt;/strong&gt; Stripe, OpenAI, Anthropic, Twilio and email keys found in the browser must be treated as compromised.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Questions to put in writing to the seller&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Have any keys been rotated since launch, and when?&lt;/li&gt;
&lt;li&gt;Which tables have Row Level Security, and who wrote the policies?&lt;/li&gt;
&lt;li&gt;Is there any customer data, and where is it stored?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Put it in the contract&lt;/strong&gt;&lt;br&gt;
Ask for a clause that the seller rotates every credential at handover and confirms no known exposure. Plan the rotation yourself on day one regardless.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Limits&lt;/strong&gt;&lt;br&gt;
An outside check does not see server code, authentication logic or anything behind a login. It finds what a stranger can find. A clean result lowers risk. It does not remove it.&lt;/p&gt;

&lt;p&gt;ProofForge's $79 buyer due-diligence report runs these checks read-only, with no login, and returns a graded report with evidence per finding. Sample report and details: &lt;a href="https://proofforge.live/due-diligence" rel="noopener noreferrer"&gt;https://proofforge.live/due-diligence&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>startup</category>
      <category>saas</category>
      <category>vibecoding</category>
    </item>
    <item>
      <title>Supabase RLS disabled: how to tell if your tables are open and fix it in 15 minutes</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:31:46 +0000</pubDate>
      <link>https://dev.to/proofforge_live/supabase-rls-disabled-how-to-tell-if-your-tables-are-open-and-fix-it-in-15-minutes-4jo</link>
      <guid>https://dev.to/proofforge_live/supabase-rls-disabled-how-to-tell-if-your-tables-are-open-and-fix-it-in-15-minutes-4jo</guid>
      <description>&lt;p&gt;If your Supabase tables return data to anyone holding your anon key, Row Level Security is off or too loose. Here is how to find out and fix it in about fifteen minutes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to tell if a table is open&lt;/strong&gt;&lt;br&gt;
Your anon key is in your frontend. Anyone can copy it. Ask the REST endpoint for a table with only that key and no user session. If it returns rows, the table is readable by the public. A count-only request tells you how many rows without reading any of them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The usual causes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;RLS never turned on for that table.&lt;/li&gt;
&lt;li&gt;RLS on, but a policy of &lt;code&gt;using (true)&lt;/code&gt; that allows everyone.&lt;/li&gt;
&lt;li&gt;A policy that checks the wrong column, or only covers &lt;code&gt;select&lt;/code&gt; and forgets &lt;code&gt;insert&lt;/code&gt;, &lt;code&gt;update&lt;/code&gt; and &lt;code&gt;delete&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A storage bucket set to public that holds private files.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;The fix&lt;/strong&gt;&lt;br&gt;
Enable RLS, then write policies tied to the signed-in user:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;alter&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="n"&gt;profiles&lt;/span&gt; &lt;span class="n"&gt;enable&lt;/span&gt; &lt;span class="k"&gt;row&lt;/span&gt; &lt;span class="n"&gt;level&lt;/span&gt; &lt;span class="n"&gt;security&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="n"&gt;policy&lt;/span&gt; &lt;span class="s2"&gt;"read own profile"&lt;/span&gt;
&lt;span class="k"&gt;on&lt;/span&gt; &lt;span class="n"&gt;profiles&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="k"&gt;select&lt;/span&gt;
&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;auth&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;uid&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="n"&gt;policy&lt;/span&gt; &lt;span class="s2"&gt;"update own profile"&lt;/span&gt;
&lt;span class="k"&gt;on&lt;/span&gt; &lt;span class="n"&gt;profiles&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="k"&gt;update&lt;/span&gt;
&lt;span class="k"&gt;using&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;auth&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;uid&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="k"&gt;check&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;auth&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;uid&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repeat for insert and delete if the app needs them. Do not leave &lt;code&gt;using (true)&lt;/code&gt; on a table that holds user data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Test it with two users&lt;/strong&gt;&lt;br&gt;
Create user A and user B. Sign in as B and try to read A's rows. Then try signed out. Both must fail. A screenshot of the policy editor is not a test.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do not forget&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;code&gt;service_role&lt;/code&gt; key bypasses RLS. It must never be in browser code.&lt;/li&gt;
&lt;li&gt;Public storage buckets are not covered by table policies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ProofForge's free scan checks your public bundle and counts rows an anonymous visitor can read, without reading row contents or using any key it finds. Free first look: &lt;a href="https://proofforge.live/fix/supabase-rls-disabled" rel="noopener noreferrer"&gt;https://proofforge.live/fix/supabase-rls-disabled&lt;/a&gt;&lt;/p&gt;

</description>
      <category>supabase</category>
      <category>security</category>
      <category>postgres</category>
      <category>vibecoding</category>
    </item>
    <item>
      <title>Is my Lovable app secure? A 10-minute outside check you can run yourself</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:25:44 +0000</pubDate>
      <link>https://dev.to/proofforge_live/is-my-lovable-app-secure-a-10-minute-outside-check-you-can-run-yourself-2em5</link>
      <guid>https://dev.to/proofforge_live/is-my-lovable-app-secure-a-10-minute-outside-check-you-can-run-yourself-2em5</guid>
      <description>&lt;p&gt;Lovable's built-in scan reviews your project. It does not tell you what a stranger sees on the live site. Here is a ten-minute outside check you can run yourself on any Lovable, Bolt, Replit, Cursor or v0 app you own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Search the deployed JavaScript for secrets&lt;/strong&gt;&lt;br&gt;
Open your live app, open DevTools, Sources, and search the main JS files for &lt;code&gt;service_role&lt;/code&gt;, &lt;code&gt;sk-&lt;/code&gt;, &lt;code&gt;sk_live&lt;/code&gt;, &lt;code&gt;AKIA&lt;/code&gt; and &lt;code&gt;-----BEGIN&lt;/code&gt;. A Supabase anon key is meant to be public. A &lt;code&gt;service_role&lt;/code&gt; key, an OpenAI or Anthropic key, or a Stripe secret key is not. If you find one, revoke it at the provider first, then move the call to a server route.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Check for files that should not be public&lt;/strong&gt;&lt;br&gt;
Visit &lt;code&gt;/.env&lt;/code&gt;, &lt;code&gt;/.env.production&lt;/code&gt; and &lt;code&gt;/.git/HEAD&lt;/code&gt; on your domain. Any real content means every secret in that file is exposed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Check source maps&lt;/strong&gt;&lt;br&gt;
Search the bundle for &lt;code&gt;sourceMappingURL&lt;/code&gt;. If the &lt;code&gt;.map&lt;/code&gt; file loads in the browser, your original source is public.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Check your Supabase tables without logging in&lt;/strong&gt;&lt;br&gt;
With only the anon key your site ships, a table that returns rows to a visitor is open. Turn on Row Level Security for every table and write a policy per operation (select, insert, update, delete) tied to the owner column. Then test with three sessions: signed out, the owner, and a different user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Check CORS and headers&lt;/strong&gt;&lt;br&gt;
A wildcard &lt;code&gt;Access-Control-Allow-Origin&lt;/code&gt; on a JSON API, or a reflected origin together with credentials, can expose logged-in responses. Add HSTS, a Content-Security-Policy and X-Content-Type-Options.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What this cannot tell you&lt;/strong&gt;&lt;br&gt;
Server code, login logic and anything behind a sign-in. A clean outside check means no leaks were found in what the app ships publicly, not that the app is secure.&lt;/p&gt;

&lt;p&gt;ProofForge runs these public checks read-only: no login, no writes, and it never uses a key it finds. It returns a graded report and fix prompts for Lovable, Bolt, Replit, Cursor and v0. Free scan, first fix free: &lt;a href="https://proofforge.live/check/lovable" rel="noopener noreferrer"&gt;https://proofforge.live/check/lovable&lt;/a&gt;&lt;/p&gt;

</description>
      <category>lovable</category>
      <category>security</category>
      <category>supabase</category>
      <category>vibecoding</category>
    </item>
    <item>
      <title>I leaked an API key in my vibe-coded app. Here is the order to fix it.</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:17:45 +0000</pubDate>
      <link>https://dev.to/proofforge_live/i-leaked-an-api-key-in-my-vibe-coded-app-here-is-the-order-to-fix-it-3m2a</link>
      <guid>https://dev.to/proofforge_live/i-leaked-an-api-key-in-my-vibe-coded-app-here-is-the-order-to-fix-it-3m2a</guid>
      <description>&lt;p&gt;Do these in order. The order matters.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Revoke the key at the provider first.&lt;/strong&gt; Deleting it from your code does not stop someone who already copied it. OpenAI, Anthropic, Stripe, Supabase, AWS and GitHub each have a revoke or rotate button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create a new key and keep it on the server.&lt;/strong&gt; Store it in a server-only environment variable. Never use &lt;code&gt;VITE_&lt;/code&gt;, &lt;code&gt;NEXT_PUBLIC_&lt;/code&gt; or any prefix that ships to the browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Move the call behind your own route.&lt;/strong&gt; The browser calls your server, your server calls the provider. Add per-user limits so one user cannot burn your quota.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check usage and billing.&lt;/strong&gt; Look for calls you do not recognize. Set a spending cap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remove the key from old builds.&lt;/strong&gt; Rebuild, redeploy, purge CDN caches. Old JavaScript files with the key may still be served. Source maps can also expose it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If it was in git, treat git history as public.&lt;/strong&gt; Rotating is the real fix, since history rewriting cannot reach forks and clones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rescan the live app&lt;/strong&gt; to confirm the key no longer appears in what visitors download.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Common mistakes: rotating only after cleaning git, leaving the old key active "for a day", and testing the leaked key to see if it works. Do not do that last one.&lt;/p&gt;

&lt;p&gt;ProofForge scans your public bundle for recognizable key patterns (shown masked, first 6 and last 4 characters), never uses a key it finds, and gives builder-specific fix prompts for Lovable, Bolt, Replit, Cursor and v0. Free scan: &lt;a href="https://proofforge.live" rel="noopener noreferrer"&gt;https://proofforge.live&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>ai</category>
      <category>openai</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Supabase anon key vs service_role key: what is safe to ship in your frontend</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:11:55 +0000</pubDate>
      <link>https://dev.to/proofforge_live/supabase-anon-key-vs-servicerole-key-what-is-safe-to-ship-in-your-frontend-3dno</link>
      <guid>https://dev.to/proofforge_live/supabase-anon-key-vs-servicerole-key-what-is-safe-to-ship-in-your-frontend-3dno</guid>
      <description>&lt;p&gt;Short answer: the anon key is designed to be public. The service_role key must never leave your server. If a &lt;code&gt;service_role&lt;/code&gt; key is in your browser bundle, rotate it today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Anon key.&lt;/strong&gt; It identifies your project and acts as the "anonymous" or "authenticated" role. What it can read or write is decided by Row Level Security policies. So the anon key is only as safe as your RLS.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Service role key.&lt;/strong&gt; It bypasses RLS completely. Anyone holding it can read and change every row.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it leaks in AI-built apps.&lt;/strong&gt; Builders often put the key in a &lt;code&gt;VITE_&lt;/code&gt; or &lt;code&gt;NEXT_PUBLIC_&lt;/code&gt; variable to make a call work from the browser. Those prefixes mean "send this to every visitor".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to check.&lt;/strong&gt; Search your deployed JavaScript for &lt;code&gt;service_role&lt;/code&gt; or decode any &lt;code&gt;eyJ&lt;/code&gt; token and look at the &lt;code&gt;role&lt;/code&gt; claim. Do not test a found key by calling the API with it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fix.&lt;/strong&gt; 1) Revoke and rotate the key in the Supabase dashboard. Removing it from the code is not enough. 2) Move privileged calls to a server route. 3) Review project logs for suspicious use. 4) Turn on RLS for every table and write policies per operation. 5) Rebuild and purge cached bundles, then rescan.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Test your RLS.&lt;/strong&gt; Make two test users. With user B's session, try to read user A's rows. With no session, try again. Both should fail.&lt;/p&gt;

&lt;p&gt;ProofForge's free scan checks the bundle and counts rows an anonymous visitor can read, without reading row contents. Free first look: &lt;a href="https://proofforge.live" rel="noopener noreferrer"&gt;https://proofforge.live&lt;/a&gt;&lt;/p&gt;

</description>
      <category>supabase</category>
      <category>security</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
    <item>
      <title>How to check an AI-built app for leaked keys before you buy it (10 minutes, no login)</title>
      <dc:creator>ProofForge</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:11:34 +0000</pubDate>
      <link>https://dev.to/proofforge_live/how-to-check-an-ai-built-app-for-leaked-keys-before-you-buy-it-10-minutes-no-login-288k</link>
      <guid>https://dev.to/proofforge_live/how-to-check-an-ai-built-app-for-leaked-keys-before-you-buy-it-10-minutes-no-login-288k</guid>
      <description>&lt;p&gt;If you are about to buy an app built with Lovable, Bolt, Replit, Cursor or v0, you can learn a lot about it from the outside in about ten minutes. You do not need the code and you do not need the seller's password.&lt;/p&gt;

&lt;p&gt;A public check cannot tell you if the app is safe. It can tell you if it is obviously not. Here is what to look at.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Keys in the JavaScript bundle&lt;/strong&gt;&lt;br&gt;
Open the live app, open DevTools, go to Sources, and search the main JavaScript files for &lt;code&gt;sk-&lt;/code&gt;, &lt;code&gt;service_role&lt;/code&gt;, &lt;code&gt;AKIA&lt;/code&gt;, &lt;code&gt;sk_live&lt;/code&gt;. A Supabase "anon" key in the bundle is normal. A &lt;code&gt;service_role&lt;/code&gt; key is not. It bypasses Row Level Security. Paid AI keys (OpenAI, Anthropic) and Stripe secret keys in client code are also red flags. Ask the seller which keys have ever been public and when they were rotated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Files that should not be public&lt;/strong&gt;&lt;br&gt;
Try &lt;code&gt;/.env&lt;/code&gt;, &lt;code&gt;/.env.production&lt;/code&gt; and &lt;code&gt;/.git/HEAD&lt;/code&gt; on the live domain. If any returns real content, treat every secret in that file as leaked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Source maps&lt;/strong&gt;&lt;br&gt;
If the bundle ends with a &lt;code&gt;sourceMappingURL&lt;/code&gt; and the map file loads, the original source is public. That is not always a leak, but ask why.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Open database tables&lt;/strong&gt;&lt;br&gt;
If the app uses Supabase, check whether the anon key can read tables without logging in. A table that answers without a login needs a reason. Ask for the Row Level Security policies for each table, and for a test with an anonymous user, the owner and an unrelated user. A screenshot of the editor is not proof.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. CORS and headers&lt;/strong&gt;&lt;br&gt;
A wildcard CORS rule on a JSON API, or a reflected origin together with credentials, can expose logged-in responses. Missing HSTS and CSP are lower risk but worth a line in the contract.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What this does not tell you&lt;/strong&gt;&lt;br&gt;
It cannot show who owns the domain, whether the repo is complete, whether the seller can transfer third-party accounts, or whether the login and payment logic is sound. Treat it as a way to ask better questions, not as an audit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do it in one click&lt;/strong&gt;&lt;br&gt;
ProofForge runs these public checks read-only (no login, no writing, no using any key it finds) and gives a graded report with fixes. The $79 buyer report is signed so you can share it with a broker or lawyer. Database and file probes run only after the seller verifies the domain. Free first look: &lt;a href="https://proofforge.live" rel="noopener noreferrer"&gt;https://proofforge.live&lt;/a&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>supabase</category>
      <category>vibecoding</category>
      <category>startup</category>
    </item>
  </channel>
</rss>
