DashboardcliGitHub release Link reconstruction

GitHub release Link reconstruction

Category: gotcha
Confidence: 1.00
ID: 01a08a72-1e2e-75ce-8f31-bcec68588b68
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 06aLRoB0AYUPw7Dkg
Created: 2026-09-10 08:32:09
Updated: 2026-09-10 08:32:09

Content

Trap: fetching GitHub’s Link URL verbatim looks correct because it is server-provided, but canonical links use /repositories/<id>/releases and still form an untrusted redirect surface. Fix: accept only HTTPS api.github.com release paths, extract a positive decimal page, rebuild from the selected source’s trusted release-list URL, reject malformed/off-origin/cyclic links, traverse every page, and choose the global highest stable SemVer.

Move to: