Files
hermes-agent/hermes_cli/dashboard_auth
Maciej Lisiewski 103d7ab443 fix(dashboard-auth): over HTTPS read only the cookie name the setter writes
Dropping the bare name over HTTPS still left __Secure-<name> readable on a
no-prefix HTTPS request, where the setter only writes __Host-<name>. Any
HTTPS sibling subdomain can set a __Secure- cookie with Domain=<parent>
(the prefix requires Secure, not host-only), so it could still plant a
session / PKCE-state / provider / webapp sign-in cookie. Over HTTPS the
reader now takes exactly _resolved_name(bare, use_https=True,
prefix=prefix_from_request(request)): __Host- directly, __Secure- behind a
proxy prefix. Plain HTTP keeps the full fallback.

Fixes #136773
2026-11-14 13:24:26 +01:00
..
…
…