Repository navigation
Restrict launcher downloads and redirects to HTTPS - #63
Conversation
|
@codex review |
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 1 day and 1 hour by commenting |
Reviewer's GuideImplementationRestrict launcher download transports and redirects to HTTPS while preserving certificate validation and existing fallback behavior.
TestsExercise the download functions’ captured curl arguments against loopback servers to verify trusted HTTPS succeeds and HTTP requests or redirects are rejected.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|



The complete assembly Sonar scan exposed five real implementation download paths that could follow an HTTPS redirect to HTTP. Restrict both initial and redirected protocols to HTTPS and retain normal certificate validation, with the same TLS floor already used by the pinned provider. The gh-first fallback order, URLs, commit checks and error paths stay in place.
Add native curl regressions that capture each actual function's expanded arguments with refusing transport stubs, then execute them against ephemeral loopback HTTPS/HTTP servers. Every case must accept a trusted HTTPS response and reject an HTTP initial request or HTTPS-to-HTTP redirect before an HTTP request is sent. The three assembly-launcher cases also run in composed context and explicitly require its root; standalone CI reports their missing-root context.
Governed by opensoft/openRepoTools-spec PR #41 (merged 92af815f699e9e449900beafb5f20975e2274bac), feature 010 S04. Preserve current code main's separate delivery activation and description repair (#56/#59). This mixed transport/test change requires full CI; no queue is requested.
Validation: all 8 transport cases reproduced the insecure redirect before repair; 8 passed after local code and root repairs. Existing gh-first/duplicated-fetch contracts: 2 passed. bash -n and git diff --check pass. Source full CI and fresh composed/current-main Sonar acceptance remain required. Root's three-call repair lands separately with this merged code pin.