Repository navigation
Description
Problem
python/semgrep.txt locks semgrep 1.179.0. osv-scanner finds 6 advisories in two of its dependencies:
| Advisory | Package | Locked | Fixed |
|---|---|---|---|
| GHSA-5h93-6whr-6q8j | mcp | 1.29.0 | 1.30.0 |
| GHSA-84m7-p3x7-pcfv | mcp | 1.29.0 | 1.30.0 |
| GHSA-rwrf-2pqf-9j8j | mcp | 1.29.0 | 1.30.0 |
| GHSA-w4fh-qvv9-3v23 | mcp | 1.29.0 | 1.30.0 |
| GHSA-mf5v-w3w3-f6cg | opentelemetry-api | 1.37.0 | 1.45.2 |
| GHSA-xcq7-p3pf-p88h | opentelemetry-api | 1.37.0 | 1.45.1 |
No released semgrep holds the fixes. Read on 2026-11-19 from PyPI: the newest semgrep is 1.186.0 (2026-11-18), and it requires mcp==1.29.0 and opentelemetry-api~=1.37.0. So uv finds no lock with the fixes.
Change
python/osv-scanner.toml ignores the 6 advisories until 2026-11-22, by the rule "A Finding with No Fix" of devops-cli SECURITY.md (3 days, renewed at most to 14 days in all). Trivy rates the 6 findings MEDIUM, so the HIGH/CRITICAL gate of the image does not see them.
When a semgrep release takes mcp>=1.30.0 and opentelemetry-api>=1.45.2: update python/semgrep.in, compile python/semgrep.txt again, and delete the ignores and the two hold rules of .github/renovate.json.
Done when
python/osv-scanner.toml holds no ignore for semgrep, and osv-scanner passes on python/semgrep.txt.
Alternatives check of 2026-11-19: not-applicable.
Class: chore, no search.
Tool: none found.
Proposed design
Problem statement
python/semgrep.txt locks semgrep 1.186.0, which requires mcp 1.29.0, opentelemetry-api 1.37.0 and wcmatch 8.5.2. osv-scanner reports seven advisories in mcp and opentelemetry-api and one in wcmatch (GHSA-53pm-wgxf-c6qf). No released semgrep requires the fixed versions, so the lock cannot drop the dated ignores. A semgrep release with mcp>=1.30.0, opentelemetry-api>=1.45.2 and wcmatch>=11.2 unblocks the bump, the lock recompile, and the removal of the ignores and Renovate hold rules.
Acceptance criteria
Requirement: Semgrep pin requires fixed dependencies
python/semgrep.in SHALL pin a semgrep release whose metadata requires mcp>=1.30.0, opentelemetry-api>=1.45.2 and wcmatch>=11.2.
Scenario: Lock compiles fixed versions
- WHEN
uv pip compile --universal --generate-hashes --python-version=3.14 semgrep.in --output-file=semgrep.txtruns inpython/ - THEN the command exits 0 and
python/semgrep.txtlocks mcp 1.30.0 or later, opentelemetry-api 1.45.2 or later and wcmatch 11.2 or later
Requirement: Semgrep lock carries fixed dependencies
python/semgrep.txt SHALL lock mcp 1.30.0 or later, opentelemetry-api 1.45.2 or later and wcmatch 11.2 or later.
Scenario: osv-scanner passes on the semgrep lock
- WHEN the osv-scanner check of
.github/workflows/image.ymlruns onpython/semgrep.txt - THEN the check exits 0 and reports no finding for mcp, opentelemetry-api or wcmatch
Requirement: Dated semgrep ignores removed
python/osv-scanner.toml MUST NOT hold an ignore for semgrep, mcp, opentelemetry-api or wcmatch.
Scenario: osv-scanner passes with no semgrep ignore
- WHEN the osv-scanner check of
.github/workflows/image.ymlruns onpython/semgrep.txtafter the semgrep ignores are deleted frompython/osv-scanner.toml - THEN the check exits 0 and reports no finding for mcp, opentelemetry-api or wcmatch
Requirement: Renovate hold rules removed
.github/renovate.json MUST NOT hold a hold rule for semgrep, mcp or opentelemetry-api.
Scenario: Renovate config validates
- WHEN
npx --yes renovate-config-validator .github/renovate.jsonruns after the semgrep hold rules are deleted - THEN the command exits 0 and reports no error for
.github/renovate.json
Existing Tool Considered
The alternatives check of 2026-11-19 in the issue body records not-applicable (class chore, no search; Tool: none found). The item concerns semgrep, the open, maintained scanner. semgrep 1.186.0 lacks a release that requires mcp>=1.30.0, opentelemetry-api>=1.45.2 and wcmatch>=11.2; its develop branch still pins mcp==1.29.0, opentelemetry-api~=1.37.0 and wcmatch~=8.3 (owner reply of 2026-11-21). The project builds no code; the dated osv-scanner ignores cover the gap.
Key questions
- Which versions of semgrep, mcp, opentelemetry-api and wcmatch does the lock hold?:
python/semgrep.inpins semgrep 1.186.0.python/semgrep.txtlocks semgrep 1.186.0, mcp 1.29.0, opentelemetry-api 1.37.0 and wcmatch 8.5.2. The issue body's semgrep 1.179.0 is stale. [sources: python/semgrep.in, python/semgrep.txt] - Does a released semgrep require
mcp>=1.30.0,opentelemetry-api>=1.45.2andwcmatch>=11.2?: No. semgrep 1.186.0, the newest release of 2026-11-18, and thedevelopbranch requiremcp==1.29.0,opentelemetry-api~=1.37.0andwcmatch~=8.3. Upstream PRsemgrep/semgrep#12057is open and setsmcp==1.30.0andopentelemetry-api~=1.45.1; no semgrep issue covers wcmatch. [sources: python/semgrep.txt] - How should the project handle the advisories until semgrep carries the fixes?: Keep the dated ignores in
python/osv-scanner.tomlunder the 'A Finding with No Fix' rule: a reason, a tracking issue and an end date of 3 days, renewed at most to 14 days in all. The wcmatch ignore ends 2026-11-24 and the mcp and opentelemetry-api ignores end 2026-11-25. After the 14-day limit ends 2026-12-03, the owner decides. Do not override semgrep's pins or vendor mcp. (best practice) [sources: python/osv-scanner.toml]- Chosen: Dated osv-scanner ignore. The project rule permits a 3-day ignore renewed to 14 days in all; the osv-scanner lock-file gate would fail without it.
- Rejected: uv override-dependencies. semgrep pins
mcp==1.29.0exactly; an override runs semgrep against versions it does not declare and can break it. - Rejected: Vendor or patch mcp. This adds code that the project must keep and fix, with no upstream support.
- What triggers the semgrep bump and the removal of the ignores and Renovate hold rules?: A semgrep release whose metadata requires
mcp>=1.30.0,opentelemetry-api>=1.45.2andwcmatch>=11.2. The current semgrep 1.186.0 pinsmcp==1.29.0,opentelemetry-api~=1.37.0andwcmatch~=8.3. The dated ignores expire on 2026-11-24 and 2026-11-25; renew them within the 14-day limit if the release is later. (best practice) [sources: python/semgrep.in, python/osv-scanner.toml, .github/renovate.json]- Chosen: Wait for an upstream release. The lock cannot hold the fixed versions while semgrep pins the vulnerable ones.
- Rejected: Drop the ignores now. osv-scanner would fail on
python/semgrep.txtand the lock-file gate would block.
Fit
Fits in one pull request.
Suspected block
A semgrep release that requires mcp>=1.30.0, opentelemetry-api>=1.45.2 and wcmatch>=11.2. The dated ignores end 2026-11-24 (wcmatch) and 2026-11-25 (mcp and opentelemetry-api); the 14-day limit ends 2026-12-03, and then the owner decides.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 19, 2026
Both items belong to the devops-cli project, but the candidate updates a semgrep dependency lock while item 1 builds a new devtools image.[-]chore(deps): bump semgrep and drop the osv-scanner ignores of mcp and opentelemetry-api[/-][+]chore(deps): bump semgrep and drop osv-scanner ignores[/+]devops-cli-service commentedon Nov 19, 2026
The job shortened the title of this item. The summary had 74 characters, and the limit is 60. The type and the scope stay.
chore(deps): bump semgrep and drop the osv-scanner ignores of mcp and opentelemetry-apichore(deps): bump semgrep and drop osv-scanner ignoresdevops-cli-service commentedon Nov 19, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
feat: build and publish the devtools image from debian sid
feat: build and publish the devtools image from debian sid (#3)
devops-cli-service commentedon Nov 19, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
fix(deps): ignore GHSA-qx49-fqc8-xw99 of mcp 1.29.0 until 2026-11-22 (#…
devops-cli-service commentedon Nov 20, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 20, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 20, 2026
Premise check of 2026-11-20: this item stays blocked. Nothing to build yet.
mcp==1.29.0andopentelemetry-api~=1.37.0.develop(cli/pyproject.toml:66-67, read 2026-11-20) has the same pins, so the next release does not fix it either.mcp==1.30.0andopentelemetry-api~=1.45.1. That range allows 1.45.2, so a release with it removes all 7 advisories.The dated ignores in
python/osv-scanner.tomlexpire 2026-11-22. On that date, check again and renew them for 3 days with new proof, by the rule "A Finding with No Fix". The 14-day limit ends 2026-12-03; after that, the owner decides.dan-petty commentedon Nov 21, 2026
2026-11-21: one more advisory, and a renewal. PR #31.
Proof (read 2026-11-21): semgrep 1.186.0 is still the newest release. It and the
developbranch (cli/pyproject.toml:66-67,84) requiremcp==1.29.0,opentelemetry-api~=1.37.0andwcmatch~=8.3. wcmatch 8.5.2 is the newest 8.x release. semgrep/semgrep#12057 (mcp and OTel) is still open; no semgrep issue covers wcmatch.The 14-day limit of the first ignores ends 2026-12-03. After that, the owner decides.
fix(deps): ignore GHSA-53pm-wgxf-c6qf of wcmatch until 2026-11-24 (#31)
devops-cli-service commentedon Nov 21, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence