Skip to content

deps(semgrep): override mcp to 1.30.0 for GHSA-84m7-p3x7-pcfv - #583

Merged
Chris-Wolfgang merged 2 commits into
mainfrom
deps/semgrep-mcp-1.30.0
Nov 2, 2026
Merged

Chris-Wolfgang merged 2 commits into
mainfrom
deps/semgrep-mcp-1.30.0

Conversation

@Chris-Wolfgang

@Chris-Wolfgang Chris-Wolfgang commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Fixes Dependabot alerts #35 and #36 (mcp GHSA-84m7-p3x7-pcfv) in the hash-pinned Semgrep tool tree.

Closes #580
Closes #581

Why an override

semgrep 1.180.0 declares mcp==1.29.0 exactly, so a plain upgrade resolves nothing new. This adds .github/requirements/semgrep-overrides.txt (mcp==1.30.0) and recompiles semgrep.txt with --override. semgrep.yaml installs with pip install --no-deps --require-hashes, so pip does not re-check semgrep's exact pin. Same approach as ETL-Abstractions#723 / Etl-Csv#461. Remove the override once a semgrep release allows mcp>=1.30.0.

Bottom of a stacked security series in this repo.

Verified locally

  • uv pip compile --universal --generate-hashes --override semgrep-overrides.txt semgrep.in -o semgrep.txt (uv 0.12.5): the only package change is mcp 1.29.0 -> 1.30.0 (plus the header command line and the # via note).
  • Fresh venv (Windows, Python 3.12), uv pip install --no-deps --require-hashes -r semgrep.txt: installs; import semgrep, mcp works (mcp 1.30.0, semgrep 1.180.0); pysemgrep --version prints 1.180.0.

Not verified

  • No .NET build/tests: the change touches only the pip requirements for the Semgrep workflow.
  • The Semgrep workflow on ubuntu (GitHub Actions is billing-locked).
  • Whether Dependabot clears the semgrep.in alert (Add coverlet.collector to enable CI coverage collection #35); the vulnerable version is resolved in semgrep.txt.

Dependency stack

Position 1 of 7. Below: main (bottom of the stack). Above: #614.

Merge order: #583 → #614 → #615 → #624 → #625 → #631 → #626

Merge bottom-up, and merge this PR only after its base shows main. Branches are kept current by merging the base in (no force-pushes), so merge commits in this branch are expected.

🤖 Generated with Claude Code

semgrep 1.180.0 pins mcp==1.29.0 exactly, so add semgrep-overrides.txt
and recompile semgrep.txt with --override. semgrep.yaml installs with
--no-deps --require-hashes, so pip does not re-check the exact pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Chris-Wolfgang
Chris-Wolfgang added this pull request to stack #643 November 2, 2026 15:23
@Chris-Wolfgang
Chris-Wolfgang merged commit 52b0f60 into main Nov 2, 2026
24 of 25 checks passed
@Chris-Wolfgang
Chris-Wolfgang deleted the deps/semgrep-mcp-1.30.0 branch November 2, 2026 18:24
Chris-Wolfgang added a commit that referenced this pull request Nov 2, 2026
…rsal (#614)

Supersedes Dependabot #612 (semgrep 1.180.0 -> 1.182.0, zizmor 1.30.1 -> 1.31.1).
Regenerated with the commands recorded in each file header (uv pip compile
--universal --generate-hashes, semgrep with --override semgrep-overrides.txt from
#583) and --upgrade-package so every other pin is unchanged except certifi, which
semgrep 1.182.1 now requires directly.

Dependabot's regeneration dropped the --universal platform markers (cffi,
pycparser, uvicorn) and the pywin32 pin, and kept mcp at the vulnerable 1.29.0.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant