Repository navigation
[setup-security] Unpinned curl | sudo sh root install in sudo_docker_sbx_install.sh (supply-chain risk) #62521
Description
Activity
- addedcookieIssue Monster Loves Cookies!Issue Monster Loves Cookies!
on Sep 22, 2026 github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I’ve identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 11.6 AIC · ⊞ 12.7K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 14.9 AIC · ⊞ 12.7K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 10.5 AIC · ⊞ 12.7K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.13 AIC · ⊞ 12.7K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I have identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.37 AIC · ⊞ 13.3K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.48 AIC · ⌖ 11.5 AIC · ⊞ 13.2K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 8.62 AIC · ⌖ 10.3 AIC · ⊞ 13.2K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.02 AIC · ⌖ 11.7 AIC · ⊞ 13.4K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I’ve identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.31 AIC · ⌖ 10.2 AIC · ⊞ 13.4K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I have identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 10.1 AIC · ⌖ 12.7 AIC · ⊞ 13.4K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 10.1 AIC · ⌖ 12.6 AIC · ⊞ 13.4K · ◷
github-actions commented
on Sep 22, 2026 on Sep 22, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.53 AIC · ⌖ 14.1 AIC · ⊞ 13.3K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 7.76 AIC · ⌖ 12.1 AIC · ⊞ 13.3K · ◷
2 remaining items
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.77 AIC · ⌖ 10.4 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I’ve identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 11.6 AIC · ⌖ 10.4 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 8.63 AIC · ⌖ 10.4 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I have identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 11.6 AIC · ⌖ 14.4 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.55 AIC · ⌖ 10.9 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 11.9 AIC · ⌖ 13 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I’ve identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 10.2 AIC · ⌖ 10.1 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 8.05 AIC · ⌖ 10.6 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I have identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.35 AIC · ⌖ 16.1 AIC · ⊞ 13.5K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 11.3 AIC · ⌖ 10.4 AIC · ⊞ 13.6K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I’ve identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 7.82 AIC · ⌖ 8.87 AIC · ⊞ 13.6K · ◷
github-actions commented
on Sep 23, 2026 on Sep 23, 2026 – with GitHub ActionsContributorAuthorMore actions🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
🍪 Om nom nom by Issue Monster · pi · gpt54 · 9.1 AIC · ⌖ 10.4 AIC · ⊞ 13.6K · ◷
- linked a pull request that will close this issueHarden docker-sbx install: remove curl|sudo sh root install #62991
on Sep 23, 2026
Summary
actions/setup/sh/sudo_docker_sbx_install.shinstalls the Docker apt repository by piping a remotely-fetched, unversioned convenience script directly into a root shell:curl -fsSL (get.docker.com/redacted) | sudo REPO_ONLY=1 sh. Because the script body is fetched at run time and executed as root without any integrity verification (no pinned commit/tag, no checksum), whateverget.docker.comreturns at that moment runs with full privileges on the runner. This is the classiccurl | sudo shsupply-chain risk: a compromise of the upstream endpoint, a TLS/MITM downgrade, or a malicious redirect yields arbitrary root code execution inside the setup action. Sibling installers in the same directory (e.g.sudo_gvisor_install.sh) already demonstrate the hardened pattern — pinned version plus SHA-512 verification — so this script is inconsistent with the repository's own baseline.Affected Files
actions/setup/sh/sudo_docker_sbx_install.shcurl -fsSL (get.docker.com/redacted) | sudo REPO_ONLY=1 shRisk
Severity: Medium
Attack vector: An attacker who can influence the content served from
(get.docker.com/redacted)(upstream compromise, CDN/DNS hijack, or an on-path TLS interception where cert validation is weakened) causes attacker-controlled shell code to be executed as root during the setup action. There is no pinning or checksum to detect substitution, and the piped-to-shell form means the code runs even if only partially downloaded.Impact: Arbitrary root-level code execution on the GitHub Actions runner during setup — full compromise of the workflow environment, including any secrets/tokens present in the job, the ability to tamper with the AWF sandbox/firewall setup, and persistence within the runner for the remainder of the job.
Recommendation
deb [signed-by=...]source line directly, thensudo apt-get update && sudo apt-get install -y docker-sbx.curloutput straight intosh. Mirror the pattern already used insudo_gvisor_install.sh(pinned version + SHA-512sha512sum -c).runner-guard:ignoreannotation with a justification only after verification is in place, consistent with the other install scripts.Evidence
Relevant code snippet — actions/setup/sh/sudo_docker_sbx_install.sh
Contrast with the hardened sibling
sudo_gvisor_install.sh(pinned version + checksum verification):