Skip to content

fix(deps): bump mcp in the semgrep lock and drop the qx49 ignore #6480

Closed

Description

@dan-petty

Problem

On 2026-11-19 at 22:45 UTC, GitHub published GHSA-qx49-fqc8-xw99 (HIGH, CVSS 7.5): the OAuth client of the mcp Python SDK can send credentials to an authorization server that the MCP server chooses. The advisory affects mcp 1.9.1 to 1.29.x and 2.0.0a1 to 2.1.x. The fix is in 1.30.0 and 2.2.0.

src/devops_cli/tools_lock/semgrep.txt pins mcp==1.29.0. The audit row of devops ci (osv-scanner) reads that file and fails, so the required check Static Analysis fails on each pull request that starts after 22:45 UTC. Example: check run 135948694190 of #6472.

No released Semgrep holds the fix: the newest release, 1.186.0 (PyPI, 2026-11-18), requires mcp==1.29.0 (read 2026-11-19). So the rule "A Finding with No Fix" of SECURITY.md applies. A pull request adds a 3-day entry to .osv-scanner-ignore.yaml that names this issue.

Expected

semgrep.txt holds an mcp version with no known advisory, and .osv-scanner-ignore.yaml has no entry for GHSA-qx49-fqc8-xw99.

Acceptance criteria

  • When a Semgrep release allows mcp 1.30.0 or later, the tools lock takes that release, semgrep.txt is compiled again, and the entry for GHSA-qx49-fqc8-xw99 goes. The four other mcp 1.29.0 entries go in the same change.
  • Until then, the entry is renewed in 3-day steps with new proof, at most 14 days in all (SECURITY.md). After that, the owner decides.

Existing tool considered

osv-scanner already reads the file, and .osv-scanner-ignore.yaml holds the four other mcp 1.29.0 advisories of the same pin (#3988). Renovate moves the Semgrep pin when a new release comes.

Related

#3988 (the same pin, four older mcp advisories), #6100 (the Semgrep update).

Source: #6472

Alternatives check of 2026-11-20: in-use.
The repository already uses this tool.
Tool: renovatebot/renovate (https://github.com/renovatebot/renovate), AGPL-3.0, last activity 2026-11-19, maintained.
Reason: Searches found no tool that makes Semgrep accept mcp 1.30.0; Renovate, already in use, opens the Semgrep pin bump once a release lands, but cannot drop the five mcp 1.29.0 ignore entries.

Covers:

  • Opens a pull request that moves the semgrep pin when a release lands
  • Updates Python and pip-compile style locks on its own schedule
  • Keeps the tools lock in step with upstream releases without a person

Lacks:

  • Cannot make Semgrep accept mcp 1.30.0 before a release
  • Does not remove the five mcp 1.29.0 ignore entries
  • Cannot renew the 3-day osv-scanner ignore entry with new proof

Proposed design

Problem statement

The issue asked to bump the Semgrep tools lock from mcp 1.29.0, which GHSA-qx49-fqc8-xw99 affects, once a Semgrep release allowed mcp 1.30.0 or later, and to drop the five mcp 1.29.0 osv-scanner ignore entries. That work no longer applies: #4363/#6555 deleted devops install-tools, src/devops_cli/tools_lock/, the osv-scanner audit of its requirement files and .osv-scanner-ignore.yaml, and the only mcp pin left, uv.lock mcp 2.3.0, is outside the advisory's affected range (fixed in 2.2.0). No code change remains; the issue can close as obsolete.

Acceptance criteria

Requirement: The audit row reports no qx49 finding

The audit row of devops ci SHALL pass with no GHSA-qx49-fqc8-xw99 finding for the mcp pin of the repository.

Scenario: Audit on the current locks

  • WHEN uv run devops ci --check --only audit runs
  • THEN The command exits 0 and its output names no GHSA-qx49-fqc8-xw99 finding.

Requirement: No Semgrep tools lock remains

The repository MUST expose no devops install-tools command and hold no src/devops_cli/tools_lock/ lock, so no Semgrep mcp pin remains to audit.

Scenario: The removed installer command

  • WHEN uv run devops install-tools runs
  • THEN The command exits nonzero and reports that install-tools is not a command, so no src/devops_cli/tools_lock/semgrep.txt is installed or audited.

Existing Tool Considered

renovatebot/renovate (https://github.com/renovatebot/renovate), AGPL-3.0, maintained; the alternatives check of 2026-11-20 records verdict in-use, and its block states what Renovate lacks. This issue needs no further tool or code: #4363 deleted the Semgrep tools lock and its osv-scanner ignore file, and the only remaining mcp pin, uv.lock, is 2.3.0.

Key questions

  • Does the repository still pin mcp 1.29.0 in a Semgrep tools lock?: No. src/devops_cli/tools_lock/ no longer exists: chore(tools): remove devops install-tools and tools.lock #4363/refactor(deps): delete install-tools and the tools lock #6555 deleted devops install-tools, the tools lock and the osv-scanner audit of its requirement files. The only mcp pin in the repository is uv.lock mcp 2.3.0, above the affected range (fixed in 2.2.0). [sources: CHANGELOG.md:16, openspec/changes/archive/2026-11-20-4363-remove-tools-lock/proposal.md:9, uv.lock:2599]
  • Should the four other mcp 1.29.0 ignore entries go in the same change as the bump?: There is no such change and no such entry: chore(tools): remove devops install-tools and tools.lock #4363 deleted .osv-scanner-ignore.yaml and the tools-lock audit that read it, so nothing remains to remove. [sources: openspec/changes/archive/2026-11-20-4363-remove-tools-lock/proposal.md:9, CHANGELOG.md:16, docs/SDLC.md:212]
  • Which mcp version must the Semgrep tools lock take after a Semgrep release?: None, because this repository holds no Semgrep tools lock. The devtools image installs Semgrep and owns its mcp pin; the project's own uv.lock pins mcp 2.3.0, which GHSA-qx49-fqc8-xw99 does not affect. [sources: README.md:141, uv.lock:2599, CHANGELOG.md:16]
  • Is a 3-day osv-scanner ignore renewal still needed until a Semgrep release?: No. The ignore file and the tools-lock audit that read it were deleted by chore(tools): remove devops install-tools and tools.lock #4363; the audit row now checks only uv.lock and the root package-lock.json. [sources: openspec/changes/archive/2026-11-20-4363-remove-tools-lock/proposal.md:9, docs/SDLC.md:212, CHANGELOG.md:16]
  • What should this issue do now that the Semgrep tools lock is gone?: Close it as obsolete with no code change. (best practice) [sources: openspec/changes/archive/2026-11-20-4363-remove-tools-lock/proposal.md:5, README.md:141, uv.lock:2599]
    • Chosen: Close as obsolete with no code change. The lock, the ignore file and the audit path that the issue targets are gone (chore(tools): remove devops install-tools and tools.lock #4363), and the only remaining mcp pin is 2.3.0.
    • Rejected: Wait for a Semgrep release and recompile the lock. The repository holds no Semgrep tools lock or compile command to recompile.
    • Rejected: File the bump in dan-petty/devtools. The devtools image owns the Semgrep pin; that repository is outside this roadmap, and its Renovate updates carry its tools.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/bug
    source/agent
    status/new
    on Nov 19, 2026
  2. dan-petty commented on Nov 19, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. The audit check fails on every pull request, causing CI to fail. The advisory GHSA-qx49-fqc8-xw99 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Related: fix(deps): check the tools lock requirement files for advisories #3988, which asks for a different change. Both target the mcp 1.29.0 pin in semgrep.txt, but #3988 adds the osv-scanner audit check while this bumps mcp and removes one advisory ignore.
  3. added
    effort/low
    value/high
    scope/deps
    priority/p1-high
    on Nov 19, 2026
  4. added a commit that references this issue on Nov 19, 2026
  5. devops-cli-service commented on Nov 19, 2026

    @devops-cli-service
    Contributor

    Owner question: See Suspected block and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  6. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (4)

    Tools considered:

    Searches run:

    • semgrep mcp 1.29.0 pin dependency 1.30.0 release, results: 5
    • osv-scanner ignore vulnerability entry expire tool alternative, results: 5
    • semgrep install docker container instead of pip python dependency lock, results: 5
    • renovate semgrep python tools lock update pip compile, results: 5

    Sources:

  7. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Owner question: See Suspected block and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  8. added
    status/ready
    and removed
    status/new
    on Nov 20, 2026
  9. devops-cli-service commented on Nov 20, 2026

    @devops-cli-service
    Contributor

    Next step: the stage job writes the plan of the item. See the section Proposed design of the body.

  10. 11 remaining items

  11. added
    status/ready
    and removed
    status/blocked
    on Nov 21, 2026
  12. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Cleared the stop at job by the rule continue: the runner Job devops-cli-implement-devops-cli-6480-896161 ended without a result. The class ci_infra of the stop is one that a new attempt can fix. This is continuation 1 of 4 for this item. The item is Ready again. The Service takes it in the next round. The new Job takes the branch from origin, so it keeps the work that the run pushed there.

  13. added a commit that references this issue on Nov 21, 2026
  14. added
    status/planned
    owner/service
    status/in-progress
    status/in-review
    and removed
    status/ready
    status/planned
    status/in-progress
    on Nov 21, 2026
  15. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    The draft pull request #6585 holds the final title and body. In mode on of roadmap.fix_checks.mode, the watch row marks it ready when its checks pass, and a fix-checks Job repairs a failed check whose name gives the class test, lint or types. In each other case the watch row stops the item: another failed check, a cancelled check, a conflict, a fix-checks Job that ended with no repair, or another mode.

    Spend: 10 model requests, 261183 input tokens, 1817 output tokens.

  16. removed
    owner/service
    on Nov 21, 2026
  17. removed
    status/in-review
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/depssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions