You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
security: Cross-repo PATs in release jobs can trigger workflows; their scope decides whether a leak reaches spawn's signing release #1602
From the pre-1.0 security audit (spore-host/spore-host#649, 2026-11-11), audit id supply-13. Verified: plausible, severity info (reviewer said info).
Where:.github/workflows/release.yaml:384 (at origin/main on 2026-11-11)
Evidence
DOCS_SYNC_TOKEN: ${{ secrets.DOCS_SYNC_TOKEN }} (spawn release.yaml:384; truffle:72; lagotto:71; spore-host sync-cli-docs.yaml:94). HOMEBREW_TAP_GITHUB_TOKEN/SCOOP_BUCKET_GITHUB_TOKEN are passed to GoReleaser in spawn:273-274, truffle, lagotto and spore-host-mcp. Unlike GITHUB_TOKEN, pushes, tags and dispatches made with a PAT DO trigger workflows.
Scenario
If any of these is a classic PAT with repo scope, or a fine-grained PAT covering spawn with contents: write, a leak from any of the five jobs that hold it lets the holder push a v* tag to spawn or dispatch a publish workflow. That reaches the KMS spored signing path in the first finding.
Verifier
spawn .github/workflows/release.yaml:384 passes DOCS_SYNC_TOKEN, and lines 273-274 pass HOMEBREW_TAP_GITHUB_TOKEN and SCOOP_BUCKET_GITHUB_TOKEN to GoReleaser. Whether a leak reaches spawn tag creation depends entirely on the PAT type and scope and on the tag rulesets, none of which can be seen statically.
Suggested fix
Use fine-grained PATs, or a GitHub App, scoped to the single target repo: homebrew-tap, scoop-bucket, or spore-host with contents and pull-requests only. Add tag rulesets so a token cannot create v* tags.
Deployed-state check
Token type and repository/permission scope of DOCS_SYNC_TOKEN, HOMEBREW_TAP_GITHUB_TOKEN and SCOOP_BUCKET_GITHUB_TOKEN.
Activity
ci: codify the least scope of the release's cross-repo tokens; gate t…
ci: codify the least scope of the release's cross-repo tokens; gate t…
ci: codify the least scope of the release's cross-repo tokens; gate t…