Articles

Shipping safely with AI tools

The failures that actually bite when you build with coding assistants, why they happen, and how to close them. No fear-selling. Some of it I have hit myself; the rest is sourced, and where the evidence runs out the articles say so.

17 articles · llms.txt · rss

Reading this with an AI? Every article is available as plain Markdown by adding .md to its URL, and the whole corpus is in one file at /llms-full.txt. Free to quote with attribution.

Start here

What matters and what doesn't

111 things you don't know. Most of them are not your problem.

A list of everything vibe coders supposedly don't know has been going around. I sorted all 111 against a normal stack: thirty are already done for you, forty-four need scale you don't have, and thirty-seven will genuinely bite. Including one you should check tonight.

11 min

Security

How vibe coded apps actually get broken into

Anthropic ships four security tools. One excludes the thing that costs you most.

There is a built-in command, two marketplace plugins and a GitHub Action, and most people know about none of them. How the verification architecture works, what one hands-on test actually caught, and why rate limiting is filtered out of the default report.

9 min

The package your AI recommended may not have existed last week

Slopsquatting is the first attack genuinely specific to how AI-built software gets made: a model invents a package name, an attacker registers it, and your scanner has nothing to flag. Plus the incident where malicious install scripts hijacked AI coding tools that had been told to stop asking permission.

8 min

Your row level security is correct. Your app is still wide open.

He configured the policy properly. Claude and Cursor both audited it and passed it. Strangers still gave themselves premium accounts and ran up his AI bill. The bug was not in the policy, which is exactly why nothing caught it.

6 min

Press F12. Your app is telling on itself.

The browser already shows anyone who asks every endpoint you call, every field you return and every key you shipped. Here is how to read it in ten minutes, using the exact tool an attacker would.

6 min

Securing Supabase: what actually matters

Supabase hands your browser a key on purpose, and one thing behind it keeps your data private. The Security Advisor will approve a policy that lets strangers post as you, and the official guide skips storage, auth settings and views entirely.

7 min

Lock a whole app behind a login in 20 minutes with Cloudflare

Cloudflare Access puts a real authentication gate in front of an entire app, free for 50 users, without touching your code. It also protects far less than the phrase implies, and four specific mistakes will leave it open while you think it is closed.

7 min

Vibe hacking: the other half of vibe coding

The same technology that writes your app writes the attack on it, and the attacker has the structurally easier job. What's actually for sale, why guardrails fail on vocabulary rather than intent, and the five boring holes that make you cheap to hit.

7 min

Speed and scale

Why it is slow, and what breaks as it grows

Your vibe coded app is slow. Here is where to look.

Read this one if it is slow right now. The index Postgres never created, the policy that runs once per row, the missing foreign key that forces a loop, and the one cause on every checklist that is not actually your problem.

11 min

Your app works. That is not the same as it scaling.

Read this one if it was fine and then got worse. Correct at ten records looks identical to correct at fifty thousand, which is why scaling failures ship without anyone making a mistake, and why they are harder to fix than a bug.

7 min

Running it in production

Reliability, operations, architecture, cost and shipping requirements

The clearest legal template on GitHub has no licence on it

Real companies have open sourced their production legal documents, and the licence on the file decides whether you can use it more than the writing does. What is actually out there, what CC0 and ShareAlike mean for your terms, and three searches that work on your own draft.

8 min

You need a privacy policy. You probably do not need a EULA.

Google Play requires one from every app, including apps that collect nothing. What the stores actually check, the Article 13 list you can treat as a specification, the format rules that get submissions rejected, and why deletion is a build task rather than a paragraph.

9 min

waitUntil is not a queue, and pg_net is not one either

The three things people reach for to move work out of a web request are each missing a guarantee they are assumed to have. What the docs actually say about durability, dead letter queues, and picking a realtime transport.

9 min

Your SDK already retries. That is how you get charged twice.

The OpenAI and Anthropic clients retry twice by default and wait ten minutes before giving up, which is six times longer than your function is allowed to live. What happens at the boundary with someone else's API, in both directions.

12 min

Your logs expire in an hour and your database has no backup

On the default free tiers of Vercel and Supabase there is no alerting, runtime logs are deleted after sixty minutes, and nothing is backing up your data. The thirty minute fix, and the four things built for teams of eight that you can skip.

9 min

You can undo the deploy. You cannot undo the migration.

Rolling back code on Vercel is instant and free on every plan. Supabase has no down migration at all. That asymmetry should decide where you spend your caution, and it is the opposite of how most deployment advice is written.

10 min

Nobody wants your data. They want your API key.

A leaked key turned into a $30,000 bill overnight. For most small apps the realistic worst case is not a breach, it is an invoice. Why your spend cap probably does not stop your spend, which providers actually halt by default, and the free protection almost nobody has switched on.

12 min