Skip to content

fix(census): isolate authenticated release metadata reads - #257

Merged
scbrown merged 2 commits into
mainfrom
ellie/tnr-metadata-read-20261106
Nov 7, 2026
Merged

scbrown merged 2 commits into
mainfrom
ellie/tnr-metadata-read-20261106

Conversation

@scbrown

@scbrown scbrown commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

The clean-room census could not inspect latest releases on macOS arm64: all 13 documented repositories returned anonymous GitHub API rate-limit errors, so those rows stayed LATEST_RELEASE_UNKNOWN before installer execution.

Use the workflow's existing read-only GitHub token only for the parent process's latest-release metadata request. Installer downloads and subprocesses retain the explicit credential-free environment. Authenticated redirects are confined to the HTTPS GitHub API origin; repository-path injection and invalid credential header bytes are refused without logging the credential. No additional workflow permission is requested.

Demonstration: the new parent-request control first failed because metadata had no explicit authenticated Request. It now observes the fixture Bearer header on the API request, while the actual private installer verifies that caller credentials are absent. All 19 controls pass, including anonymous fallback, repository redirects, cross-origin/plaintext refusal and a metadata 403 remaining UNKNOWN without installer execution. Existing hash, release-identity and version gates are unchanged.

The census manifest is unchanged. Hosted six-platform clean-room results will measure the effect; success is not assumed for downstream anonymous installer requests or existing version/platform gaps. No resident installer run or package publication was performed locally. Full hosted CI remains required.

Bead: aegis-tnr

Overlap preflight: 5b81ced1e84e363cabef5a0e1537e3794b799cd2a4d5f4c8364478d0b00dad04

@scbrown
scbrown merged commit 1fb4b50 into main Nov 7, 2026
38 checks passed
@scbrown
scbrown deleted the ellie/tnr-metadata-read-20261106 branch November 7, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant