Bump dependencies to resolve security advisories#161
Merged
Conversation
Resolves three flagged CVEs: - fastmcp 2.5.2 -> 3.4.0 (CVE-2026-32871, fixed in >= 3.2.0). The 3.x release renamed the server-level `description` kwarg to `instructions`, so update workflow_use/mcp/service.py accordingly. fastmcp 3.x also requires uvicorn >= 0.35, so bump uvicorn 0.34.2 -> 0.35.0. Pinned to 3.4.0 (not 3.4.4) to stay on starlette < 0.47 for fastapi 0.115.12. - authlib (transitive via browser-use): add a uv constraint of >= 1.6.9 (CVE-2026-27962, affects <= 1.6.8); resolves to 1.7.2. - shell-quote (transitive via wxt -> web-ext-run -> fx-runner): add an npm override to 1.10.0 (CVE-2026-9277, affects <= 1.8.3).
There was a problem hiding this comment.
Pull request overview
This PR updates the workflow service’s Python and extension’s Node dependency trees to remediate three reported security advisories, while keeping the existing FastAPI/Starlette pins intact.
Changes:
- Bumped
fastmcpto3.4.0anduvicornto0.35.0, with a small API adjustment in the MCP server construction. - Added a uv constraint (
authlib>=1.6.9) to force a safe transitiveauthlibversion. - Pinned a deep transitive npm dependency by adding an override for
shell-quote@1.10.0and regenerating lockfiles.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| workflows/workflow_use/mcp/service.py | Updates FastMCP(...) construction to use instructions= for fastmcp 3.x compatibility. |
| workflows/pyproject.toml | Bumps Python deps (fastmcp, uvicorn) and adds uv constraint for transitive authlib. |
| workflows/uv.lock | Regenerated uv lockfile reflecting the new pins and constraint resolution. |
| extension/package.json | Adds npm overrides to pin shell-quote to a non-vulnerable version. |
| extension/package-lock.json | Regenerated npm lockfile reflecting the override/pin. |
Files not reviewed (1)
- extension/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves three flagged dependency security advisories.
fastmcp2.5.23.4.0< 3.2.0)authlibbrowser-use)1.6.41.7.2<= 1.6.8)shell-quotewxt → web-ext-run → fx-runner)1.7.31.10.0>= 1.1.0, <= 1.8.3)Changes
workflows/pyproject.tomlfastmcp2.5.2 → 3.4.0. Fixed in>= 3.2.0. Pinned to3.4.0rather than the latest3.4.4becausefastmcp >= 3.4.2requiresstarlette >= 1.0.1, which conflicts with the pinnedfastapi==0.115.12(starlette < 0.47.0).3.4.0keepsfastapi/starletteuntouched.uvicorn0.34.2 → 0.35.0. Required byfastmcp3.x (uvicorn >= 0.35).[tool.uv]constraint-dependenciesfloor ofauthlib>=1.6.9to lift the transitiveauthlibabove the vulnerable range (resolves to1.7.2).workflows/workflow_use/mcp/service.pydescriptionkwarg from theFastMCP()constructor (2.x silently ignored it) and renamed it toinstructions. Updated the single call site accordingly. The.tool(name=, description=)decorator and.run()are unchanged.extension/package.jsonoverridesentry pinningshell-quoteto1.10.0to lift the deep transitive dependency above the vulnerable range.Lockfiles (
workflows/uv.lock,extension/package-lock.json) regenerated.Verification
uv lock+uv syncresolve cleanly;fastapi 0.115.12/starlette 0.46.2unchanged.workflow_use.mcp.serviceagainstfastmcp==3.4.0and constructed the server viaget_mcp_server()—FastMCP(name=, instructions=), the dynamic-signature.tool()registration path, and.run()all work.ruff checkandruff format --checkpass on the changed file.npm install→npm ls shell-quoteshows a singleshell-quote@1.10.0 overridden; no nested vulnerable copy.fastmcp 3.4.0,authlib 1.7.2,uvicorn 0.35.0,shell-quote 1.10.0.Summary by cubic
Resolves dependency CVEs by upgrading
fastmcp, lifting transitiveauthlib, and overriding transitiveshell-quote. Includes a small API update for thefastmcp3.x rename.Dependencies
fastmcp2.5.2 → 3.4.0 (fixes CVE-2026-32871); pinned to 3.4.0 to keepfastapi==0.115.12/starlette<0.47unchanged.uvicorn0.34.2 → 0.35.0 (required byfastmcp3.x).authlib>=1.6.9uvconstraint to lift transitive viabrowser-use(fixes CVE-2026-27962); resolves to 1.7.2.shell-quoteoverride to1.10.0inextension/package.jsonto lift transitive viawxt→web-ext-run→fx-runner(fixes CVE-2026-9277).Migration
FastMCP(name=, description=)→ useinstructions=; updated inworkflows/workflow_use/mcp/service.py. No other changes needed.Written for commit c50323c. Summary will update on new commits.