fix: bump vulnerable transitive deps#762
Conversation
Signed-off-by: Johnny Greco <jogreco@nvidia.com>
Greptile SummaryThis PR constrains two vulnerable transitive dependencies —
|
| Filename | Overview |
|---|---|
| packages/data-designer-engine/pyproject.toml | Adds starlette>=1.2.0,<2 as a direct dependency floor to force a patched version for the transitive mcp path; follows the existing pattern of security floor comments in this file. |
| pyproject.toml | Adds tornado>=6.5.7,<7 to the notebooks dependency group to enforce a patched version over the transitive JupyterLab path; consistent with the other security floor entries in the same group. |
| uv.lock | Regenerated lockfile: starlette bumped 0.52.1 → 1.3.1 and tornado bumped 6.5.5 → 6.5.7, with updated hashes and source URLs; all resolved entries are consistent with the new constraints. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[data-designer-engine] -->|direct dep| B[mcp >= 1.26.0, < 2]
A -->|security floor added| C[starlette >= 1.2.0, < 2\nresolved: 1.3.1]
B -->|transitive dep| C
D[workspace notebooks group] -->|direct dep| E[jupyterlab >= 4.6.0a5, < 5]
D -->|security floor added| F[tornado >= 6.5.7, < 7\nresolved: 6.5.7]
E -->|transitive dep| F
style C fill:#d4edda,stroke:#28a745
style F fill:#d4edda,stroke:#28a745
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A[data-designer-engine] -->|direct dep| B[mcp >= 1.26.0, < 2]
A -->|security floor added| C[starlette >= 1.2.0, < 2\nresolved: 1.3.1]
B -->|transitive dep| C
D[workspace notebooks group] -->|direct dep| E[jupyterlab >= 4.6.0a5, < 5]
D -->|security floor added| F[tornado >= 6.5.7, < 7\nresolved: 6.5.7]
E -->|transitive dep| F
style C fill:#d4edda,stroke:#28a745
style F fill:#d4edda,stroke:#28a745
Reviews (1): Last reviewed commit: "fix: bump vulnerable transitive deps" | Re-trigger Greptile
SummaryThis PR adds direct version floors for two transitive dependencies pulled in via Diff is small (3 files, +22/-16) and the manifest changes are mechanical:
No source files reference FindingsCorrectness / risk
Style / conventions
Tests / coverage
Security
VerdictLGTM pending green CI. The Starlette major-version jump is the only thing that warrants attention; everything else is mechanical and matches existing conventions. No blocking issues. |
📋 Summary
Addresses vulnerability scan findings by constraining vulnerable transitive dependencies to patched versions. The lockfile now resolves Starlette to 1.3.1 and Tornado to 6.5.7 so the affected MCP and JupyterLab dependency paths no longer pull the flagged versions.
🔗 Related Issue
N/A
🔄 Changes
starlette>=1.2.0,<2to thedata-designer-enginedependency metadata for the transitivemcppath.tornado>=6.5.7,<7to the workspacenotebooksdependency group for the transitive JupyterLab path.uv.lock, updatingstarlettefrom 0.52.1 to 1.3.1 andtornadofrom 6.5.5 to 6.5.7.🔍 Attention Areas
packages/data-designer-engine/pyproject.toml— Adds a direct Starlette security floor while preserving the existingmcp>=1.26.0,<2range.pyproject.toml— Adds a notebook-group Tornado security floor for the JupyterLab dependency path.🧪 Testing
make testpasses (not run)uv lock --checkuv run --all-packages pytest packages/data-designer-engine/tests/engine/mcp -quv run --all-packages --group notebooks python -c 'import starlette, tornado; print(f"starlette={starlette.__version__}"); print(f"tornado={tornado.version}")'✅ Checklist