Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
fix(deploy): pin LLM gateway image to litellm v1.102.1 (#1428)
Beenu Arorab6fcc11f209c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c04d5ffdf..afe9234e8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -37,6 +37,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0stored. `AISOC_SSRF_ALLOW_PRIVATE=1` re-admits on-prem SIEMs on privateranges; the cloud-metadata blocklist holds regardless.+### Fixed++- The LLM gateway image is pinned to `ghcr.io/berriai/litellm:v1.102.1` in both+ the root compose file and the Helm chart. Upstream deleted the floating+ `main-stable` tag those files referenced, so every cold-cache `docker compose+ up` and fresh Helm install failed with `manifest unknown`; v1.102.1 is the+ version `main-stable` served when this stack was measured against it.+## [19.0.0] - 2026-10-12### BREAKINGdiff --git a/docker-compose.yml b/docker-compose.ymlindex e06491675..0d179eb3b 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -902,7 +902,15 @@ services:# It is also the only party that can say what a call cost — the real# figure comes off its response headers — so leaving it out of CORE left# the default install's cost dashboard permanently unmeasurable.- image: ghcr.io/berriai/litellm:main-stable+ #+ # Pinned to the exact version this stack was measured against. The tag+ # here was `main-stable` until upstream deleted it (every pull then failed+ # with `manifest unknown`, which is how the nightly cold-cache smoke+ # caught it); v1.102.1 is the version `main-stable` served at the time of+ # the measurements recorded in docs/decisions/0006-llm-gateway-in-core.md+ # and the agents test fixtures. Keep this and the Helm chart's+ # `llmGateway.image.tag` in lockstep when bumping.+ image: ghcr.io/berriai/litellm:v1.102.1container_name: aisoc-litellmcommand: ["--config", "/etc/litellm/config.yaml", "--port", "4000"]volumes:diff --git a/docs/decisions/0006-llm-gateway-in-core.md b/docs/decisions/0006-llm-gateway-in-core.mdindex 3ee7f8cde..3bdd85f3d 100644--- a/docs/decisions/0006-llm-gateway-in-core.md+++ b/docs/decisions/0006-llm-gateway-in-core.md@@ -34,7 +34,7 @@ numbers matter to the decision:| | Measured ||---|---|-| `ghcr.io/berriai/litellm:main-stable` image | **1.67 GB** |+| `ghcr.io/berriai/litellm:v1.102.1` image (measured as `main-stable`, which served this version before upstream deleted the tag) | **1.67 GB** || Idle resident memory | **451 MiB** || For comparison — `aisoc-core-api` / `aisoc-agents` images | 1.31 GB / 1.69 GB || CORE service count | 10 → **11** |diff --git a/infra/helm/aisoc/Chart.yaml b/infra/helm/aisoc/Chart.yamlindex 56393cf0c..e6dcc7798 100644--- a/infra/helm/aisoc/Chart.yaml+++ b/infra/helm/aisoc/Chart.yaml@@ -25,7 +25,7 @@ type: application# the chart refuses grants it used to accept (see the v14.0.0 BREAKING# section), and the chart's major is the only coordinate a consumer pulling# `oci://ghcr.io/beenuar/charts/aisoc` sees before they install it.-version: 7.8.0+version: 7.8.1# Used as the image tag wherever a `tag:` in values.yaml is left empty, so# it has to be a tag the registry actually holds — it read "5.2.0", which# exists for no image, so every pod of a default install would have gone todiff --git a/infra/helm/aisoc/values.yaml b/infra/helm/aisoc/values.yamlindex bcf8a4071..ce4928e70 100644--- a/infra/helm/aisoc/values.yaml+++ b/infra/helm/aisoc/values.yaml@@ -649,10 +649,14 @@ backup:llmGateway:enabled: trueimage:- # Pinned, not floating. `main-stable` moves, and a gateway that- # changes under a running deployment changes which models resolve.+ # Pinned, not floating. This read `main-stable` — a moving tag, and a+ # gateway that changes under a running deployment changes which models+ # resolve — until upstream deleted that tag outright and every fresh+ # install failed with `manifest unknown`. v1.102.1 is the version+ # `main-stable` served when this stack was measured against it. Keep in+ # lockstep with the root docker-compose.yml litellm pin.repository: ghcr.io/berriai/litellm- tag: main-stable+ tag: v1.102.1pullPolicy: IfNotPresentreplicaCount: 1env:diff --git a/infra/litellm/config.yaml b/infra/litellm/config.yamlindex 17c623c05..5a875ec8c 100644--- a/infra/litellm/config.yaml+++ b/infra/litellm/config.yaml@@ -175,7 +175,8 @@ litellm_settings:# every call then times out while the Settings panel still reports the# provider Live (issue #1241). The default is unchanged — the knob is new.#- # Measured against `ghcr.io/berriai/litellm:main-stable`, because two+ # Measured against `ghcr.io/berriai/litellm:v1.102.1` (then served by the+ # since-deleted `main-stable` tag), because two# plausible-looking alternatives do not work:## * LiteLLM's own `REQUEST_TIMEOUT` environment variable is read anddiff --git a/services/agents/tests/test_cost_provenance.py b/services/agents/tests/test_cost_provenance.pyindex ca48da59c..f03f3cbbe 100644--- a/services/agents/tests/test_cost_provenance.py+++ b/services/agents/tests/test_cost_provenance.py@@ -11,7 +11,8 @@ number reached the cost dashboard, the funnel, the per-run ledger and thebudget circuit breaker.The header fixtures below are not invented. They are the literal header sets-returned by ``ghcr.io/berriai/litellm:main-stable`` (1.102.1) driving a local+returned by ``ghcr.io/berriai/litellm:v1.102.1`` (then served by the+since-deleted ``main-stable`` tag) driving a local``ollama/qwen2:1.5b`` and a hosted ``openai/gpt-4o-mini`` from the same aliasconfig — including the fact that the local success response carries``x-litellm-response-cost-original`` but *not* the plaindiff --git a/services/agents/tests/test_litellm_config.py b/services/agents/tests/test_litellm_config.pyindex 53b638fba..a0dd0ba0f 100644--- a/services/agents/tests/test_litellm_config.py+++ b/services/agents/tests/test_litellm_config.py@@ -117,7 +117,7 @@ def test_compose_supplies_a_default_for_the_timeout_variable():LiteLLM resolves ``os.environ/...`` with ``get_secret``, which returns``None`` for an unset variable and assigns that straight onto``litellm.request_timeout``. Measured against- ``ghcr.io/berriai/litellm:main-stable``, a gateway in that state answers+ ``ghcr.io/berriai/litellm:v1.102.1``, a gateway in that state answers200 on ``/health/liveliness`` and fails *every* completion with``float() argument must be a string or a real number, not 'NoneType'`` —a healthy-looking gateway serving nothing, which is the shape of the defect