Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
fix(deps): override semgrep's mcp pin to clear GHSA-84m7-p3x7-pcfv (#2049)
Kaif7f2d025984ce
diff --git a/.github/requirements/security-scan-tools-overrides.txt b/.github/requirements/security-scan-tools-overrides.txtindex 99b12662..309f4914 100644--- a/.github/requirements/security-scan-tools-overrides.txt+++ b/.github/requirements/security-scan-tools-overrides.txt@@ -7,3 +7,10 @@# file with --no-deps (every transitive dep is already hash-pinned in it).# Drop this once semgrep relaxes its pin.pyjwt[crypto]>=2.15.1++# semgrep (latest 1.181.0) pins mcp==1.29.0, which is affected by+# GHSA-84m7-p3x7-pcfv (unbounded Streamable HTTP sessions), fixed in 1.30.0.+# semgrep only imports mcp for `semgrep mcp`, which the CI scan never runs.+# Capped below 2 so the override stays on the 1.x API semgrep was built for.+# Drop this once semgrep moves its pin to 1.30.0 or later.+mcp>=1.30.0,<2diff --git a/.github/requirements/security-scan-tools.txt b/.github/requirements/security-scan-tools.txtindex 08b11202..12a52d00 100644--- a/.github/requirements/security-scan-tools.txt+++ b/.github/requirements/security-scan-tools.txt@@ -502,10 +502,12 @@ markdown-it-py==4.2.0 \--hash=sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49 \--hash=sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a# via rich-mcp==1.29.0 \- --hash=sha256:52d01f334de1868cc3bb2d6604931126a67631f99a6c5d3b82ba47290315ec36 \- --hash=sha256:f5a075bb611f23d6f4d080c6a1699fa62772eebc562ba9e66b306ddde1c755f7- # via semgrep+mcp==1.30.0 \+ --hash=sha256:445414625fce5c295faa505bb11bacece661ab6f4028d57c935db57820b7a3e4 \+ --hash=sha256:666edb5009503e1047c9d60346a756f94b261f05cc2625f23d41c728ffc484d0+ # via+ # --override .github/requirements/security-scan-tools-overrides.txt+ # semgrepmdurl==0.1.2 \--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba