Skip to content

Pin Serena MCP image to remediated SHA tag and propagate digest across workflow artifacts - #49693

Merged
pelikhan merged 2 commits into
mainfrom
copilot/container-image-scan-serena-mcp-server
Aug 2, 2026
Merged

Pin Serena MCP image to remediated SHA tag and propagate digest across workflow artifacts#49693
pelikhan merged 2 commits into
mainfrom
copilot/container-image-scan-serena-mcp-server

Conversation

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

The security scan flagged ghcr.io/github/serena-mcp-server:latest as a high-risk image with concentrated Critical/High findings. This change removes the mutable/vulnerable latest reference from workflow sources and compiled artifacts, and pins Serena to a newer immutable image digest.

  • Workflow source update

    • Updated shared Serena MCP definition to use ghcr.io/github/serena-mcp-server:sha-2491b68 instead of :latest.
    • File: .github/workflows/shared/mcp/serena.md
  • Container pin cache refresh

    • Replaced Serena container entry in .github/aw/actions-lock.json with:
      • image: ghcr.io/github/serena-mcp-server:sha-2491b68
      • digest: sha256:2fc3fab11db8baca5b4fa760ec52f1010425c97edc8bf4c6437f0cdabd17fcb7
    • Synced embedded pin mirrors:
      • pkg/actionpins/data/action_pins.json
      • pkg/workflow/data/action_pins.json
  • Compiled workflow + golden artifact alignment

    • Recompiled affected .lock.yml outputs so manifests/download steps now reference the new Serena tag+digest.
    • Updated impacted wasm golden fixtures that encode container references.
# before
container: "ghcr.io/github/serena-mcp-server:latest"

# after
container: "ghcr.io/github/serena-mcp-server:sha-2491b68"

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix container image findings for serena-mcp-server Pin Serena MCP image to remediated SHA tag and propagate digest across workflow artifacts Aug 2, 2026
Copilot AI requested a review from pelikhan August 2, 2026 03:39
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

🔍 Triage Summary

Field Value
Category chore
Risk medium
Priority high
Score 60/100 (impact 30 + urgency 25 + quality 5)
Recommended action fast_track
Batch container-security

Pins Serena MCP image to remediated SHA + propagates digest. Draft, no CI yet.

Automated triage — see the triage report for full context.

Generated by 🔧 PR Triage Agent · auto · 40.3 AIC · ⌖ 4.01 AIC · ⊞ 8K ·

@pelikhan
pelikhan marked this pull request as ready for review August 2, 2026 09:42
Copilot AI review requested due to automatic review settings August 2, 2026 09:42
@pelikhan
pelikhan merged commit 102f241 into main Aug 2, 2026
@pelikhan
pelikhan deleted the copilot/container-image-scan-serena-mcp-server branch August 2, 2026 09:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins Serena MCP to the remediated SHA tag and propagates its digest through caches, compiled workflows, and golden fixtures.

Changes:

  • Replaces Serena’s mutable latest tag with sha-2491b68.
  • Synchronizes the new digest across pin caches and generated artifacts.
  • Includes an unrelated timeout increase in smoke-checkout-pr-dispatch.lock.yml that requires reverting.
Show a summary per file
File Description
pkg/workflow/testdata/wasm_golden/WasmBinary/smoke-copilot.golden Updates WASM golden references.
pkg/workflow/testdata/wasm_golden/fixtures/shared/mcp/serena.md Updates fixture source image.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates compiled golden references.
pkg/workflow/data/action_pins.json Refreshes embedded workflow pin.
pkg/actionpins/data/action_pins.json Refreshes action-pin data.
.github/workflows/typist.lock.yml Propagates the Serena pin.
.github/workflows/terminal-stylist.lock.yml Propagates the Serena pin.
.github/workflows/spec-librarian.lock.yml Propagates the Serena pin.
.github/workflows/smoke-copilot.lock.yml Propagates the Serena pin.
.github/workflows/smoke-copilot-arm.lock.yml Propagates the Serena pin.
.github/workflows/smoke-copilot-aoai-apikey.lock.yml Propagates the Serena pin.
.github/workflows/smoke-checkout-pr-dispatch.lock.yml Unrelatedly doubles generated timeouts.
.github/workflows/shared/mcp/serena.md Pins the shared Serena source.
.github/workflows/sergo.lock.yml Propagates the Serena pin.
.github/workflows/semantic-function-refactor.lock.yml Propagates the Serena pin.
.github/workflows/linter-miner.lock.yml Propagates the Serena pin.
.github/workflows/go-fan.lock.yml Propagates the Serena pin.
.github/workflows/glossary-maintainer.lock.yml Propagates the Serena pin.
.github/workflows/developer-docs-consolidator.lock.yml Propagates the Serena pin.
.github/workflows/daily-testify-uber-super-expert.lock.yml Propagates the Serena pin.
.github/workflows/daily-mcp-concurrency-analysis.lock.yml Propagates the Serena pin.
.github/workflows/daily-file-diet.lock.yml Propagates the Serena pin.
.github/workflows/daily-compiler-quality.lock.yml Propagates the Serena pin.
.github/workflows/archie.lock.yml Propagates the Serena pin.
.github/aw/actions-lock.json Updates the canonical image digest cache.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 32/32 changed files
  • Comments generated: 1
  • Review effort level: Balanced

# --allow-tool shell(yq)
# --allow-tool write
timeout-minutes: 10
timeout-minutes: 20
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[container-image-scan] Container findings for serena-mcp-server:latest

3 participants