Skip to content

fix: close the litellm and dnspython Dependabot alerts on main (#689) - #690

Merged
a-ratz merged 1 commit into
mainfrom
fix/689-security-deps
Nov 3, 2026
Merged

a-ratz merged 1 commit into
mainfrom
fix/689-security-deps

Conversation

@a-ratz

@a-ratz a-ratz commented Nov 3, 2026

Copy link
Copy Markdown
Member

Closes #689.

What

main has two open Dependabot alerts, both high. This PR moves both packages to fixed versions:

  • pyproject.toml: litellm==1.100.4 (GHSA-7hp6-4w63-5g45). The advisory is about the LiteLLM proxy server, which Flock never runs. CONTRIBUTING.md says to update the pin of a proxy-only advisory with the next dependency bump, and this is that bump. dspy 3.2.1 requires litellm>=1.64.0.
  • uv.lock: dnspython 2.8.0 → 2.9.1 (GHSA-45c3-73f7-pv4m, excessive CPU use when parsing DNS messages; it comes in through pydantic[email] → email-validator).
  • Changelog: an entry under Unreleased > Security.

New dependency: from 1.100 on, litellm requires boto3 as a base dependency, so boto3, botocore, s3transfer and jmespath now come with every install. Every newer litellm (up to 1.106.6) requires it too.

No version bump: the release bump to 0.5.800 follows as the next PR.

Checks

  • Backend, installed as CI does (uv sync --dev --all-groups --all-extras): pytest 3289 passed, 78 skipped.
  • uv lock --check passes. ruff check src/flock/ reports the same 61 findings as main; this PR changes no Python code.
  • Live run of examples/01-getting-started/01_declarative_pizza.py against an Azure OpenAI deployment with litellm 1.100.4: the agent published its pizza.

litellm 1.100.4 (GHSA-7hp6-4w63-5g45, LiteLLM proxy only) and dnspython
2.9.1 in the lockfile (GHSA-45c3-73f7-pv4m). litellm 1.100 adds boto3 as
a base dependency.
@a-ratz

a-ratz commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Codex review, round 1 (codex review --base origin/main --scope branch, verbatim)

No actionable regressions found. Updated dependency metadata matches the lockfile, and 187 focused tests passed (35 skipped). Broader validation encountered an async teardown timeout also reproduced with the previous LiteLLM version.

No findings, so this round counts as green. The teardown timeout comes up with the old LiteLLM as well, so it is not caused by this PR. The full suite passed on this branch (3289 passed, 78 skipped).

@a-ratz
a-ratz merged commit 4e73117 into main Nov 3, 2026
7 checks passed
@a-ratz
a-ratz deleted the fix/689-security-deps branch November 3, 2026 07:50
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.

Security: two high Dependabot alerts on main (litellm, dnspython)

1 participant