Skip to content

agent-proxy: sync fastapi + cryptography pins from backend - #7173

Merged
mdmohsin7 merged 2 commits into
mainfrom
charles/agent-proxy-vuln-sync
May 5, 2026
Merged

mdmohsin7 merged 2 commits into
mainfrom
charles/agent-proxy-vuln-sync

Conversation

@mdmohsin7

Copy link
Copy Markdown
Member

First of four service-sync PRs propagating the security bumps from backend (#7126, #7127, #7146, #7149) to the sub-services that don't auto-inherit backend/requirements.txt.

What this PR does

Two atomic commits:

Package Before After Why
fastapi 0.115.0 0.121.0 matches backend's pin from #7146
cryptography unpinned 46.0.7 matches backend's pin from #7146

uvicorn[standard] is already at 0.30.6 (one patch ahead of backend's 0.30.5), left alone. Everything else (uvloop, websockets, firebase-admin, httpx, google-auth) already matches backend.

CVEs closed

CVE Severity Package Fix at
CVE-2024-47874 HIGH 7.5 starlette (transitive of fastapi) starlette 0.40 — fastapi 0.118 caps
CVE-2025-62727 HIGH 7.5 starlette (transitive of fastapi) starlette 0.49 — fastapi 0.121 caps
CVE-2026-39892 MEDIUM (CVSS 9.8) cryptography 46.0.7
CVE-2026-26007 HIGH 6.5 cryptography 46.0.5 (also covered by the 46.0.7 pin)

Test plan

End-to-end smoke test in a clean Python 3.12 venv with the mohsins-agents service account exported via GOOGLE_APPLICATION_CREDENTIALS:

  • pip install -r requirements.txt clean; pip check reports no broken dependencies
  • Resolved versions match: fastapi 0.121.0, starlette 0.49.3, cryptography 46.0.7, uvicorn 0.30.6, httpx 0.28.0
  • All main.py top-level imports resolve (firebase_admin, fastapi, AESGCM + HKDF from cryptography.hazmat, websockets, google.cloud.firestore_v1, etc.)
  • uvicorn main:app --loop uvloop boots clean: Application startup complete, zero warnings
  • GET /health returns 200 {"status":"ok"}
  • GET /openapi.json returns 200, schema is OpenAPI 3.1.0 (fastapi 0.121's output)
  • GET /v1/agent/ws (over HTTP) returns 404 — correct, it's a WebSocket-only endpoint
  • WS /v1/agent/ws without Authorization: Bearer header is rejected with HTTP 403; log shows WS rejected: missing Authorization header — auth code path executes correctly under starlette 0.49.3
  • Clean shutdown
  • Confirm post-deploy Artifact Registry rescan shows the 4 CVEs cleared on the agent-proxy image

Follow-ups in this series

  • pusher (backend/pusher/) — 57 shared packages with backend
  • diarizer (backend/diarizer/) — 57 shared packages
  • plugins (plugins/) — 110 shared packages, biggest fan-out

vad (backend/modal/) and notifications-job already auto-inherit backend/requirements.txt via -r ../requirements.txt, so they're not in this series.

mdmohsin7 added 2 commits May 5, 2026 10:02
Closes 2 CVEs in the agent-proxy service, matching the bumps already
applied to backend in #7127 + #7146:

- HIGH 7.5 CVE-2024-47874 (starlette content-length DoS, fixed in
  starlette 0.40 — fastapi 0.118 is the first to cap to that)
- HIGH 7.5 CVE-2025-62727 (starlette FileResponse path traversal,
  fixed in starlette 0.49 — fastapi 0.121 caps to that)

Pulls starlette transitively from 0.38.x → 0.49.3 (resolved by the
fastapi 0.121 cap).

Smoke test: pip install clean, uvicorn boot clean, /health returns
200, /v1/agent/ws WebSocket upgrade correctly rejects with 403 on
missing Authorization header. OpenAPI schema generates as 3.1.0.
The agent-proxy requirements.txt was leaving cryptography unpinned,
so the deployed image picked up whatever the pip resolver chose at
build time. Pin to 46.0.7 to match the version backend landed on in
#7146 — closes the same MEDIUM CVSS 9.8 finding tracked there:

- MEDIUM (CVSS 9.8) CVE-2026-39892 (fixed in cryptography 46.0.7)

Plus the earlier HIGH 6.5 CVE-2026-26007 already covered by #7127's
pin to 46.0.5+.

Smoke test: pip install clean (cryptography 46.0.7 satisfies
firebase-admin 6.5.0's pyca/cryptography>=38.0.0 requirement), AESGCM
+ HKDF imports OK (used in the agent-proxy enhanced-data-protection
encryption path).
@mdmohsin7 mdmohsin7 added p2 Priority: Important (score 14-21) Security backend Backend Task (python) labels May 5, 2026
@mdmohsin7

Copy link
Copy Markdown
Member Author

@morpheus review — Approved ✅

2-line diff, single file. Both pins match backend's verified versions from #7146:

  • fastapi==0.121.0 — pulls starlette 0.49.3 transitively, closing both HIGH CVEs
  • cryptography==46.0.7 — explicit pin (was unpinned), matches backend literal

uvicorn 0.30.6 correctly left alone (one patch ahead of backend's 0.30.5 — don't go backwards). Smoke test coverage is solid.

@greptile-apps

greptile-apps Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Bumps fastapi from 0.115.0 to 0.121.0 and pins cryptography at 46.0.7 in the agent-proxy sub-service, closing four CVEs (two starlette, two cryptography) that are already fixed in the main backend.

  • fastapi==0.121.0 transitively pulls starlette 0.49.x, resolving CVE-2024-47874 and CVE-2025-62727 in the agent-proxy image.
  • cryptography==46.0.7 adds a deterministic pin (previously unpinned) and resolves CVE-2026-39892 and CVE-2026-26007.
  • uvicorn[standard]==0.30.6 is left at its current patch-ahead version, and all other packages already matched the backend.

Confidence Score: 4/5

Safe to merge — the two-line change is a straightforward security bump with no logic changes, and the author ran a full smoke test including WebSocket auth paths.

The fastapi and cryptography pins are correct and match the backend's versions. The only gap is that starlette, the specific transitive package targeted by two of the four CVEs, is not explicitly pinned — meaning the exact resolved version is non-deterministic across future builds, and the CVE guarantee relies implicitly on fastapi's constraint rather than an explicit lock.

backend/agent-proxy/requirements.txt — consider adding an explicit starlette==0.49.1 pin to match the backend and lock the CVE fix deterministically.

Important Files Changed

Filename Overview
backend/agent-proxy/requirements.txt Pins fastapi to 0.121.0 (from 0.115.0) and adds an explicit cryptography==46.0.7 pin, closing multiple CVEs; starlette is still not explicitly pinned despite being a direct CVE-fix target.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[agent-proxy/requirements.txt] --> B[fastapi==0.121.0]
    A --> C[cryptography==46.0.7]
    B --> D[starlette ≥0.49.x\ntransitive — unpinned]
    D --> E[✅ CVE-2024-47874 fixed\nstarlette ≥0.40]
    D --> F[✅ CVE-2025-62727 fixed\nstarlette ≥0.49]
    C --> G[✅ CVE-2026-26007 fixed\ncryptography ≥46.0.5]
    C --> H[✅ CVE-2026-39892 fixed\ncryptography 46.0.7]
    D -. not pinned .-> I[⚠️ starlette version\nnon-deterministic across builds]
Loading

Reviews (1): Last reviewed commit: "Pin agent-proxy cryptography to 46.0.7" | Re-trigger Greptile

Comment on lines +1 to 2
fastapi==0.121.0
uvicorn[standard]==0.30.6

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The starlette transitive dependency is not explicitly pinned here, even though backend/requirements.txt pins it at starlette==0.49.1. Without an explicit pin, the resolved version depends entirely on whatever fastapi 0.121.0 allows — the test run happened to get 0.49.3, but future installs could drift (e.g., if starlette 0.50 ships a breaking change). Since the CVE fixes are specifically tied to starlette 0.49.x, pinning it alongside fastapi makes the security guarantee reproducible and deterministic.

Suggested change
fastapi==0.121.0
uvicorn[standard]==0.30.6
fastapi==0.121.0
starlette==0.49.1
uvicorn[standard]==0.30.6

@mdmohsin7
mdmohsin7 merged commit e0c9c2d into main May 5, 2026
3 checks passed
@mdmohsin7
mdmohsin7 deleted the charles/agent-proxy-vuln-sync branch May 5, 2026 11:36
mdmohsin7 added a commit that referenced this pull request May 5, 2026
)

Second of four service-sync PRs propagating backend's #7126 + #7127 +
#7146 + #7149 bumps to the sub-services that don't auto-inherit
`backend/requirements.txt`. Follows #7173 (agent-proxy).

## What this PR does

10 atomic commits, one per package family. 20 pins lifted to match
backend.

| # | Commit | Package(s) | Was → Now |
|---|---|---|---|
| 1 | orjson | orjson | 3.10.6 → 3.11.6 |
| 2 | python-multipart | python-multipart | 0.0.9 → 0.0.26 |
| 3 | python-dotenv | python-dotenv | 1.0.1 → 1.2.2 |
| 4 | requests | requests | ~=2.32.5 → ~=2.33.0 |
| 5 | cryptography | cryptography | 43.0.0 → 46.0.7 |
| 6 | google-cloud-firestore | google-cloud-firestore | 2.17.0 → 2.20.0
|
| 7 | fastapi+starlette | fastapi / starlette | 0.112.0 / 0.37.2 →
0.121.0 / 0.49.1 |
| 8 | pydantic+pydantic_core | pydantic / pydantic_core | 2.8.2 / 2.20.1
→ 2.11.10 / 2.33.2 |
| 9 | openai | openai | 1.104.2 → 1.109.1 |
| 10 | langchain stack | langchain / langchain-community /
langchain-core / langchain-google-genai / langchain-openai /
langchain-pinecone / langchain-text-splitters / langgraph / langsmith |
0.3.x → 1.x cascade |

## CVEs closed

Mirroring backend's PRs:

- **From #7126 (safe bumps):** HIGH 7.5 CVE-2025-67221 (orjson), HIGH
7.5 CVE-2024-53981 + CVE-2026-24486 (python-multipart)
- **From #7127 (cascades):** HIGH 7.5 CVE-2024-47874 (starlette via
fastapi), HIGH 6.5 CVE-2026-26007 (cryptography)
- **From #7146 (Python MEDIUMs + 1 HIGH):** HIGH 7.5 CVE-2025-62727
(starlette via fastapi), MEDIUM 5.3 CVE-2025-54121 (starlette), MEDIUM
(CVSS 9.8) CVE-2026-39892 (cryptography), MEDIUM 7.5 CVE-2026-40347
(python-multipart), MEDIUM 6.6 CVE-2026-28684 (python-dotenv), MEDIUM
5.5 CVE-2026-25645 (requests)
- **From #7149 (langchain 1.x cascade):** HIGH 7.5 CVE-2026-34070
(langchain-core), HIGH 0 CVE-2025-64439 (langgraph-checkpoint,
transitive of langgraph 1.x), CRITICAL 8.2 CVE-2025-68664 + HIGH
CVE-2025-65106 (langchain-core), MEDIUM 7.2 CVE-2026-28277 (langgraph),
MEDIUM 6.6 CVE-2026-27794 (langgraph-checkpoint, transitive), MEDIUM 6.5
CVE-2026-41481 (langchain-text-splitters), MEDIUM 5.3 CVE-2026-40087
(langchain-core), 2× MEDIUM CVE-2026-25528 + CVE-2026-41182 (langsmith)

## Why no shared-code changes

Pusher's Dockerfile COPYs `backend/utils/`, `backend/routers/`,
`backend/database/`, `backend/models/`. Those modules were already
migrated to the langchain 1.x import paths in #7149 (e.g.
`backend/utils/llm/persona.py` uses `from langchain_core.messages`
instead of the removed `from langchain.schema`). Greped all four
directories for any stale `langchain.schema` / `langchain.chat_models` /
`langchain.tools` / `langchain.runnables` imports — none found. No code
change needed in pusher itself.

`langgraph-checkpoint`, `langgraph-prebuilt`, `langgraph-sdk`, and
`typing_extensions` are left unpinned in pusher and resolve transitively
through `langchain-core 1.3.2` and `langgraph 1.0.10`. Verified the
resolver picks `typing_extensions==4.15.0` (matches backend's explicit
pin).

## Test plan

End-to-end smoke test in a Python 3.12 venv, with all 16 prod secrets
pulled from GSM (sourced + shredded — no values left on disk):

- [x] `pip install -r requirements.txt` clean (lc3py built locally from
the same liblc3 upstream the Dockerfile uses); `pip check` reports no
broken deps
- [x] All 21 bumped packages resolve to the expected pins;
`typing_extensions==4.15.0` auto-resolved
- [x] `langchain_core` 1.x imports verified (the full set used in shared
`utils/llm/`, `utils/retrieval/`, `utils/observability/`):
`SystemMessage` / `HumanMessage` / `AIMessage` / `ChatPromptTemplate` /
`RunnableConfig` / `tool` / `StructuredTool` / `PydanticOutputParser` /
`BaseCallbackHandler` / `LLMResult` / `LangChainTracer` /
`BaseChatModel` — all import clean
- [x] fastapi 0.121 + pydantic 2.11 + starlette 0.49 interop verified
(FastAPI app + pydantic v2 BaseModel + validation round-trip)
- [x] cryptography 46.0.7 AESGCM + HKDF round-trip works (the primitives
`pusher`'s encryption code uses)
- [x] **Full `uvicorn pusher.main:app` boot** with prod env
(PINECONE/REDIS/OPENAI/FAL/GROQ/DEEPGRAM/STRIPE/TYPESENSE/LANGCHAIN/ENCRYPTION/etc.):
- `utils/llm/clients.py` module-loads **all 35 QoS LLM clients**
(gpt-5.4-mini, gpt-4.1-mini/nano, gemini-2.5-flash-lite,
claude-sonnet-4-6, sonar-pro, openrouter) without errors under
langchain-core 1.3.2 + langchain-openai 1.1.9 + langchain-google-genai
3.2.0 + langchain-anthropic
  - BYOK QoS profile loads
- `Started server process` + `Application startup complete` — zero
errors, zero warnings
  - `GET /health` → 200 `{"status":"healthy"}`
  - `GET /metrics` → 401 (auth-required, correct)
- `GET /openapi.json` → 200, schema is OpenAPI 3.1.0 (fastapi 0.121's
output)
  - Clean shutdown
- [ ] Confirm post-deploy Artifact Registry rescan shows the targeted
CVEs cleared on the pusher GKE image

## Follow-ups in this series

- diarizer (`backend/diarizer/`) — 57 shared packages with backend
- plugins (`plugins/`) — 110 shared packages, biggest fan-out

vad (`backend/modal/`) and notifications-job already auto-inherit
`backend/requirements.txt` via `-r ../requirements.txt`.
mdmohsin7 added a commit that referenced this pull request May 5, 2026
Third of four service-sync PRs propagating backend's #7126 + #7127 +
#7146 + #7149 bumps to the sub-services that don't auto-inherit
`backend/requirements.txt`. Follows #7173 (agent-proxy) and #7177
(pusher).

## What this PR does

8 atomic commits, 10 pins lifted to match backend. Diarizer doesn't use
langchain so no major-cascade work — much smaller than pusher.

| # | Commit | Package(s) | Was → Now |
|---|---|---|---|
| 1 | aiohttp | aiohttp | 3.13.2 → 3.13.4 |
| 2 | python-multipart | python-multipart | 0.0.21 → 0.0.26 |
| 3 | requests | requests | 2.32.5 → ~=2.33.0 |
| 4 | filelock | filelock | 3.20.1 → 3.20.3 |
| 5 | mako | mako | 1.3.10 → 1.3.11 |
| 6 | pillow | pillow | 12.0.0 → 12.2.0 |
| 7 | fastapi+starlette | fastapi / starlette | 0.112.0 / 0.37.2 →
0.121.0 / 0.49.1 |
| 8 | pydantic+pydantic-core | pydantic / pydantic-core | 2.8.2 / 2.20.1
→ 2.11.10 / 2.33.2 |

Diarizer was already mostly aligned with backend after #7157 (the recent
base-image bump). The other 47 shared packages either match exactly or
are AHEAD of backend (e.g. `aiohappyeyeballs 2.6.1 > 2.5.0`, `anyio
4.12.0 > 4.4.0`, `numpy 2.4.0 > 1.26.4`, `protobuf 6.33.2 > 5.29.6`) —
those were left untouched. Never downgrade.

## CVEs closed (~14)

- **From #7126 / #7146 (aiohttp 3.13.x rollup):** 4× MEDIUM
CVE-2026-22815 / -34515 / -34516 / -34525 + 6× LOW (CVE-2026-34520 et
al.)
- **From #7127 + #7146 (fastapi/starlette):** HIGH 7.5 CVE-2024-47874,
HIGH 7.5 CVE-2025-62727, MEDIUM 5.3 CVE-2025-54121
- **From #7146 (Python MEDIUMs):** MEDIUM CVE-2025-68146 +
CVE-2026-22701 (filelock), MEDIUM 7.5 CVE-2026-41205 (mako), MEDIUM 5.3
CVE-2026-40347 (python-multipart), MEDIUM 5.5 CVE-2026-25645 (requests)
- **From #7127 (pillow cascade):** HIGH 7.5 CVE-2026-25990, HIGH 7.5
CVE-2026-40192

## Test plan

End-to-end smoke test in a Python 3.12 venv (local platform: ARM64;
diarizer's runtime target is amd64+CUDA):

- [x] `pip install` of all bumped packages clean; `pip check` reports no
broken deps
- [x] All 12 bumped packages resolve to expected pins;
`typing_extensions==4.15.0` auto-resolved
- [x] **Full `uvicorn main:app` boot** with `diarization` and
`embedding` modules stubbed (pyannote-audio's transitive
`torchcodec==0.7.0` is amd64-only — pre-existing platform pin, not
affected by these bumps):
- `Started server process` + `Application startup complete` — zero
errors, zero warnings
  - `GET /health` → 200 `{"status":"healthy"}`
- `POST /v1/diarization` with multipart file upload → 200 (exercises
`starlette 0.49.1` + `python-multipart 0.0.26` upload hot path under
`fastapi 0.121`)
  - `POST /v2/embedding` with multipart upload → 200
- `GET /openapi.json` → 200, schema is OpenAPI 3.1.0 (fastapi 0.121's
output)
  - All four endpoints registered with proper signatures
  - Clean shutdown
- [x] `pydantic 2.11.10` + `fastapi 0.121.0` + `starlette 0.49.1`
interop verified (built diarizer-shape app, instantiated `BaseModel`,
validation round-trip)
- [ ] Confirm post-deploy Artifact Registry rescan shows the targeted
CVEs cleared on the diarizer GKE image

### On `pydantic 2.11` + `torch` / `lightning` / `pyannote-audio`
interop

Can't fully exercise locally because `pyannote-audio 4.0.3` requires
`torchcodec==0.7.0` which is amd64-only (only `0.0.0.dev0` / `0.11.x`
are available on Python 3.12 + aarch64). This is a pre-existing platform
constraint, not affected by my bumps.

The combination is implicitly proven by backend's #7149
(`pydantic==2.11.10` running in prod since this morning) and
`backend/modal` (which combines `torch` + `lightning` + `pyannote-audio`
+ `pydantic 2.11` — already inherits backend's `requirements.txt` via
`-r ../requirements.txt` and is running in prod on modal today).

## Follow-ups in this series

- plugins (`plugins/`) — 110 shared packages, biggest fan-out

vad (`backend/modal/`) and notifications-job already auto-inherit
`backend/requirements.txt` via `-r ../requirements.txt`.
mdmohsin7 added a commit that referenced this pull request May 6, 2026
… deps (#7179)

Last of four service-sync PRs propagating backend's #7126 + #7127 +
#7146 + #7149 bumps to the sub-services that don't auto-inherit
`backend/requirements.txt`. Follows #7173 (agent-proxy), #7177 (pusher)
and #7178 (diarizer).

Plugins is the biggest fan-out in the series — 110 shared packages with
backend, 47 differing pins, plus a real langchain code migration
(langchain-core 1.x removed the `pydantic_v1` shim).

## What this PR does

23 atomic commits, organized to mirror backend's PR series.

### 1. Code migration (1 commit)

Forward-compatible: `plugins/_multion/router.py` and
`plugins/advanced/realtime.py` migrate from `langchain_core.pydantic_v1`
(removed in langchain-core 1.0) to `pydantic` v2 directly. Field
signatures: `min_items=0` → `min_length=0` (the v2 equivalent for List
constraints).

`_multion/router.py` is imported by `main.py` and registered as a router
→ would crash uvicorn at import time on langchain-core 1.x without this
fix. `advanced/realtime.py` is the deprecated REALTIME plugins module
that `main.py` explicitly disables, but fixed for cleanliness.

### 2. Security pin bumps (mirrors backend, 18 commits)

Same pattern as #7177 (pusher), reorganized into per-package-family
commits:

- orjson, python-multipart, python-dotenv, requests, jinja2,
marshmallow, tornado, urllib3
- cryptography (+ cffi cascade)
- aiohttp ecosystem (aiohttp + aiosignal + yarl)
- h11 + httpcore (must move together)
- h2 + hpack + hyperframe (must move together)
- protobuf + grpcio + grpcio-tools (cascade)
- fastapi + starlette + fastapi-cli (cascade)
- pydantic + pydantic-core + pydantic-settings (must move together)
- openai
- langchain stack 0.2 → 1.x (langchain, langchain-community,
langchain-core, langchain-openai, langchain-text-splitters, langsmith,
langchain-groq) — note plugins is one major behind pusher's 0.3 → 1.x
- 12 infrastructure pins (attrs, packaging, posthog, prometheus_client,
qdrant-client, redis, SQLAlchemy, tqdm, typing_extensions, uvicorn,
uvloop, httpx) batched as a single non-CVE-closure commit

### 3. Resolver-pressure fixes (4 commits)

Dead deps blocking the security bumps:

| Pkg | Dropped | Why |
|---|---|---|
| **asknews** | 0.7.36 | Hard-caps `cryptography<42.0.7` / latest
0.13.45 still caps `<46.0.7` → blocks CVE-2026-39892 fix |
| **multion** | 1.3.5 | Hard-pins `agentops<0.3.0` → blocks resolver
chain |
| **agentops** | 0.4.21 (after a brief bump from 0.2.6) | 0.2.6
hard-pinned `requests==2.31.0` → blocks requests bump |

All three were unused — verified via repo-wide `grep import multion /
from multion / import agentops / from agentops / from asknews / import
asknews` (zero hits). They've sat in `plugins/requirements.txt` since
the initial move from `plugins/example/` (Feb 2026) and were probably
installed for the deprecated REALTIME plugins. Backend doesn't have them
either, so removing also brings plugins closer to backend.

| Pkg | Bumped | Why |
|---|---|---|
| **groq** | 0.11.0 → 0.37.1 | langchain-groq 1.1.2 raised floor to
`>=0.30.0`. Plugins-specific (backend doesn't pin langchain-groq). |

## CVEs closed (~25)

- **CRITICAL 9.1** CVE-2025-43859 (h11+httpcore — HTTP request
smuggling)
- **CRITICAL 8.2** CVE-2025-68664 (langchain-core)
- **HIGH × 14**: tornado (4× CVEs), urllib3 (3), aiohttp
(CVE-2025-69223), cryptography (CVE-2026-26007), fastapi/starlette
(CVE-2024-47874, CVE-2025-62727 + GHSA-mwv6-3258-q52c — wait that's
next), python-multipart (CVE-2024-53981, CVE-2026-24486), orjson
(CVE-2025-67221), langchain-core (CVE-2026-34070), protobuf
(CVE-2026-0994)
- **MEDIUM × 12+**: jinja2 (3 sandbox-escape CVEs), aiohttp (4),
python-multipart (CVE-2026-40347), requests (CVE-2026-25645),
python-dotenv (CVE-2026-28684), marshmallow (CVE-2025-68480), h2
(CVE-2025-57804), langchain-core (CVE-2026-40087), langsmith (2
MEDIUMs), starlette (CVE-2025-54121), cryptography (CVSS 9.8
CVE-2026-39892)

## Test plan

End-to-end smoke test in a Python 3.12 venv with prod secrets pulled
from GSM (sourced + shredded — no values left on disk):

- [x] `pip install -r requirements.txt` resolves cleanly after the
dead-dep removals; `pip check` reports no broken dependencies
- [x] All 28 spot-checked target packages resolve to expected pins
(`typing_extensions==4.15.0` auto-resolved, `langchain-groq==1.1.2`
matches the new floor, etc.)
- [x] **Full `uvicorn main:app` boot** with prod env (REDIS,
OPENAI_API_KEY_PLUGINS, GROQ, NOTION OAuth, MEM0, HEY_OMI, ZAPIER,
MULTION OAuth):
- `Started server process` + `Application startup complete` — zero
errors, zero warnings
- `iq_rating.main:Database initialized` (SQLAlchemy 2.0.32 + sqlite
layer works)
  - `GET /` → 200 with the API root listing
  - `GET /docs` → 200
- `GET /openapi.json` → 200, schema is OpenAPI 3.1.0 (fastapi 0.121's
output)
- **38 routes registered** across all integrations: chatgpt, multion
(OAuth flow, not the SDK), mentor, iq-rating, notion auth, hey_omi,
zapier, subscription, conversation-feedback
  - Clean shutdown
- [x] **pydantic_v1 → v2 migration verified**: `/multion/...` paths
registered correctly (would have crashed at `_multion/router.py` import
time without the migration, since `langchain_core.pydantic_v1` doesn't
exist in 1.x)
- [x] `pydantic 2.11` + `langchain 1.x` + `ChatGroq` + `ChatOpenAI` +
`langchain-core` + `langgraph` interop verified at module-load
- [ ] Confirm post-deploy Artifact Registry rescan shows the targeted
CVEs cleared on the plugins Cloud Run image

## Series wrap

This is the last service-sync. After merge, the four sub-services that
don't auto-inherit `backend/requirements.txt` (agent-proxy, pusher,
diarizer, plugins) will all be aligned with backend's
#7126/#7127/#7146/#7149 security state. `vad` (`backend/modal/`) and
`notifications-job` (also under modal) auto-inherit and need no separate
work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend Task (python) p2 Priority: Important (score 14-21) Security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant