You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(upload): sign upload URLs instead of trusting the upload id alone #299
Today the upload id in signed_upload_url is the only thing the block endpoint checks.
Proposal: CreateCacheEntry adds a random 256-bit signature to the URL query, like the SAS on an Azure Blob URL. Only its SHA-256 is stored (nullable uploads.capabilityHash, new migration). Single-shot, block and blocklist requests must carry it (constant-time compare, 403 otherwise). Upload URLs accept only PUT; other methods get 405 instead of being forwarded to the Results service. @actions/cache, BuildKit and other Azure-style clients keep the URL query, so they need no change.
Needs a decision:
one-way migration
uploads in flight during the upgrade lose their URLs and the client retries the save (release note)
Depends on query strings being kept out of logs (#296).
We plan to run this server per tenant in Kubernetes as the actions/cache backend for GitHub Actions Gateway, including for tenants that run untrusted fork pull requests. For those tenants this issue is the blocker: we confirmed the gap described in #259 on 9.8.0, and we're holding our rollout until a release carries the fix.
The per-upload token design here works for us as written. It needing no configuration is a plus, since we'd rather not manage a signing secret per deployment either.
Once a release carries it, we'll re-run our save and restore checks against it, on the Rust server if that's the release, and report back here if anything breaks.
Activity
karlkfi commentedon Oct 28, 2026
We plan to run this server per tenant in Kubernetes as the
actions/cachebackend for GitHub Actions Gateway, including for tenants that run untrusted fork pull requests. For those tenants this issue is the blocker: we confirmed the gap described in #259 on 9.8.0, and we're holding our rollout until a release carries the fix.The per-upload token design here works for us as written. It needing no configuration is a plus, since we'd rather not manage a signing secret per deployment either.
Once a release carries it, we'll re-run our save and restore checks against it, on the Rust server if that's the release, and report back here if anything breaks.