Skip to content

Commit 576c143

Browse files
gn00295120claude
andcommitted
fix: pin liteLLM upper bound to <=1.82.6 to mitigate supply chain attack
liteLLM versions 1.82.7 and 1.82.8 were compromised via a supply chain attack. Pin the upper bound across all 9 affected pyproject.toml files to the last known safe version. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c2f26a4 commit 576c143

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

demo/ui/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"pandas>=2.2.0",
1717
"google-genai>=1.9.0",
1818
"google-adk[a2a]>=1.7.0",
19-
"litellm",
19+
"litellm<=1.82.6",
2020
"a2a-sample-client-multiagent",
2121
]
2222

samples/python/agents/a2a_mcp/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies = [
2121
"numpy>=2.2.5",
2222
"pandas>=2.2.3",
2323
"pydantic>=2.11.4",
24-
"litellm",
24+
"litellm<=1.82.6",
2525
]
2626

2727
[project.scripts]

samples/python/agents/a2a_telemetry/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ dependencies = [
1313
"opentelemetry-instrumentation-requests>=0.54b1",
1414
"opentelemetry-instrumentation-starlette>=0.54b1",
1515
"opentelemetry-sdk>=1.33.1",
16-
"litellm",
16+
"litellm<=1.82.6",
1717
]

samples/python/agents/adk_cloud_run/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ dependencies = [
1313
"python-dotenv>=1.1.0",
1414
"asyncpg>=0.30.0",
1515
"google-cloud-alloydb-connector[asyncpg]>=1.9.0",
16-
"litellm>=1.40.0",
16+
"litellm>=1.40.0, <=1.82.6",
1717
]

samples/python/agents/adk_expense_reimbursement/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
"google-adk>=1.8.0",
1111
"google-genai>=1.27.0",
1212
"python-dotenv>=1.1.0",
13-
"litellm",
13+
"litellm<=1.82.6",
1414
"timestamp_ext",
1515
]
1616

samples/python/agents/airbnb_planner_multiagent/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies = [
1515
"langgraph>=0.4.5",
1616
"mcp>=1.5.0",
1717
"a2a-sdk>=0.3.0",
18-
"litellm",
18+
"litellm<=1.82.6",
1919
]
2020

2121
[tool.uv.sources]

samples/python/agents/dice_agent_grpc/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
"grpcio-tools>=1.60",
1717
"grpcio_reflection>=1.7.0",
1818
"a2a-sdk>=0.3.0",
19-
"litellm>=1.75.3",
19+
"litellm>=1.75.3, <=1.82.6",
2020
]
2121

2222
[tool.hatch.metadata]

samples/python/hosts/a2a_multiagent_host/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies = [
1010
"google-adk>=1.7.0",
1111
"mcp>=1.5.0",
1212
"a2a-sdk>=0.3.0",
13-
"litellm",
13+
"litellm<=1.82.6",
1414
"traceability_ext",
1515
]
1616

samples/python/hosts/weather_and_airbnb_planner/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ dependencies = [
1515
"langgraph>=0.4.5",
1616
"mcp>=1.5.0",
1717
"a2a-sdk>=0.3.3",
18-
"litellm"
18+
"litellm<=1.82.6"
1919
]
2020

0 commit comments

Comments
 (0)