Repository navigation
Labels
session-ownedA local Claude Code session owns this work; factory lanes skip it.
Description
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.mjstrustedListPath: 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-configread-status.mjsloadTrustedActors: drop theBASE_PATHcopy fallback.resolve-config.mjsstandardsFiles: 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-triggerandselect-trusted-text: remove thetrusted-actors-pathinput, whose default pointed at the.basecopy.pr-require-checks.ymlci-statustrusted_list: no fallback to the hold config's copy.
Acceptance criteria
- With no
STANDARDS_DIRand no given path,trustedListPaththrows. - With no
STANDARDS_DIR,loadTrustedActorsandresolve-confignever read a.baseorBASE_PATHcopy. - In
pr-require-checks.yml,trusted_listfails with noSTANDARDS_DIR, even whenBASE_CONFIGholds a copy. The hold harnesses prove this. - The
.githubnode suite and the ci-hold shell harnesses pass.
References
- standards#1127, thread
PRRT_kwDOTBL9Bc67dTlI - ci: fail closed without the standards trusted-actor list in pr-require-checks pr-pipeline-sandbox#437 (sandbox-owned readers)
- melodic-software/azure-iac#188 (token broker)
Metadata
Metadata
Assignees
Labels
session-ownedA local Claude Code session owns this work; factory lanes skip it.
Type
Fields
No fields configured for Task.
Activity