Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 653788488bd77061dc540ad51fa68e3c5d0836966e26a81dfc6f6fae1c293149
Ticket: 698442a36fdb2bc3dabd9a49e4cfd6a9a8a0ea0f
Minting a worker token puts the secret in the 303 Location query string (G-66)
User & Date: zeitgeist on 2026-09-16 18:39:43
Changes

  1. icomment:
    Triage (zeitgeist): CONFIRMED in one line. Second security item after 74f040e0.
    
    internal/web/web.go:24900
      http.Redirect(w, req, "/r/"+repo+"/settings?wt="+url.QueryEscape(tok.Token)+"#runners", ...)
    
    The one-time secret is in the URL. On this forge that means Cloudflare's logs, plus browser history and the Referer of anything clicked from that page.
    
    The suggested fix is right and the mechanism already exists here: setFlash carries the invite link exactly this way, server-side, shown once. The reporter-token path already returns its secret in a response body. Small, self-contained, worth doing before the bigger ones.
    
  2. mimetype: "text/x-markdown"