vllm - ✅(Solved) Fix [Security] Unpinned Third-Party GitHub Action in macOS Workflow [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#39199Fetched 2026-04-08 03:01:29
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×1renamed ×1

PR fix notes

PR #39310: fix(ci): pin setup-uv action to immutable commit SHA

Description (problem / solution / changelog)

Pins astral-sh/setup-uv in .github/workflows/macos-smoke-test.yml from mutable tag @v7 to the corresponding immutable commit SHA.

  • before: astral-sh/setup-uv@v7
  • after: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 (v7)

This hardens CI against tag-retargeting supply-chain risk while keeping behavior unchanged.

Fixes #39199

Changed files

  • .github/workflows/macos-smoke-test.yml (modified, +1/-1)

Code Example

uses: astral-sh/setup-uv@v7

---

Runner Guard v2.9.0 | Vigilant
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fetching workflows from github.com/vllm-project/vllm...
Scanning 6 workflow files...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[LOW] RGS-007Unpinned Third-Party Action Using Mutable Tag
File:     macos-smoke-test.yml (line 20)
Job:      macos-m1-smoke-test

Evidence: Third-party action pinned to mutable ref 'v7': astral-sh/setup-uv@v7
(job has read-only permissions, reducing impact)

Summary: 0 Critical | 0 High | 0 Medium | 1 Low

Runner Guard Score: 94/100 (A)
  Pinning:      7/10  (1 unpinned action(s))
  Permissions:  10/10  (no issues detected)
  Injection:    10/10  (no issues detected)
  Triggers:     10/10  (no issues detected)
  IOCs:         10/10  (no issues detected)

Scan completed in ~3.5s

---

uses: astral-sh/setup-uv@<commit-sha>

---

uses: astral-sh/setup-uv@a1b2c3d4e5f6...
RAW_BUFFERClick to expand / collapse

Your current environment

Not applicable (CI configuration issue, not runtime environment related)

🐛 Describe the bug

I identified CI/CD security issue related to an unpinned third-party GitHub Action.

Finding

The macOS workflow uses a third-party action pinned to a mutable tag:

  • File: .github/workflows/macos-smoke-test.yml
  • Line: 20
  • Usage:
uses: astral-sh/setup-uv@v7

Using mutable tags (e.g., @v7, @main, @latest) introduces a supply chain risk. These tags can be force-updated to point to different commits at any time. If the upstream repository is compromised, malicious code could be executed in CI without any visible changes in this repository.

Scan Logs

The issue was identified using Runner Guard:



Runner Guard v2.9.0 | Vigilant
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Fetching workflows from github.com/vllm-project/vllm...
Scanning 6 workflow files...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

[LOW] RGS-007 — Unpinned Third-Party Action Using Mutable Tag
File:     macos-smoke-test.yml (line 20)
Job:      macos-m1-smoke-test

Evidence: Third-party action pinned to mutable ref 'v7': astral-sh/setup-uv@v7
(job has read-only permissions, reducing impact)

Summary: 0 Critical | 0 High | 0 Medium | 1 Low

Runner Guard Score: 94/100 (A)
  Pinning:      7/10  (1 unpinned action(s))
  Permissions:  10/10  (no issues detected)
  Injection:    10/10  (no issues detected)
  Triggers:     10/10  (no issues detected)
  IOCs:         10/10  (no issues detected)

Scan completed in ~3.5s

Impact

This appears to be low severity due to read-only permissions in the job. However, similar issues have been exploited in real-world supply chain attacks where attackers hijack mutable tags to execute malicious code in CI pipelines.

Recommendation

Pin the action to a full commit SHA to ensure immutability:

uses: astral-sh/setup-uv@<commit-sha>

Example:

uses: astral-sh/setup-uv@a1b2c3d4e5f6...

Notes

  • Pinning prevents tag hijacking and supply chain attacks
  • This vulnerability class was actively exploited in the March 2026 attacks against litellm, trivy, and other major open-source projects
  • Tools like Dependabot or Renovate can help keep pinned SHAs updated
  • This is a best-practice improvement for CI security hardening

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

TL;DR

Pin the third-party GitHub Action to a full commit SHA to prevent supply chain attacks.

Guidance

  • Identify the commit SHA for the desired version of the astral-sh/setup-uv action.
  • Update the .github/workflows/macos-smoke-test.yml file to use the commit SHA instead of the mutable tag v7.
  • Consider using tools like Dependabot or Renovate to keep pinned SHAs updated.
  • Verify that the updated workflow file is working as expected and that the security scan no longer reports the issue.

Example

uses: astral-sh/setup-uv@a1b2c3d4e5f6

Replace a1b2c3d4e5f6 with the actual commit SHA.

Notes

Pinning the action to a commit SHA prevents tag hijacking and supply chain attacks, and is a best-practice improvement for CI security hardening.

Recommendation

Apply the workaround by pinning the action to a full commit SHA, as this prevents supply chain attacks and is a recommended best practice for CI security hardening.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - ✅(Solved) Fix [Security] Unpinned Third-Party GitHub Action in macOS Workflow [1 pull requests, 1 participants]