TC-2026-0004 · PYPI · PACKAGE
[email protected]
PyPI releases 1.82.7 and 1.82.8 contained litellm_init.pth executing on every Python interpreter startup to harvest SSH keys, .env files, and cloud credentials.
Signed ledger verdict
TC-2026-0004
Known bad (exit 2)
pypi:litellm==1.82.8
IOC & scope: pypi:litellm==1.82.7, 1.82.8 (litellm_init.pth). Verified by human review and signed into the CC-BY 4.0 OSV v1.6.0 feed.
Run live in Counter Workbench
Signed in /feed.json (.sig).
Deterministic capability profile and taxonomy mapping.
Every artifact in the threat.cafe ledger is profiled across eight execution vectors and mapped to the OWASP Top 10 for Agentic Applications (ASI01-ASI10) and Agentic Skills & Tools (AST01-AST10).
8-Vector Capability X-Ray (ABOM)
-
1. Filesystem
Sensitive paths touched:
~/.ssh/id_ed25519, ~/.aws/credentials, ~/.kube/config, .env -
2. Environment
Variables harvested:
OPENAI_API_KEY, AWS_SECRET_ACCESS_KEY, GCP_SERVICE_ACCOUNT -
3. Network
Outbound egress domains:
telemetry-litellm-cdn.invalid:443 -
4. Subprocess
Process execution primitives:
site-packages/litellm_init.pth, subprocess.Popen -
5. Lifecycle
Install / startup hooks:
.pth_startup_autorun -
6. OAuth / MCP
Declared scopes:
None observed -
7. Obfuscation
Encoding / steganography:
zlib_base64_marshal -
8. Provenance
Attestation status:
stolen_pypi_token_team_pcp
Governance & detector mapping
- OWASP Agentic ASI (2026): ASI03 (Identity & Privilege Abuse), ASI04 (Agentic Supply Chain Vulnerabilities), ASI05 (Unexpected Code Execution (RCE))
- OWASP Agentic AST (2026): AST01 (Malicious MCP Servers), AST03 (Insecure Credential Handling)
- Deterministic rules matched:
RULE_03_PTH_STARTUP_PERSISTENCE, RULE_05_PROMPT_EXFIL_SHELL
Version scoping & related records
- TC-2026-0013 (pypi:litellm==1.82.7): status
known_bad— First poisoned PyPI release in the March 24, 2026 TeamPCP LiteLLM attack; drops litellm_init.pth startup crede - TC-2026-0103 (pypi:litellm==1.82.6): status
no_known_bad— Verified clean PyPI wheel of LiteLLM prior to the March 24, 2026 TeamPCP compromise. Contains zero .pth startu - TC-2026-0104 (pypi:litellm==1.82.9): status
no_known_bad— Verified clean PyPI release of LiteLLM published after PyPI token rotation and removal of litellm_init.pth.
Local CLI verification
$ threat-cafe-hook check "pypi:litellm==1.82.8" [threat.cafe] known_bad: pypi:litellm==1.82.8 (TC-2026-0004) Reason: PyPI releases 1.82.7 and 1.82.8 contained litellm_init.pth executing on every Python inter Source: https://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/ (credited to FutureSearch)
OSV v1.6.0 machine-readable record
Included in /feed.json under CC-BY 4.0 license and verified by /feed.json.sig.
{
"schema_version": "1.6.0",
"id": "TC-2026-0004",
"modified": "2026-03-24T19:45:00Z",
"published": "2026-03-24T19:45:00Z",
"summary": "PyPI releases 1.82.7 and 1.82.8 contained litellm_init.pth executing on every Python interpreter startup to harvest SSH keys, .env files, and cloud credentials.",
"affected": [
{
"package": {
"ecosystem": "pypi",
"name": "litellm"
},
"versions": [
"1.82.8"
]
}
],
"credits": [
{
"name": "FutureSearch",
"type": "FINDER"
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://futuresearch.ai/blog/litellm-pypi-supply-chain-attack/"
},
{
"type": "WEB",
"url": "https://threat.cafe/incidents/tc-2026-0004/"
}
],
"database_specific": {
"target": "pypi:litellm==1.82.8",
"kind": "package",
"verdict": "known_bad",
"ioc": "pypi:litellm==1.82.7, 1.82.8 (litellm_init.pth)",
"artifact_sha256": "070c69563ae21a6869928f41d5a5963ef0fbeabc2e0f217259b15a682f6eddbe",
"owasp_asi": [
"ASI03",
"ASI04",
"ASI05"
],
"owasp_ast": [
"AST01",
"AST03"
],
"rules_matched": [
"RULE_03_PTH_STARTUP_PERSISTENCE",
"RULE_05_PROMPT_EXFIL_SHELL"
],
"abom": {
"fs_sensitive": [
"~/.ssh/id_ed25519",
"~/.aws/credentials",
"~/.kube/config",
".env"
],
"env_harvest": [
"OPENAI_API_KEY",
"AWS_SECRET_ACCESS_KEY",
"GCP_SERVICE_ACCOUNT"
],
"net_egress": [
"telemetry-litellm-cdn.invalid:443"
],
"proc_exec": [
"site-packages/litellm_init.pth",
"subprocess.Popen"
],
"install_hooks": [
".pth_startup_autorun"
],
"oauth_scopes": [],
"obfuscation": [
"zlib_base64_marshal"
],
"provenance": "stolen_pypi_token_team_pcp"
},
"license": "CC-BY-4.0",
"record_digest": "sha256:eaed3d56edd1def83d9f77b0041a5eee8f1bdb78fde8cf6b521dda6645a5dd9b",
"release_signature_url": "https://threat.cafe/feed.json.sig"
}
}
Have additional IOCs or a maintainer remediation update for TC-2026-0004?
Maintainer disputes and version-scoping updates are reviewed by a human within our 48-hour dispute SLA.