Skip to content

action: operator lock for OPENSHELL_GATEWAY_ENDPOINT on shared runner pools (bearer-token exfiltration) #9569

Open

Description

@jctanner

On a shared runner pool with a bearer-auth OpenShell gateway (OIDC or Cloudflare edge, without pinned-CA mTLS), a repository variable can point OPENSHELL_GATEWAY_ENDPOINT at any host with a public certificate, and the gateway's reusable bearer token is sent there — the variable wins over the runner's own value and the only validation is the https-URL shape.

Filed from the #9158 review round; fixed there by the FULLSEND_OPENSHELL_GATEWAY_ENDPOINT_LOCKED=1 operator lock (fail-closed: requires the runner's own endpoint to pin to, rejects near-miss lock values, and fails a repository variable on a locked runner with no runner endpoint). The lock defends against variable-only writers; workflow writers remain a runner-group access-control concern.

A stricter match-registered-endpoint check (comparing the repository variable against openshell gateway info) is a possible follow-up here if the lock proves insufficient.

Activity

  1. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 12:38 AM UTC · Completed 12:40 AM UTC

    Commit: 4c81590 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.13

  2. added
    pr-open
    on Nov 17, 2026
  3. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    The operator lock described here is already being implemented in an open pull request, which is the work that introduced the repository-variable gateway endpoint and received this finding in review. Its most recent commit adds the lock on demand, with the fail-closed behavior outlined in this issue. The pull request is not yet merged, so the exposure on shared runner pools remains until it lands.

    Two things for maintainers to decide once that PR merges: whether this issue should be closed, or kept open to track the optional stricter follow-up (comparing the repository variable with the endpoint the gateway registers); and the remaining workflow-writer case, which the issue treats as a runner-group access-control concern rather than something the lock covers. If the lock is judged sufficient, this issue can be closed at merge.

    Addressed by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr-open

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions