FINDING · DEFENSE
MITM-DomainFronting achieves fully client-side domain fronting without any server-side infrastructure by intercepting browser TLS via a user-generated personal CA, reading the plaintext HTTP Host header, then re-encrypting outbound connections to the CDN edge with a mismatched SNI. The private CA key never leaves the device, eliminating the traditional requirement for a proxy co-located inside a CDN's network and reducing operational cost to zero.
From 2026-patterniha-mitm-domainfronting — MITM-DomainFronting: client-only domain fronting via local TLS MITM with a user-installed CA · README / Mechanism description · 2026 · GitHub (1.5k stars; merged into XTLS/Xray-core via PR
Implications
- Implement domain fronting as a pure client-side feature for CDN-hosted destinations — the local-MITM+personal-CA pattern avoids server infrastructure and its associated blocking/seizure risk entirely.
- Adopt the Xray-core tunnel/issue inbound pattern (or a parallel MITM component for runtimes like sing-box that lack it) to enable on-the-fly leaf-cert issuance for fronted destinations without pre-generating per-domain certs.
Tags
Extracted by claude-sonnet-4-6 — review before relying.