Security brief
Malicious LiteLLM releases turned an AI gateway dependency into a credential-theft risk
REVIEWTrendAI’s analysis identifies trojanized package versions 1.82.7 and 1.82.8 in the March 2026 supply-chain incident.
What happened
TrendAI’s analysis describes malicious code in LiteLLM versions 1.82.7 and 1.82.8 distributed through PyPI in March 2026. The payload targeted credentials and included capabilities for persistence and movement through connected infrastructure.
A compromised dependency can execute inside environments that already hold model-provider keys and cloud secrets. That does not make every model provider named in a stolen configuration the victim of an infrastructure breach.
Compare package and build records with the incident’s affected versions. If a malicious release executed, investigate the host and rotate credentials it could reach; merely upgrading the dependency does not undo stolen secrets or established persistence.
Next step
Investigate execution of malicious releases and rotate credentials accessible to affected environments.
What remains unknown
- Open question
- The sources reviewed do not establish whether your deployment was exploited.
Source references
-
TRE