-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Labels
Description
Objective
Address poutine supply chain security findings: replace curl | bash install patterns with checksum-verified downloads, and review the self-hosted runner PR workflow.
Context
From Static Analysis Report discussion #17668 (2026-02-22 scan):
Finding 1: unverified_script_exec (4 occurrences, info severity)
| File | Line | Command |
|---|---|---|
copilot-setup-steps.yml |
17 | curl -fsSL https://raw.githubusercontent.com/github/gh-aw/refs/heads/main/install-gh-aw.sh | bash |
copilot-setup-steps.yml |
42 | curl -LsSf (astral.sh/redacted) | sh |
daily-copilot-token-report.lock.yml |
349 | curl -fsSL .../install-gh-aw.sh | bash |
daily-copilot-token-report.lock.yml |
361 | curl -LsSf (astral.sh/redacted) | sh |
Finding 2: pr_runs_on_self_hosted (1 occurrence, warning severity)
.github/workflows/smoke-copilot-arm.lock.yml:347—runs-on: ubuntu-24.04-armin a PR-triggered workflow- Risk: untrusted PR code can interact with the self-hosted runner
Required Changes
For unverified_script_exec:
- For
install-gh-aw.sh: Download the script first, verify checksum against a pinned known hash, then execute — OR use the GitHub CLI to install from a pinned release tag - For
astral.sh/uv: UseuvGitHub releases directly viaactions/setup-python+pip install uvor use the officialastral-sh/setup-uvaction pinned to a commit SHA
For pr_runs_on_self_hosted:
- Investigate
smoke-copilot-arm.md— determine ifubuntu-24.04-armis required for PR runs - If possible, restrict the ARM runner to non-PR triggers (push/workflow_dispatch) and use GitHub-hosted runners for PR events
Acceptance Criteria
-
copilot-setup-steps.ymlno longer usescurl | bashfor either install script -
daily-copilot-token-report.mdupdated and recompiled withoutcurl | bash -
smoke-copilot-armPR trigger safety reviewed and addressed or documented with justification -
make recompilesucceeds -
make agent-finishpasses
Generated by Plan Command for issue #discussion #17668
- expires on Feb 24, 2026, 7:00 AM UTC
Reactions are currently unavailable