Skip to content

fix(deps): patch 21 Dependabot security alerts - #1443

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1791820395-dependabot-security
Open

devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
devin/1791820395-dependabot-security

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Issue for this PR

Part of #1442

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Patches 21 of the 22 open Dependabot security alerts with the smallest version bump that has the fix. All 22 alerts are on direct dependencies. The branch was rebuilt on main @ c009316.

Alert Severity GHSA Package Manifest From → to
#44 high GHSA-f897-62hf-6gxq @modelcontextprotocol/sdk packages/opencode 1.29.0 → 1.32.2
#43 high GHSA-46jr-4wx8-v453 @modelcontextprotocol/sdk packages/opencode 1.29.0 → 1.32.2
#40 high GHSA-22jm-h49p-29qw @modelcontextprotocol/sdk packages/opencode 1.29.0 → 1.32.2
#39 high GHSA-6qxp-vccf-f47h @modelcontextprotocol/sdk packages/opencode 1.29.0 → 1.32.2
#36 high GHSA-7r86-cg39-jmmj minimatch package.json 10.0.3 → 11.0.1
#12 high GHSA-7r86-cg39-jmmj minimatch packages/opencode 10.0.3 → 11.0.1
#11 high GHSA-23c5-xmqv-rm74 minimatch packages/opencode 10.0.3 → 11.0.1
#10 high GHSA-3ppc-4f35-3m26 minimatch packages/opencode 10.0.3 → 11.0.1
#51 medium GHSA-g3hv-75wg-m249 minimatch script/upstream ^10.0.0 → ^11.0.1
#50 medium GHSA-g3hv-75wg-m249 minimatch packages/opencode 10.0.3 → 11.0.1
#48 medium GHSA-g3hv-75wg-m249 minimatch packages/core 10.2.5 → 11.0.1
#46 medium GHSA-g3hv-75wg-m249 minimatch package.json 10.0.3 → 11.0.1
#49 medium GHSA-3g3m-2fjr-6pw4 glob packages/opencode 13.0.5 → 14.0.2
#47 medium GHSA-3g3m-2fjr-6pw4 glob packages/core 13.0.5 → 14.0.2
#42 medium GHSA-rvq5-wwqv-78pq @modelcontextprotocol/sdk packages/opencode 1.29.0 → 1.32.2
#41 medium GHSA-6prh-2h8m-c8cw @modelcontextprotocol/sdk packages/opencode 1.29.0 → 1.32.2
#38 medium GHSA-qqj6-54q6-cxv6 snowflake-sdk packages/drivers ^2.0.3 (2.4.3) → ~3.3.0
#29 medium GHSA-hcf7-66rw-9f5r turbo package.json 2.8.13 → 2.9.14
#28 low GHSA-3qcw-2rhx-2726 turbo package.json 2.8.13 → 2.9.14
#37 low GHSA-866g-f22w-33x8 @ai-sdk/provider-utils packages/core 4.0.23 → 4.0.33
#32 low GHSA-4x5r-pxfx-6jf8 @babel/core packages/opencode 7.28.4 → 7.29.6

Notes:

  • minimatch 11 / glob 14 are major bumps. GHSA-g3hv and GHSA-3g3m have no 10.x/13.x backport. The breaking changes (makeRe(), Minimatch#regexp, AST, debug, matchOne() removed; GlobWalker#walk() returns arrays) do not touch our usage, which is only minimatch(path, pattern, opts) in packages/core/src/util/glob.ts and script/upstream/analyze.ts, plus glob/globSync/globIterate. Our ignore patterns all start with **/, so the new rooting of /-prefixed ignore patterns does not apply. Transitive copies (@npmcli/*, cacache, etc.) stay on their own glob 13/minimatch 10.
  • @modelcontextprotocol/sdk: the bun patch was re-created for 1.32.2 (patches/@modelcontextprotocol%2Fsdk@1.32.2.patch). It adds the same callTool overloads as the 1.29.0 patch did.
  • MCP OAuth (src/mcp/auth.ts, src/mcp/oauth-provider.ts): SDK 1.32 stamps saved OAuth tokens and client registrations with issuer. It drops them, and never sends a refresh token, when the MCP server switches to a different authorization server. This is part of the advisory fixes. McpOAuthProvider now stores and returns issuer. clientInformation() now also returns client_id_issued_at/client_secret_expires_at, so the SDK's re-save after a token exchange no longer erases the client secret expiry. Credentials saved before this change have no issuer; the SDK accepts them as they are and stamps them on their next successful use.
  • @ai-sdk/provider-utils: bumped to 4.0.33 in core (with @ai-sdk/provider 3.0.8 → 3.0.12, which it needs). A root overrides entry moves the transitive 4.0.21/4.0.27 copies under other @ai-sdk/* providers too. No @ai-sdk/* provider package is bumped.
  • @babel/core: a root overrides entry also moves the @opentui/solid copy (7.28.0) to 7.29.6.
  • snowflake-sdk 3.x is a major bump of an optional driver dep. The drivers suite shows no new failures.

Left open: #33 @hey-api/openapi-ts 0.90.10 → 0.97.3 (dev-only SDK codegen). The vulnerable buildClientParams template is copied into packages/sdk/js/src/v2/gen/core/params.gen.ts, so the SDK has to be regenerated. Under 0.97.3 the post-codegen patch in packages/sdk/js/script/build.ts fails, and the @hey-api/sdk instance option has to move to operations: { strategy: "single", containerName: "OpencodeClient", methods: "instance" }. The regenerated src/v2/gen differs by about 18k lines, so this needs its own PR.

Supersedes Dependabot PRs #1791, #1743, #1703, #1571, #1277, #1185, #1104.

How did you verify your code works?

Checked on Linux x64 with bun 1.3.14. Every result was compared against main @ c009316 with the same install:

  • Typecheck: tsgo/tsc --noEmit passes in all 13 packages that have a typecheck script (packages/opencode re-run with --singleThreaded after the MCP OAuth change). Each package was run separately, because bun turbo typecheck ran out of memory on the 7 GB VM.
  • packages/core: bun test gives 1071 pass / 42 fail. main gives 1068 pass / 45 fail. All 42 failures also fail on main (cross-spawn spawner, plugin catalog, schema-staleness and similar tests).
  • packages/drivers: bun test gives 716 pass / 50 fail, the same failing set as main. These are DuckDB tests that need the native addon, which was not built here.
  • packages/opencode: ran the tests for MCP, tools, file, glob util, config, cli/mcp-*, server/httpapi-mcp*, altimate/mcp-server and skill discovery (1556 tests). Result: 1458 pass / 3 fail, the same 3 safeSpawnSync failures as main.
  • packages/opencode test/mcp/ + upstream-merge-guard: 368 pass / 0 fail. That includes 2 new tests that run the SDK's auth() against a fake authorization server. One checks that the token exchange keeps the client secret expiry and saves the issuer. The other checks that a refresh token saved for a different issuer is never sent. Both fail without the provider change.
  • script/upstream: bun test analyze.test.ts passes 29/29.
  • Built binary: bun run script/build.ts --single --skip-install built the binary. altimate --version printed the version.
    • altimate mcp list connected to a local stdio MCP server that runs the 1.32.2 SDK.
    • altimate run --yolo --pure "list the txt files" used a mock OpenAI-compatible provider. The model called the glob tool with **/*.txt and got 2 matches. A .md file in the same project was left out, as it should be. The run ended with the expected reply and exit 0.

Cost side effects

None. These are dependency version bumps only; no new model calls, queries or cloud resources.

Screenshots / recordings

N/A, no UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR
  • I checked for cost side effects (model calls, queries or cloud resources that grow with user data) and described them, or wrote "none"

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 69e0352c-88ef-4799-970e-beac624946e8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@devin-ai-integration

Copy link
Copy Markdown
Author

Weekly security run, 2026-11-02: this branch was not updated, because the Devin git proxy returns 403 for this repo. Locally, the run rebased these bumps onto current main. It also bumped @modelcontextprotocol/sdk 1.29.0 → 1.32.2 with the local bun patch re-created, which fixes alerts #39–#44. It added an @ai-sdk/provider-utils override for the transitive copies too. Typecheck, the core/drivers/MCP test suites, and a built-binary --version + run smoke all passed. Details are in #1442. It will be pushed here once the Devin GitHub app has write access again.

Written by Devin

@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1791820395-dependabot-security branch from 1a0be8d to 368db01 Compare November 9, 2026 17:07
@devin-ai-integration devin-ai-integration Bot changed the title fix(deps): patch 9 Dependabot security alerts fix(deps): patch 15 Dependabot security alerts Nov 9, 2026
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1791820395-dependabot-security branch from 368db01 to 8bbe47a Compare November 23, 2026 17:05
- @modelcontextprotocol/sdk 1.29.0 -> 1.32.2 (bun patch re-created for 1.32.2)
- minimatch 10.0.3/10.2.5 -> 11.0.1 (root, packages/opencode, packages/core, script/upstream)
- glob 13.0.5 -> 14.0.2 (root, packages/opencode, packages/core)
- snowflake-sdk ^2.0.3 -> ~3.3.0 (packages/drivers)
- turbo 2.8.13 -> 2.9.14
- @ai-sdk/provider-utils 4.0.23 -> 4.0.33 (+ override for transitive copies), @ai-sdk/provider 3.0.8 -> 3.0.12
- @babel/core 7.28.4 -> 7.29.6 (+ override)

Part of #1442

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1791820395-dependabot-security branch from 8bbe47a to 82c2277 Compare November 23, 2026 17:05
@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

2 similar comments
@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@devin-ai-integration devin-ai-integration Bot changed the title fix(deps): patch 15 Dependabot security alerts fix(deps): patch 21 Dependabot security alerts Nov 23, 2026
@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@devin-ai-integration

Copy link
Copy Markdown
Author

Rebuilt this branch on main @ c009316 for the 2026-11-23 weekly pass. It now patches 21 of 22 open alerts, including the new MCP SDK, glob and minimatch advisories; #33 (@hey-api/openapi-ts) is still open. The description has the updated alert table and verification.

Written by Devin

devin-ai-integration[bot]

This comment was marked as resolved.

… 1.32

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@github-actions

Copy link
Copy Markdown

👋 This PR was automatically closed by our quality checks.

Common reasons:

  • New GitHub account with limited contribution history
  • PR description doesn't meet our guidelines
  • Contribution appears to be AI-generated without meaningful review

If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you.

@devin-ai-integration

Copy link
Copy Markdown
Author

Weekly security run, 2026-11-30: this branch was not updated, because the Devin git proxy returns 403 for this repo again. The local rebase onto current main (2ca1603b44) was clean and bun.lock needed no changes. On the rebased branch, these all passed:

  • bun typecheck (all 13 tasks)
  • packages/opencode/test/mcp (281 pass)
  • the core and drivers suites, whose failures match main (sandbox-only DuckDB and spawn failures)
  • the built linux-x64 binary: --version, mcp list, and a run smoke that reached the model call, which the sandbox blocks

GitHub withdrew alerts #47/#49 (glob), so this PR now fixes 19 of the 20 open alerts. Only #33 (@hey-api/openapi-ts) is left. Status is in #1442.

Written by Devin

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants