What Happened
- Introduces a new Next.js middleware for `/api/*` that validates the `Host` header via a new centralized validator, defaulting to a loopback-only allowlist (127.0.0.1/localhost/::1/0.0.0.0 on any port) and returning 403 when the host is not allowed, with optional operator overrides via environment variables.
- Introduces a new Next.js middleware for `/api/*` that validates the `Host` header via a new centralized validator, defaulting to a loopback-only allowlist (127.0.0.1/localhost/::1/0.0.0.0 on any port) and returning 403 when the host is not allowed, with optional operator overrides via environment variables.
- 1 evidence item attached for review.