Add license policy exceptions for github-mcp-server Debian base OS packages - #52912
Merged
pelikhan merged 2 commits intoAug 15, 2026
Merged
Conversation
…ckages Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix vulnerabilities in container image ghcr.io/github/github-mcp-server
Add license policy exceptions for github-mcp-server Debian base OS packages
Aug 15, 2026
pelikhan
marked this pull request as ready for review
August 15, 2026 15:24
pelikhan
deleted the
copilot/container-image-scan-fix-vulnerabilities-again
branch
August 15, 2026 15:24
Contributor
There was a problem hiding this comment.
Pull request overview
Adds documented Grant license-policy exceptions for unavoidable Debian packages in the upstream GitHub MCP server image.
Changes:
- Adds six Debian packages to Grant’s ignore list.
- Documents the exceptions and records a patch changeset.
Show a summary per file
| File | Description |
|---|---|
.grant.yaml |
Adds Debian base-image package exceptions. |
CONTRIBUTING.md |
Documents the exception rationale and scope. |
.changeset/github-mcp-server-license-exceptions.md |
Records the policy update. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Balanced
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The container image security scan flagged 1 Critical, 3 High, 3 Medium, 1 Low, 7 Negligible vulnerabilities and 6 license policy violations for
ghcr.io/github/github-mcp-server:v1.9.0.Root cause
base-files,libc6,libssl3,media-types,netbase,tzdata) shipped with the upstream image — these carry GPL-2.0/Artistic licenses or no declared license, and weren't covered by the existing.grant.yamlallowlist.golang.org/x/textinside the github-mcp-server binary) live entirely inside the upstream image and are not addressable from this repo:v1.9.0is already the latest published tag, and its digest already matches our pinned reference — there's no newer build to pin to yet.go.modalready usesgolang.org/x/text v0.41.0(well past the0.39.0fix), so this dependency issue is confined to the upstream binary, not gh-aw.Changes
.grant.yaml: added the Debian base-OS packages toignore-packages, following the same documented-exception pattern already used for Alpine and Node.js/npm base packages.CONTRIBUTING.md: documented the new exception alongside the existing ones.