Repository navigation
fix(deps): patch 21 Dependabot security alerts - #1443
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
|
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 |
1a0be8d to
368db01
Compare
368db01 to
8bbe47a
Compare
- @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>
8bbe47a to
82c2277
Compare
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
2 similar comments
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
|
👋 This PR was automatically closed by our quality checks. Common reasons:
If you believe this was a mistake, please open an issue explaining your intended contribution and a maintainer will help you. |
There was a problem hiding this comment.
Devin Review found 2 potential issues.
2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
| "@gitlab/opencode-gitlab-auth": "1.3.3", | ||
| "@hono/standard-validator": "catalog:", | ||
| "@modelcontextprotocol/sdk": "1.29.0", | ||
| "@modelcontextprotocol/sdk": "1.32.2", |
There was a problem hiding this comment.
🟡 Lost MCP OAuth client expiry
After a successful OAuth login, authInternal resaves the dynamic client registration without its expiry. McpOAuthProvider omits the expiry when reading the registration and overwrites it when saving. Later logins can reuse an expired client secret.
Learn more
A remote MCP server can register Altimate as an OAuth client and give its client secret an expiry time. saveClientInformation saves that time, and clientInformation rejects expired registrations but returns only the ID and secret for valid ones. When completeAuth finishes the browser login, SDK 1.32.2 calls bindClientInformation after the token exchange to stamp the registration with its issuer. Unlike 1.29.0, it calls saveClientInformation again with the object returned by the getter. updateClientInfo replaces the whole entry, so this second save removes the expiry as well as the issuance timestamp. On a later login after the secret expires, the expiry check no longer discards the stale registration before contacting the authorization server.
Example: A server dynamically registers Altimate with a secret that expires Friday. After the user signs in on Thursday, the stored registration no longer says when the secret expires. When Altimate needs to authenticate on Saturday, it presents the stale client credentials instead of registering again.
Recommended fix: Round-trip the complete saved registration metadata, including client_secret_expires_at and client_id_issued_at, through clientInformation and saveClientInformation. Add a regression test that saves a timed registration, completes the SDK token exchange, and verifies that the same registration is rejected locally once its secret expires.
Was this helpful? React with 👍 or 👎 to provide feedback.
| "@gitlab/opencode-gitlab-auth": "1.3.3", | ||
| "@hono/standard-validator": "catalog:", | ||
| "@modelcontextprotocol/sdk": "1.29.0", | ||
| "@modelcontextprotocol/sdk": "1.32.2", |
There was a problem hiding this comment.
🟨 Missing MCP OAuth issuer binding
When a remote MCP endpoint changes authorization servers, McpOAuthProvider returns the old refresh token without its issuer. The SDK treats it as a legacy token and can send it to the newly advertised authorization server.
Was this helpful? React with 👍 or 👎 to provide feedback.
Issue for this PR
Part of #1442
Type of change
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.Notes:
makeRe(),Minimatch#regexp,AST,debug,matchOne()removed;GlobWalker#walk()returns arrays) do not touch our usage, which is onlyminimatch(path, pattern, opts)inpackages/core/src/util/glob.tsandscript/upstream/analyze.ts, plusglob/globSync/globIterate. Ourignorepatterns 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.patches/@modelcontextprotocol%2Fsdk@1.32.2.patch). It adds the samecallTooloverloads as the 1.29.0 patch did.@ai-sdk/provider3.0.8 → 3.0.12, which it needs). A rootoverridesentry moves the transitive 4.0.21/4.0.27 copies under other@ai-sdk/*providers too. No@ai-sdk/*provider package is bumped.overridesentry also moves the@opentui/solidcopy (7.28.0) to 7.29.6.Left open: #33
@hey-api/openapi-ts0.90.10 → 0.97.3 (dev-only SDK codegen). The vulnerablebuildClientParamstemplate is copied intopackages/sdk/js/src/v2/gen/core/params.gen.ts, so the SDK has to be regenerated. Under 0.97.3 the post-codegen patch inpackages/sdk/js/script/build.tsfails, and the@hey-api/sdkinstanceoption has to move tooperations: { strategy: "single", containerName: "OpencodeClient", methods: "instance" }. The regeneratedsrc/v2/gendiffers 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:tsgo/tsc --noEmitpasses in all 13 packages that have a typecheck script. Each package was run separately, becausebun turbo typecheckran out of memory on the 7 GB VM.bun testgives 1071 pass / 42 fail.maingives 1068 pass / 45 fail. All 42 failures also fail onmain(cross-spawn spawner, plugin catalog, schema-staleness and similar tests).bun testgives 716 pass / 50 fail, the same failing set asmain. These are DuckDB tests that need the native addon, which was not built here.cli/mcp-*,server/httpapi-mcp*,altimate/mcp-serverand skill discovery (1556 tests). Result: 1458 pass / 3 fail, the same 3safeSpawnSyncfailures asmain.bun test analyze.test.tspasses 29/29.bun run script/build.ts --single --skip-installbuilt the binary.altimate --versionprinted the version.altimate mcp listconnected 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 theglobtool with**/*.txtand got 2 matches. A.mdfile 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