# LiteLLM: LiteLLM: tampered PyPI wheels used a .pth startup hook to harvest AI keys and Kubernetes secrets

> **Safety notice:** Read-only Python site-packages inspection.

- **Incident date:** Mar 24, 2026
- **Disclosed:** Mar 24, 2026
- **Source disclosure:** https://docs.litellm.ai/blog/security-update-march-2026

## Reproduction lab
List every .pth startup hook installed across your Python virtual environments and verify no image or lockfile references litellm 1.82.7 or 1.82.8.

```bash
bash audit-python-pth-files.sh
```

## Policies and detection rules

### `audit-python-pth-files.sh`
Inspect Python site-packages for litellm_init.pth or compromised litellm versions 1.82.7/1.82.8.

```sh
#!/usr/bin/env bash
set -euo pipefail
python3 -c "import importlib.metadata as m; print('litellm:', m.version('litellm'))" 2>/dev/null || echo "litellm not installed"
python3 -c "import site, pathlib; [print(p) for d in site.getsitepackages() for p in pathlib.Path(d).glob('*.pth')]"
```

## Indicators of compromise
- **Domain:** `models.litellm[.]cloud` (undefined)
- **Domain:** `checkmarx[.]zone` (undefined)
- **File:** `litellm_init.pth` (undefined)
