How this site is secured

This site is static files. It has no accounts, forms, database or server code of my own, so there is little to steal. It sets no cookies. The theme you pick and a flag that stops the boot animation replaying stay in your browser's storage and never reach me.

What could go wrong

Cloudflare handles every request, keeps its own logs and could change what it serves. I accept that trust in exchange for not running servers. It also adds a bot detection script to each page, which this plan can't turn off. The policy blocks it, so your browser console shows one error and nothing runs.

What each header does

HeaderWhat it does here
Content-Security-PolicyBlocks everything by default, then allows scripts, styles, images and fonts from this site. Images may also be data: URLs, which the stylesheet uses for its textures.
Strict-Transport-SecurityTells browsers to use HTTPS for two years. Browsers already require it for every .dev domain, so this is a backstop.
X-Content-Type-OptionsStops browsers guessing a file's type, so a text file can't run as a script.
Referrer-PolicyTells other sites which domain you came from, without the full address.
Permissions-PolicyTurns off the camera, microphone, location and similar features, which this site has no use for.
Cross-Origin-Opener-PolicyKeeps this page in its own browsing group, away from windows other sites open.
Cross-Origin-Resource-PolicyStops other sites loading these files into their pages.

Fonts are self-hosted, so a visit here tells no font provider about you. A test on every pull request loads each page and fails if a resource is blocked or comes from another site.

The domain

DNSSEC signs the domain's DNS answers, so a resolver that checks can tell if someone forged them. A CAA record limits who can issue HTTPS certificates for it to the authorities Cloudflare uses. For email, SPF and DKIM say which servers may send as @wmtsoi.dev, and a DMARC policy collects reports on mail that fails those checks. It only reports for now; once the reports are clean, it will tell receivers to reject that mail.

What I left out

Reporting a problem

Email security@wmtsoi.dev, in English or French. I read those myself. The machine-readable version is at security.txt.

In scope: this site and what it serves. Out of scope: Cloudflare and GitHub themselves, which have their own programmes, along with denial of service and social engineering. Please test without harming the site or its visitors.

The lesson I kept: check what your host publishes. My repo was private the whole time, and that protected nothing once the host copied its files to a public URL.