Skip to content

fix: pin liteLLM upper bound to 1.82.6 to mitigate supply chain attack#13

Open
gn00295120 wants to merge 1 commit intogoogle:mainfrom
gn00295120:pin-litellm-supply-chain
Open

fix: pin liteLLM upper bound to 1.82.6 to mitigate supply chain attack#13
gn00295120 wants to merge 1 commit intogoogle:mainfrom
gn00295120:pin-litellm-supply-chain

Conversation

@gn00295120
Copy link

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 .pth persistence 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.

References

liteLLM versions 1.82.7 and 1.82.8 were compromised by the TeamPCP
group via a supply chain attack through Trivy. Pin the upper bound to
the last known safe version.

References:
- BerriAI/litellm#24512
- https://osv.dev/vulnerability/MAL-2026-2144
@google-cla
Copy link

google-cla bot commented Mar 25, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gn00295120
Copy link
Author

CLA done

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.

1 participant