feat(check): seven checks, and the one picture worth having

Adds mail-transport (MTA-STS + policy file, TLS-RPT, BIMI) and hardening (compression,
CAA vs the issuing CA, cookie flags, version banners). Wiring them exposed a real gap:
net-guard pinned accept-encoding to identity, so the compression question could only ever
be answered 'not measured'. requestOnce now takes acceptEncoding, decompresses, and returns
both the wire size and the decoded size - hoelee.com measures 39.6 KB against 119.4 KB.

The hub gets a CSS trust-flow diagram instead of a picture: four boxes and three arrows
cost no request, stay sharp, and can be corrected without re-exporting anything. The
1200x630 social card is drawn in HTML and screenshotted, because a diffusion model renders
'technical' as soft glyph soup that turns to mud at WhatsApp thumbnail size.
This commit is contained in:
hoelee committed 2026-11-10 19:20:16 +08:00
1 parent e407c0daba
commit 8925d10424
12 files changed
+3299 -34

No files matched your search

+4 -4
View File
@@ -1,8 +1,8 @@
# SPEC — hoelee-check v1
**What this is.** Five public health checks for a domain — certificate, email authentication, and
**What this is.** Seven public health checks for a domain — certificate, email authentication, and
redirects/link-preview — served at `https://www.hoelee.com/check/`. Free, no account, no upload.
Built so a Malaysian SME owner can see, in a few seconds, the five things that make a small
Built so a Malaysian SME owner can see, in a few seconds, the seven things that make a small
business look careless online.
**Why here and not on `tools.hoelee.com`.** That site's entire promise is "nothing is uploaded —
@@ -43,7 +43,7 @@ evaluation and DKIM signature verification, neither of which a record-shape chec
| Route | Purpose | Robots |
|---|---|---|
| `/check/` | hub, one input, runs all five | index |
| `/check/` | hub, one input, runs all seven | index |
| `/check/ssl/` | certificate landing page | index |
| `/check/spf-dkim-dmarc/` | email auth landing page | index |
| `/check/headers/` | redirects + link preview landing page | index |
@@ -114,7 +114,7 @@ neutral `not-evaluated` rendering, and `/check/about/` with its falsification te
2. net-guard refuses `127.0.0.1`, `169.254.169.254`, `10.0.0.1`, `[::1]`, `0.0.0.0`, `2130706433`,
`[::ffff:127.0.0.1]`, a host resolving private, a mixed public/private answer set, a redirect to a
private address, and a redirect to port 8443.
3. A real report for `hoelee.com` returns five checks in ~1–3 s with `checkedAt`.
3. A real report for `hoelee.com` returns seven checks in ~2–4 s with `checkedAt`.
4. A 403/bot-wall target renders `not-evaluated` with zero header findings.
5. Report page carries `noindex` + `X-Robots-Tag`, has no horizontal overflow at 390 px, and makes
zero third-party requests.