# Static-site hygiene for an anonymous, zero-email domain

> Operational notes on keeping a public static publication clean, fast, and free of accidental metadata leaks.

- Kind: Field note
- Published: 2026-12-05
- Version: 1.0
- Topics: Security, Publishing, Infrastructure
- Canonical: https://allunsaid.com/entries/static-opsec-for-anonymous-publishing/

---

Running an anonymous static site is far simpler than running an interactive web application, yet most accidental leaks happen in mundane places: git commit headers, third-party font requests, image EXIF tags, or forgotten DNS defaults.

## Core operational rules

1. **Serve pre-rendered static assets only:** No origin VPS IP to expose, no database to patch, and no server-side session state. Edge static asset delivery handles TLS, caching, and global routing with minimal surface area.
2. **Self-host every dependency:** Bundle fonts, CSS, math stylesheets, search indexes, and diagram renderers inside the build output. Zero third-party CDNs means zero external referrer leaks and no silent script-supply changes.
3. **Lock down no-email DNS:** A domain that never sends email can still be spoofed unless DNS explicitly forbids it. Publish a null MX record (`0 .`), a strict SPF record (`v=spf1 -all`), and a rejecting DMARC policy (`v=DMARC1; p=reject; sp=reject; adkim=s; aspf=s;`).
4. **Isolate repository git identity:** Set `user.name` and `user.email` locally inside the repository before the first commit. Global git config is one of the easiest ways to leak a personal identity into commit metadata.
5. **Automate pre-publish leak scanning:** Human review misses stray local filesystem paths, draft comments, or personal strings buried in appendices. Run a deterministic check script on every build that inspects source files, built HTML, and local git settings, failing closed on any match.

## Residual limits

Static hygiene reduces accidental self-doxxing and third-party tracking. It does not create cryptographic anonymity against registrar billing records, hosting-account subpoenas, or stylometric analysis. Treat OPSEC controls as layered risk reduction rather than magic invisibility.
