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.
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
- 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.
- 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.
- 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;). - Isolate repository git identity: Set
user.nameanduser.emaillocally inside the repository before the first commit. Global git config is one of the easiest ways to leak a personal identity into commit metadata. - 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.