fix: pin litellm <1.82.7 due to security vulnerability#195
Open
danielmillerp wants to merge 1 commit intomainfrom
Open
fix: pin litellm <1.82.7 due to security vulnerability#195danielmillerp wants to merge 1 commit intomainfrom
danielmillerp wants to merge 1 commit intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
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.
Summary
litellmto<1.82.7(was<2) to address a security vulnerability flagged by Rishabh Shah1.77.5, well under the cap — no functional changeTest plan
uv lockresolves successfully🤖 Generated with Claude Code
Greptile Summary
This PR pins
litellmto<1.82.7inagentex/pyproject.tomlto protect against the supply-chain compromise in versions 1.82.7 and 1.82.8, which were published with credential-stealing malware to PyPI on March 24, 2026 (both since removed). The currently resolved version (1.77.5) is unaffected and there is no functional change.Confidence Score: 5/5
Safe to merge — targeted security pin with no functional change and a clean resolved version.
The only finding is a P2 suggestion to use
!=specifiers instead of a hard upper bound, which is a future-proofing concern rather than a current defect. The resolved version (1.77.5) is unaffected by the supply-chain compromise, and both compromised versions have been removed from PyPI.No files require special attention.
Vulnerabilities
<1.82.7prevents resolving to 1.82.7 but does not explicitly exclude 1.82.8 by version specifier; however, since 1.82.8 is also removed from PyPI, uv cannot resolve to it in practice.Important Files Changed
>=1.48.2,<1.82.7to block the supply-chain-compromised versions 1.82.7/1.82.8; constraint is correct and the resolved version (1.77.5) is safe.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A["uv lock resolution"] --> B{"litellm version\navailable on PyPI?"} B -->|"1.82.7 / 1.82.8\n(removed from PyPI)"| C["❌ Cannot resolve\n(removed)"] B -->|"1.77.5\n(satisfies >=1.48.2,<1.82.7)"| D["✅ Resolves to 1.77.5\n(safe)"] D --> E["Build / Deploy"] C --> F["Resolution failure\n(protected)"] style C fill:#ffcccc style D fill:#ccffcc style F fill:#ffccccPrompt To Fix All With AI
Reviews (1): Last reviewed commit: "fix: pin litellm <1.82.7 due to security..." | Re-trigger Greptile