fix(deps): bump fastapi to 0.163.2 in uv.lock
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.0andopentelemetry-api>=1.44.0as 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.2floor cannot be satisfied with google-adk 1.31.1, 2.7.0 or 2.12.0 (uv pip compilereports 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.1to>=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
| Check | main (f6049ae) | this branch |
|---|---|---|
fastapi in uv.lock | 0.141.1 | 0.163.2 |
uv sync --extra dev --locked | ok | ok on 3.11, 3.12, 3.13 |
| ruff | pass | pass |
mypy stackone_adk | no issues | no issues on 3.11, 3.12, 3.13 |
| pytest | 20 passed | 20 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.
| gate | result |
|---|---|
| forge | not run |
| security_scan | ran |
| codex_security | ran |
| security_review | ran |
| code_review | ran |
| eng_review | ran |
| demo | not run |
| local_stack | ran |