fix(deps): bump fastapi to 0.163.2 in uv.lock

Merged
S2
10m ago
+5-3

Why

Aikido flags fastapi 0.141.1 in uv.lock (high, Aikido group 62795375, AIKIDO-2026-463717 / GHSA-f56c-v883-vx8r). With many query, header or form parameters, FastAPI's field extraction spends quadratic CPU and can stall the event loop. 0.163.2 fixes it. Tracked in SEC-403.

Zero Wire: https://radar.cloudflare.com/zero-wire/cves/AIKIDO-2026-463717 (the advisory has no CVE id yet, so there is no CISA SSVC record).

Reachability is low. This repo is a library published as stackone-adk. fastapi only arrives as a dependency of google-adk, and nothing in stackone_adk/, tests/ or examples/ imports it. pyproject.toml does not pin fastapi, so people who install the wheel already resolve a patched fastapi. The lock only drives CI and local development.

What changed

  • uv.lock: fastapi 0.141.1 to 0.163.2 (uv lock -P fastapi==0.163.2). This is the only file changed, 5 lines added and 3 removed.
  • fastapi 0.163.2 now lists anyio>=4.1.0 and opentelemetry-api>=1.44.0 as dependencies. The lock already has both (anyio 4.15.1, opentelemetry-api 1.45.2), and both fit google-adk 2.14.1's caps (fastapi>=0.133,<1, opentelemetry-api<=1.45.2, starlette>=1.3.1,<2). No other package moved.
  • No pyproject floor, on purpose. The Codex security pass pointed out that the published wheel still lets a consumer resolve fastapi 0.141.1 alongside google-adk 2.14.1. That is true, but a fastapi>=0.163.2 floor cannot be satisfied with google-adk 1.31.1, 2.7.0 or 2.12.0 (uv pip compile reports no solution, because fastapi 0.163.2 needs opentelemetry-api>=1.44 and those google-adk versions cap it lower). The floor only resolves from google-adk 2.13.0. Adding it would quietly raise this library's supported google-adk range from >=1.31.1 to >=2.13, which is a compatibility decision for a release, not part of a lockfile fix. It is listed as a follow-up on SEC-403.

Proof

Checkmain (f6049ae)this branch
fastapi in uv.lock0.141.10.163.2
uv sync --extra dev --lockedokok on 3.11, 3.12, 3.13
ruffpasspass
mypy stackone_adkno issuesno issues on 3.11, 3.12, 3.13
pytest20 passed20 passed on 3.11, 3.12, 3.13

I also ran from google.adk.cli.fast_api import get_fast_api_app and a FastAPI TestClient request on 0.163.2. Both work.

No runtime change in the plugin's own code, so there is no demo.

Risk and rollback

Low. Only the dev and CI environment changes. To roll back, revert this commit.

What we will watch after merge

There is no deployed service to watch. After merge, Aikido should rescan the repo and drop stackone-adk-plugin from group 62795375. CI on main should stay green.

Opened by Security Autopilot (s2d2) for Guillaume Lebedel from Aikido issue 62795375, under the automatic Aikido fix approval of 2026-11-01.

šŸ¤– Generated with Claude Code

Review gates and proof

Recorded by s2d2 on 24bb2c0. Kind of change: code.

gateresult
forgenot run
security_scanran
codex_securityran
security_reviewran
code_reviewran
eng_reviewran
demonot run
local_stackran