cd /news/ai-tools/the-build-check-that-keeps-my-anonym… · home › topics › ai-tools › article
[ARTICLE · art-172138] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=· neutral

The build check that keeps my anonymous site anonymous

An anonymous developer built a pre-build check for their Astro static site that scans every post against plain-text word lists and halts the build if a published post breaks a rule, keeping the live site unchanged while drafts are checked but cannot block builds. A second check runs before each commit to catch keys and IDs in every file, including private notes, so secrets never reach git history. The check, tested with 17 good and bad sample cases, failed twice in two days — once too strict over a harmless cost figure, and once too lenient when an outside AI reviewer found posts describing a service in enough combined detail to identify it despite every word passing.

recommendation

Run a word-list check at build time and a secret scan before each commit, but also review whole posts for combined-detail leaks, since no single banned term catches them.

more in playbook: Verifying model output
by read3 min views4 publishedNov 18, 2026

I run this site under a pen name, so one careless line could tie it to the rest of my work. AI drafts my posts, which makes that line easier to miss. So I built a check that reads every post before the site is built, and stops the build if anything looks wrong.

The check is a small script that runs at the start of every build. If a published post breaks a rule, the build stops and the live site stays as it was. Drafts are still checked, but they cannot stop the build.

A second, smaller check runs before each commit. It looks for keys and IDs in every file I commit, including my private notes. So a secret never reaches the git history, even in a private repository.

The site is a static site built with Astro. The code lives in a private GitHub repository, and Cloudflare builds and hosts it on each push.

From a draft to the live site. Two places can stop it.

The main rules fall into five groups. The word lists are plain text files, so I can add to them without touching the code.

The check has its own tests: 17 cases built from good and bad sample files. Before I trust a change to the check, all 17 must pass.

It costs nothing extra. The check runs inside the normal build, and Cloudflare builds the site on its free plan. I have not measured how long the check itself takes.

The check failed me twice in two days. Once it was too strict, and once it was not strict enough.

My first post stopped the build over a cost figure. The number was harmless in that sentence. But the same number was on my banned list, for an unrelated reason.

The check does not know context. It only sees that a banned string is present.

I reworded the number instead of loosening the check. I keep one rule for the list: adding terms is fine, removing or softening them is not. A false alarm costs me a minute. A missed leak cannot be undone.

The second problem was the opposite. I asked an outside AI to review the whole project. It pointed out that my posts described the LINE service in enough detail to find it, even though every single word passed the check.

No single term was the problem. The combination was.

How I describe the service now

Before

After

I updated the two posts that had the detailed description. The bugs, the fixes and the Make modules stayed in. Those are the useful part for readers.

I would write the "what may I say about this?" line before the first post, not after. It is much easier to keep a description short from the start than to cut it back later.

I would also accept that a word list is only half of the job. It catches names and keys well. It cannot see what several harmless details reveal together, so that needs a reader, human or AI, that looks at the whole post.

Last checked: November 8, 2026. Astro static site on Cloudflare's free plan.

This article was drafted with AI assistance from my own build notes, and I checked it against what I actually built.

── more in #ai-tools 4 stories · sorted by recency
── more on @astro 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-build-check-that…] indexed:0 read:3min 2026-11-18 · —