Skip to content

fix(security): update dependencies - #401

Open
BartoszBlizniak wants to merge 2 commits into
masterfrom
codex/resolve-security-alerts
Open

fix(security): update dependencies#401
BartoszBlizniak wants to merge 2 commits into
masterfrom
codex/resolve-security-alerts

Conversation

@BartoszBlizniak

Copy link
Copy Markdown
Member

Description

Resolve security findings by:

  • Enforcing patched versions of Cryptography, PyJWT, Pydantic Settings, Starlette, and MCP.
  • Updating uv.lock.
  • Pinning standalone-binary builder dependencies.
  • Replacing Docker ADD instructions with COPY.

No application-code or CLI behaviour changes are included.

Security advisories addressed:

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Other (please describe)

Additional Notes

Unit tests passed on Python 3.10 and 3.14. Package, standalone-binary, Docker, security-scan, and Conda compatibility checks also passed.

@BartoszBlizniak BartoszBlizniak changed the title fix(security): update vulnerable dependencies fix(security): update dependencies Aug 31, 2026
@BartoszBlizniak
BartoszBlizniak requested a lite review from Copilot August 31, 2026 11:48
@BartoszBlizniak
BartoszBlizniak marked this pull request as ready for review August 31, 2026 11:50
@BartoszBlizniak
BartoszBlizniak requested a review from a team as a code owner August 31, 2026 11:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Python/runtime dependency floors and container build inputs to address multiple security advisories, primarily by ensuring downstream installations cannot resolve vulnerable transitive versions and by hardening Docker build instructions.

Changes:

  • Adds explicit runtime dependency “security floors” (cryptography, pydantic-settings, starlette) and raises PyJWT minimum, while pinning MCP to a patched version.
  • Regenerates uv.lock to reflect the new constraints and resolved versions.
  • Updates the dev Docker build to use COPY instead of ADD and pins the astral/uv builder image by tag+digest.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
uv.lock Lockfile updated to include new direct dependencies and minimum versions aligned with the security remediation.
pyproject.toml Adds explicit dependency floors for MCP’s dependency graph and raises PyJWT minimum version.
dev.Dockerfile Pins the uv builder image and replaces ADD with COPY for safer, more predictable Docker builds.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread dev.Dockerfile Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants