Repository navigation
fix: update vulnerable audit dependencies - #8676
Conversation
Strix Security ReviewWarning This pull request has 9 commits after the last Strix review ( ✅ No open security findings. PR summary: This PR raises the minimum supported versions of Authlib (to 1.9.0+) and MessagePack (to 1.2.3+) in pyproject.toml, extends MessagePack's supply-chain cutoff date, and regenerates uv.lock so the two patched releases (Authlib 1.9.1, MessagePack 1.2.3) are pinned. It remediates the GHSA-6v38-4h7w-rj9h and GHSA-j586-36cw-2gc2 advisories, and involves no product code changes. Review summaryThe diff is limited to dependency metadata: Review 1 on this PR · Reviewed by Strix |
725b557 to
2ebf21c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 63c987f. Configure here.
2f67d7e to
2ebf21c
Compare

Summary
uv.lockwith Authlib 1.9.1 and MessagePack 1.2.3Commits
3b6d2453dupdates the security floors and lockfile for the two pip-audit findings.Verification
uv lock --checkgit diff --checkuv sync --all-groups --all-extras --no-install-projectNote
A fresh pip-audit database also reports unrelated
pymongo==4.18.2advisory GHSA-98qm-wvgf-w4cf, which is intentionally outside this focused remediation.Note
Medium Risk
Large LiteLLM jump and async streaming tool-call handling affect the LLM client path; dependency overrides change Mongo/DNS resolution on 3.11+.
Overview
This PR tightens dependency security floors across the workspace and refreshes
uv.lock, while adapting CrewAI to a newer LiteLLM line.Supply-chain / versions: Root and package
pyproject.tomlfiles raise minimums for Authlib (≥1.9.0), msgpack (≥1.2.3, with an updatedexclude-newer-packagecutoff), and LiteLLM (≥1.100.4 increwai[litellm]). pymongo is split by Python: ≥4.18.3 on 3.11+ (and dnspython ≥2.9.0 on 3.11+ via overrides), while 3.10 stays on 4.18.2–<4.18.3 for MongoDB extras. Comments document the addressed GHSA/CVE IDs.Runtime: In
llm.py, async LiteLLM streaming now tolerates varied tool-call delta shapes by typing tool calls aslist[Any]and skipping chunks without afunctionattribute before accumulating names/arguments.Tests: New
tests/conftest.pysetsLITELLM_LOCAL_MODEL_COST_MAPand, on Python 3.10, auto-skips LiteLLM import paths; several LiteLLM-focused tests are marked 3.11+ only.Reviewed by Cursor Bugbot for commit 2f67d7e. Bugbot is set up for automated code reviews on this repo. Configure here.