mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-12-05 09:03:39 +01:00
Joining Infonet from the UI failed with "operator authentication required" unless the user had first unlocked admin with the admin key. That is the first thing a new user does, so it hit everyone. The frontend proxy now presents an HMAC of the admin key in X-SB-Operator-Client, only when the page was reached by a name people use for their own node (localhost, an IP, a LAN or single-label name, a Tailscale name, or a configured host), and strips any copy of that header a browser sends. The backend's new require_operator_client accepts that token from an allowed origin, and otherwise falls back to the admin-key check. Only /api/wormhole/join uses it; admin controls still need the key, and a caller reaching the backend directly still gets 403. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>