Security Advisory : LiteLLM Supply Chain Attack
Summary
A supply chain attack targeting the Python library LiteLLM versions 1.82.7 and 1.82.8 allows attackers to inject malicious code that automatically executes during installation or runtime.
Affected Products
- litellm==1.82.7
- litellm==1.82.8
Technical Details
The injected malicious code decodes hidden instructions and executes them to steal sensitive data such as API keys, configuration files, and system credentials. LiteLLM is widely used as a gateway to AI services and is frequently integrated into CI/CD pipelines.
Impact
Attackers can gain access to internal systems, control automation processes, steal company data, and potentially take over infrastructure.
Mitigation
- Immediately remove the affected packages from all environments and ensure they are no longer used, including within CI/CD pipelines.
- Update LiteLLM to the latest version that has been confirmed safe.
- Perform a comprehensive credential rotation, including API keys, cloud credentials, and SSH keys, to prevent potential unauthorized access exploitation.
References
- Security Advisory : LiteLLM Supply Chain Attack
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.