Commit 772e4e3
committed
fix(deps): bump langchain 1.3.9 / deepagents 0.6.10 to patch GHSA-gr75-jv2w-4656
Resolves the medium-severity LangChain path-confinement advisory (flagged by Aikido +
pip-audit on PR #230). The patched langchain 1.3.9 requires deepagents 0.6.10, whose
langgraph-sdk caps websockets <16 — so relax the CLI's `websockets>=16` floor (a
dependabot artifact, not a real requirement) to `>=14`; the resolver now picks 15.0.1.
Safe for our usage either way:
- websockets: the realtime STT/TTS code uses websockets.sync/asyncio.client (stable
since 13.x) and the assemblyai SDK only needs >=11; the full suite passes on 15.0.1.
- the advisory's affected components (langchain file-search middleware / config loaders /
path-prefix checks) aren't on our path: we use deepagents' LocalShellBackend with
virtual_mode=True, which confines file/shell tools to the working directory.
Full local suite (3261 tests) + ruff + mypy + lock-check pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mqx2vYy9FS5Lxpf3ekBGsr1 parent c2cb3bb commit 772e4e3
2 files changed
Lines changed: 49 additions & 57 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | | - | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
0 commit comments