fix: pin liteLLM <=1.82.6 to mitigate TeamPCP supply chain attack#1822
fix: pin liteLLM <=1.82.6 to mitigate TeamPCP supply chain attack#1822gn00295120 wants to merge 1 commit intoNVIDIA:developfrom
Conversation
liteLLM versions 1.82.7 and 1.82.8 were compromised by the TeamPCP group via a supply chain attack. This pins the upper bound to the last known safe version across all 3 sub-packages (adk, crewai, agno). References: - BerriAI/litellm#24512 - https://osv.dev/vulnerability/MAL-2026-2144
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughUpdates the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Pull request overview
Pins litellm to a known-safe upper bound across NeMo Agent Toolkit integration subpackages to avoid installing compromised litellm releases (1.82.7/1.82.8) implicated in a supply-chain attack.
Changes:
- Tighten
litellmversion constraint from~=1.74to>=1.74.0, <=1.82.6in three subpackages. - Ensure impacted integrations (ADK, Agno, CrewAI) will not resolve to the compromised versions.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/nvidia_nat_adk/pyproject.toml | Pins litellm to <=1.82.6 for the ADK integration package. |
| packages/nvidia_nat_agno/pyproject.toml | Pins litellm to <=1.82.6 for the Agno integration package. |
| packages/nvidia_nat_crewai/pyproject.toml | Pins litellm to <=1.82.6 for the CrewAI integration package. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Summary
liteLLM versions 1.82.7 and 1.82.8 were compromised by the TeamPCP group via a supply chain attack through Trivy. The current dependency constraint allows these malicious versions to be installed.
Impact
The compromised versions steal sensitive credentials including SSH keys, AWS/GCP/K8s credentials, CI/CD tokens, and environment variables. Version 1.82.8 installs a
.pthpersistence mechanism that executes on every Python startup — even after liteLLM is uninstalled.Fix
This PR pins the upper bound of the liteLLM dependency to
<=1.82.6, which is the last known safe version before the compromise. Once BerriAI publishes a verified clean release, this upper bound can be raised.Files changed (3 sub-packages):
packages/nvidia_nat_adk/pyproject.toml:~=1.74→>=1.74.0, <=1.82.6packages/nvidia_nat_crewai/pyproject.toml:~=1.74→>=1.74.0, <=1.82.6packages/nvidia_nat_agno/pyproject.toml:~=1.74→>=1.74.0, <=1.82.6References
Summary by CodeRabbit
litellmdependency constraints across packages to version range 1.74.0 to 1.82.6.