Skip to content

Fail closed when the standards trusted-actor list is unavailable #18841

Description

@kyle-sexton

Context

Security finding on standards#1127 (F1: standards stops syncing trusted-actors and github-actions-conventions), review thread PRRT_kwDOTBL9Bc67dTlI. Once the sync stops, each consumer's .github/standards/trusted-actors/trusted-actors.json is a frozen copy. A reader that falls back to it when the standards checkout is unavailable could keep a revoked actor trusted until F2 deletes the copy. Readers move before the sync stops (R5), so this lands before #1127 merges.

This is a tightening: no reader gains trust, and some fail where they used to read the copy.

Proposed work

Make every lane reader of the trusted-actor list fail closed when the standards list is unavailable. Each one errors, or trusts no one, and never reads the synced copy:

  • .github/scripts/lib/trusted-actors.mjs trustedListPath: read the standards checkout (STANDARDS_DIR), else a path the workflow passes under it. With neither, throw. Drop every caller's copy default (trustedActorsPath(), SAME_TREE_LIST, .base).
  • resolve-config read-status.mjs loadTrustedActors: drop the BASE_PATH copy fallback.
  • resolve-config.mjs standardsFiles: with no standards checkout, load no trusted-actor list. The vocabulary keeps its fallback because it is not trust-bearing.
  • check-born-triaged, check-trusted-trigger and select-trusted-text: remove the trusted-actors-path input, whose default pointed at the .base copy.
  • pr-require-checks.yml ci-status trusted_list: no fallback to the hold config's copy.

Acceptance criteria

  • With no STANDARDS_DIR and no given path, trustedListPath throws.
  • With no STANDARDS_DIR, loadTrustedActors and resolve-config never read a .base or BASE_PATH copy.
  • In pr-require-checks.yml, trusted_list fails with no STANDARDS_DIR, even when BASE_CONFIG holds a copy. The hold harnesses prove this.
  • The .github node suite and the ci-hold shell harnesses pass.

References

Activity

  1. added
    session-owned
    on Nov 24, 2026
  2. added theissue type on Nov 24, 2026
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

    session-owned

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions