Skip to content

fix(release): remove shared-runner anonymous GitHub API limit from signed publisher - #21

Merged
TriplexCorp merged 4 commits into
mainfrom
fix/sub-attestation-public-api-limit-20261117
Nov 17, 2026
Merged

TriplexCorp merged 4 commits into
mainfrom
fix/sub-attestation-public-api-limit-20261117

Conversation

@TriplexCorp

Copy link
Copy Markdown
Owner

Root cause

main attested-release run 43826670750 and retry attempt #2 both signed all 5 artifacts and passed the cryptographic GitHub OIDC verification, but the final supposed "anonymous clean-VPS" CI step failed with HTTP 403: rate limit exceeded. GitHub-hosted runners share an unauthenticated REST API quota of 60 requests per hour per IP; this does not prove clean-VPS access fails or that a signature is invalid.

Narrow fix

  • Preserve fail-closed release verification and immutable signer workflow, refs/heads/main, exact commit SHA, and --deny-self-hosted-runners.
  • Allow a strictly optional workflow token only for HTTPS GET on https://api.github.com/repos/TriplexCorp/XMesh-Sub/attestations/sha256:... to download untrusted public attestation bundles. Source files remain public raw GitHub downloads. CI never passes that token, GH_TOKEN, or GITHUB_TOKEN to the offline gh attestation verify --bundle subprocess.
  • Change the misleading runner check name: the job now proves end-to-end exact signed staging with isolated CLI and token-scoped index GET, not anonymous network reachability. Actual no-token fresh VPS acceptance remains mandatory, as described in security(sub): zero High CVEs plus verified legacy/modern update rollback on AMD64 and ARM64 #20.
  • Add negative tests of token scoping, malformed credentials, anonymous default, signer/ref/digest constraints and credential removal.

This is an independent minimal fix from existing main; do not deploy to production VPS. XMesh-Sub #20 remains draft, pending external ACME/enrollment/upgrade rehearsal; reconcile this CI change when #20 is ready. ProjectHimera excluded.

Verification

  • Pull-request CI and post-merge main OIDC publication must pass. This change intentionally does not modify signed release manager/install.sh or user runtime code beyond optional read-only fetching in release_verify.py.

@TriplexCorp
TriplexCorp merged commit b90ea44 into main Nov 17, 2026
1 check passed
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