mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 08:02:12 +00:00
Adversarial review found the transport gate (isCookielessNativeCaller) was broader than finishLogin's bearer predicate: a blank-UA caller with no X-Client-Type could pass it and fall into the cookie branch, receiving a Set-Cookie session instead of the token bundle (inert, not exploitable, but the endpoint's own invariant was false). Also require isNativeClientRequest so the cookie path is structurally unreachable here, and report the actual revoke outcome on a replay so the wide event never overclaims.