Repository navigation
fix(deps): clear open security alerts with lockfile bumps - #264
Merged
Merged
Conversation
Moves the locked versions of vulnerable Python and mock-server packages to patched releases inside the ranges pyproject.toml already allows. The mock server's exact @modelcontextprotocol/sdk pin moves from 1.24.3 to 1.32.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
Relocks from main with exact versions (the highest first-patched version of each alerted package), so nothing moves further than the advisories require and every new release is at least 14 days old, in line with the 7-day minimumReleaseAge the mock server already enforces. Moves body-parser in the mock server to 2.4.0 for GHSA-27r3-jxmh-p828. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
…s through langgraph-sdk 0.4.6 is the first patched version and resolves with langgraph 1.2.14, so the lock goes no further. The mock server's MCP SDK ignore now blocks majors only, as its comment says: 1.32.1 still serves the raw inputSchema, and ignoring every version also hid future security updates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
This was referenced Nov 11, 2026
pydantic published four medium advisories (GHSA-955g-x97g-8mcp, GHSA-gj4f-r7mf-jjxh, GHSA-3r8g-cqwr-jr29, GHSA-qpmf-fgh3-ff25) that affect the locked 2.12.5 and are fixed in 2.14.2. They are not in the global advisory database yet, so Dependabot has not raised them. cohere moves to 7.2.0, the oldest release that accepts the new pydantic-core; typing-inspection stays on 0.4.4 to respect the 7-day release age. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
Conflicts in package.json, pnpm-lock.yaml and uv.lock after main took the hono 4.13.16 bump and the grouped Python updates. package.json keeps this branch's MCP SDK 1.32.1 and main's hono 4.13.16. uv.lock starts from main and re-applies this branch's security bumps, so no package is lower than on either side. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
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.
Clears all 60 open Dependabot alerts (4 critical, 25 high) by moving lockfile versions to patched releases; 6 of them (certifi, langsmith twice, langgraph, langgraph-sdk, python-dotenv) were already cleared by #251, which merged first. Every new version is inside the ranges
pyproject.tomlalready allows. Onlyuv.lock,pnpm-lock.yaml, the mock server's exact@modelcontextprotocol/sdkpin and one Dependabot rule change, so nothing in the published package's metadata moves.What moves
Each package goes to its highest first-patched version across its open alerts, not to latest.
examplesextra through pydantic-aiopentelemetry-api 1.45 needs the rest of the OpenTelemetry set at 1.45.1 / 0.66b1 (two new exporter packages from the same upstream). That set requires logfire 5.2.0 and mistralai 3.3.0. These match the versions Dependabot's own branch picked, and they only reach the
examplesextra through pydantic-ai.Supply-chain checks:
minimumReleaseAgethe mock server already enforces.How it was verified
uv sync --locked --all-extras(Python 3.13)uv run ruff check .,ruff format --check .uv run ty check stackone_ai examplesuv run pytest(integration tests run against the mock server on sdk 1.32.1)uv lock --check,pnpm install --frozen-lockfilescripts/validate.shwith the conformance repo.github/dependabot.yaml: the mock server's MCP SDK ignore now blocks majors only, as its comment already said. 1.32.1 still serves the rawinputSchema, so the stated reason no longer holds, and ignoring every version also stops Dependabot from proposing future security fixes for it.Supersedes #240 (authlib), #249 (pyasn1) and #252 (grouped lockfile updates, every package there is covered at the same or a newer version). The
mcp2.x major (#208) stays separate. #251 merged first, so the merged lock keeps its higher versions of certifi, langsmith, langgraph, langgraph-sdk, python-dotenv, pydantic, pydantic-core, cohere and the typing packages.Not in this PR:
pyproject.tomlstill allowsmcp>=1.24.3(andpython-dotenv>=1.0.1in theexamplesextra), so a user who already has an older version installed keeps it when installingstackone-ai. Raising those floors changes what library users can install, so it is left as a separate decision.Gates
uv.lock(anyio, certifi, cryptography, dnspython, langsmith, mcp), all at or below the new versionsupdate-typesignore is valid and widens update coverage), and flagged pydantic's repository advisories, fixed in 160c6ea. 160c6ea: clean (all 135 changed artifacts match PyPI URLs, hashes and sizes, none yanked, OSV 0, all upgrades)Requested by guillaume@stackone.com in Slack (repo audit thread).
🤖 Generated with Claude Code