The CHECK kitAudit your vibe-coded app for five costly defaults
You commented CHECKHey, thanks for commenting. Here is the prompt from the reel, word for word, how to run it, and a few checks you can do by hand. Like I'm sitting next to you before your launch.
What you get, in three lines
- one copy-paste prompt that makes Claude Code audit your project for the five risks and propose fixes before it changes anything,
- the steps to run it, plus a hand check for the database and where to set a spend limit,
- the sources behind every number in the reel, and what they do and do not mean.
Not legal advice. The $53,088 and the 14 days are what the law says; the $104K bill is one reported case. If money or customers are at stake, ask a lawyer.
What it costs
- The prompt: free, it is ours. Copy it.
- Claude Code, which runs it: paid. Not in the Free plan; Pro is $20 a month ($17 billed yearly), Max from $100 a month. https://claude.com/pricing
- A DMCA agent registration with the US Copyright Office: $6, and it expires after three years unless you renew it (renewing is also $6). https://www.copyright.gov/dmca-directory/faq.html
Install Claude Code (skip if you have it)
curl -fsSL https://claude.ai/install.sh | bash
claude --version
What you should see
You should see a version number such as 2.1.325 (Claude Code). Windows: irm https://claude.ai/install.ps1 | iex in PowerShell. Docs: https://code.claude.com/docs/en/setup
Open it at the root of your project
cd path/to/your-app
claude
What you should see
You should see Claude Code start, ask you to log in the first time, and ask whether you trust this folder. Say yes only for your own project.
Paste the prompt, word for word
Audit this project for five launch risks. For each one: say whether it applies, show the file and line, and propose the smallest fix. Do not change anything until I approve.
1. Database access. List every table and whether row-level security (or the equivalent access rule) is on. Flag any table readable or writable with the public/anon key. Show which keys are shipped to the browser.
2. Hosting spend. Find where this is deployed and whether a spend limit, budget cap or usage alert exists. Flag any function that can call itself or loop without a limit, and any public endpoint with no rate limit.
3. Email. Find every place a marketing or launch email is sent. Check each template for a working unsubscribe link and a physical postal address, and check that unsubscribes are honoured.
4. User uploads. If users can upload or post content, check for a copyright/DMCA contact and takedown process in the terms, and remind me to register a designated agent with the US Copyright Office (about $6) if the product has US users.
5. Refunds. If digital content or subscriptions are sold to EU consumers, check the checkout for the 14-day withdrawal notice and, where access starts immediately, an explicit consent-and-acknowledgement checkbox.
Finish with a table: risk, status (ok / fix needed / not applicable), file, fix.
What you should see
You should see Claude read through your code, then a table with one row per risk: ok, fix needed or not applicable, the file, and the fix. In the default mode it asks before it edits a file or runs a command; the prompt also tells it to change nothing until you approve.
What it cannot see. It only reads your code. It cannot see your hosting dashboard, your database's live settings, or your email tool's settings unless they are in the repo. The next two checks cover the most expensive ones.
Check the database yourself (Supabase or any Postgres)
Open your database's SQL editor (Supabase: SQL Editor) and run:
select tablename, rowsecurity from pg_tables where schemaname = 'public';
You should see every table with t (row-level security on) or f (off). Any f in a table your app reads from the browser is the risk from the reel. Turn it on:
alter table public.your_table enable row level security;
Then the same query shows t. Careful: Supabase says "Once RLS is enabled, no data is accessible through the API when using a publishable key, until you create policies." So your app will stop reading that table until you add a policy. Ask Claude Code to write the smallest policy for it, and read it before you run it. Guide: https://supabase.com/docs/guides/database/postgres/row-level-security
Set a spend limit where you host
- Vercel (Pro): Settings → Billing → Spend Management → Add Budget, and turn on Pause production deployments. A budget alone only notifies you: "Setting a budget does not stop usage on its own." Checks run every few minutes, so set it a bit below your real maximum. https://vercel.com/docs/spend-management
- Netlify (credit-based plans): the Free plan is a hard limit: when the credits run out your sites are paused, not billed. On paid plans, auto recharge is off by default; leave it off if you want a ceiling. https://docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/how-credits-work/
- Anywhere else: search your host's docs for "budget", "spend limit" or "usage alert".
The five numbers, and where they come from
| Reel says | The source says | Link |
|---|---|---|
| A $104,000 bill | Feb 2024: "Netlify just sent me a $104k bill for a simple static site" (Reddit, then Hacker News, 1,783 points). Netlify's CEO the same day: "they're not getting charged for this" | https://news.ycombinator.com/item?id=39520776 · https://news.ycombinator.com/item?id=39521986 |
| 1,600 AI-built apps, one in ten leaking | 1,645 apps built with Lovable scanned in March 2025; 170 (about 10.3%) had tables open through missing row-level security (CVE-2025-48757) | https://mattpalmer.io/posts/statement-on-CVE-2025-48757/ · https://nvd.nist.gov/vuln/detail/CVE-2025-48757 |
| Up to $53,000 per email | FTC: "Each separate email in violation of the CAN-SPAM Act is subject to penalties of up to $53,088." Required: "a clear and conspicuous explanation of how the recipient can opt out" and "your valid physical postal address"; honour opt-outs within 10 business days | https://www.ftc.gov/business-guidance/resources/can-spam-act-compliance-guide-business |
| A $6 registration keeps your safe harbor | "The current fee is $6 per designation." A designation expires after three years; without a current one you "risk losing the safe harbor protections of section 512". It is required, but the safe harbor has other conditions too (for example acting on takedown notices) | https://www.copyright.gov/dmca-directory/faq.html |
| 14 days on digital content, unless waived at checkout | EU: "you can cancel the contract within 14 days without providing any justification"; the exception is digital content you started downloading or streaming "after you expressly agreed to lose your right of withdrawal" | https://europa.eu/youreurope/citizens/consumers/shopping/returns/index_en.htm |
Stuck? Get the fixes
4 fixes for the errors you might hit with this kit. Free, by email.
Sources and limits
Limits the reel leaves out
- Not legal advice: $53,088 is a statutory maximum per email; the $104K bill is one case, and a waiver is not guaranteed.
- The 1,600-app scan covered apps built with Lovable only (CVE-2025-48757, scan of March 2025), not all AI-built apps.
- Turning on RLS without policies makes the table unreadable through the publishable key: the app breaks until you add policies.
- A spend budget alone only alerts; Vercel needs "Pause production deployments" switched on, and its checks run every few minutes.
- The DMCA designation expires after three years unless renewed, and the safe harbor has other conditions.
- The EU exception needs the buyer's express consent and acknowledgement, not just a line in the terms.
- Running the audit prompt needs Claude Code, which is paid (Pro $20 a month); it only reads the code, not live dashboards.
Sources
- news.ycombinator.com/item?id=39520776
- answers.netlify.com/t/i-am-the-op-of-that-104k-bill-post-and-i-have-some-follow-up-questions/113472
- mattpalmer.io/posts/statement-on-CVE-2025-48757
- nvd.nist.gov/vuln/detail/CVE-2025-48757
- supabase.com/docs/guides/database/postgres/row-level-security
- news.ycombinator.com/item?id=39521986
- news.ycombinator.com/item?id=39522139
- vercel.com/docs/spend-management
- docs.netlify.com/manage/accounts-and-billing/billing/billing-for-credit-based-plans/how-credits-work
- www.ftc.gov/business-guidance/resources/can-spam-act-compliance-guide-business
- www.copyright.gov/dmca-directory/faq.html
- europa.eu/youreurope/citizens/consumers/shopping/returns/index_en.htm