Skip to content

Fix vulnerable transitive dependencies - #68

Merged
ebarti merged 1 commit into
mainfrom
fix/dependabot-alerts-20261115
Nov 15, 2026
Merged

ebarti merged 1 commit into
mainfrom
fix/dependabot-alerts-20261115

Conversation

@ebarti

@ebarti ebarti commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

The committed lockfile contains seven transitive runtime dependencies covered by 34 active Dependabot alerts (3 critical, 17 high, 14 medium). Update those dependencies to patched releases so locked optional-provider installs no longer select the affected versions.

Package Previous Updated Alert numbers
anyio 4.13.0 4.16.0 11, 12
certifi 2026.5.20 2026.10.23 33
cryptography 49.0.0 50.0.2 10
mcp 1.27.2 1.30.0 6, 30, 34, 35, 36
pyasn1 0.6.3 0.6.5 7, 8, 9, 37, 38, 39, 40
PyJWT 2.13.0 2.15.1 13–23, 27, 28, 29, 32
urllib3 2.7.0 2.8.0 24, 25, 26

Keep MCP on its current 1.x major line. The resolver also selects typing-extensions 4.16.0 where required by AnyIO, retaining 4.15.0 on Python 3.15+. Claude Agent SDK 0.2.179, Codex SDK/CLI 0.167.0, and Antigravity 0.1.23 are preserved. Python 3.10 support, optional extras, package declarations, and runtime source are unchanged.

Validation:

  • GitHub CI run 279: all 10 applicable jobs passed, including the Python 3.10–3.13 core/all matrix, fresh pip installation, and declared dependency floors. The scheduled-only upstream canary was skipped as expected.
  • Compared all 34 captured alerts against the old and new lockfile: the old versions reproduce each vulnerable-range match; every updated version is outside those ranges.
  • pip-audit on the exported runtime requirements with all extras: 47 dependencies audited, no known vulnerabilities and no skipped packages.
  • Reproduced PyJWT's caller-options mutation on 2.13.0; verified 2.15.1 preserves options and rejects an expired token after the same options mapping is reused with signature verification re-enabled, for both decode and decode_complete. This covers alert 28, whose advisory omits a first-patched-version field.
  • Local RSA, ECDSA, and EdDSA JWT signing/verification and Google service-account key parsing/signing passed with cryptography 50.0.2.
  • Lock consistency, Ruff, Mypy, and diff checks passed.
  • Python 3.12 with all extras: 611 passed, 3 skipped; coverage 90.39% (85% required).
  • Python 3.10 core-only: 581 passed, 33 skipped.

Local test execution allowed the Antigravity contract's fake loopback HTTP server and used a temporary pytest fixture to isolate the existing registry test's SDK authentication paths. No credentials were used and no production/test source changed. Live provider calls were not run. Normal repository CI runs the unmodified tests.

@ebarti
ebarti merged commit d53c94e into main Nov 15, 2026
14 checks passed
@ebarti
ebarti deleted the fix/dependabot-alerts-20261115 branch November 15, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant