fix(deps): patch 9 Dependabot security alerts
DE
2d ago+70+70+01234567890123456789-64-64-01234567890123456789
Issue for this PR
Part of #1442
Type of change
- Bug fix
- New feature
- Refactor / code improvement
- Documentation
What does this PR do?
Fixes 9 of the 10 open Dependabot security alerts. Each one gets the smallest patched minor or patch version. There are no major bumps of @ai-sdk/* or other provider SDKs.
| Alert | Severity | GHSA | Package | Manifest | From → To |
|---|---|---|---|---|---|
| #10 | high | GHSA-3ppc-4f35-3m26 | minimatch | packages/opencode/package.json | 10.0.3 → 10.2.5 |
| #11 | high | GHSA-23c5-xmqv-rm74 | minimatch | packages/opencode/package.json | 10.0.3 → 10.2.5 |
| #12 | high | GHSA-7r86-cg39-jmmj | minimatch | packages/opencode/package.json | 10.0.3 → 10.2.5 |
| #36 | high | GHSA-7r86-cg39-jmmj | minimatch | package.json | 10.0.3 → 10.2.5 |
| #38 | medium | GHSA-qqj6-54q6-cxv6 | snowflake-sdk | packages/drivers/package.json | 2.4.3 → 3.3.0 (^2.0.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/package.json | 4.0.23 → 4.0.33 |
| #32 | low | GHSA-4x5r-pxfx-6jf8 | @babel/core | packages/opencode/package.json | 7.28.4 → 7.29.6 |
Notes on a few of these:
- minimatch: this moves both direct pins to 10.2.5, the version
packages/coreand every transitive consumer already use. After the changebun.lockcontains only one minimatch 10.x (10.2.5). - @babel/core: I also added a root
overridesentry,"@babel/core": "7.29.6". Without it,@opentui/solidkeeps its own exact pin of 7.28.0, which is also in the vulnerable range (<= 7.29.0). - @ai-sdk/provider-utils 4.0.33 pins
@ai-sdk/providerto exactly 3.0.12. Leavingpackages/coreon@ai-sdk/provider3.0.8 brokebun typecheck: two copies ofAPICallErrorcollide ingithub-copilot/chat/openai-compatible-chat-language-model.ts. Sopackages/core's@ai-sdk/provideralso moves 3.0.8 → 3.0.12 (patch only). Other@ai-sdk/*providers keep their own nestedprovider-utilscopies (4.0.21 / 4.0.27). Dependabot doesn't flag those, and I didn't add an override for them. - snowflake-sdk 3.x: the only breaking change in 3.0.0 is dropping official Node 18 support. 3.2.0 removed
Column.getRowValue()/getRowValueAsString(), which this repo doesn't use. I pinned~3.3.0instead of^3.3.0because 3.4.0 turns OCSP checking off by default. That change deserves its own decision.
Not fixed here, and still open in #1442:
- #33
@hey-api/openapi-ts0.90.10 → 0.97.3 (GHSA-hhx9-57xq-r5rw, a dev-only SDK codegen tool). The vulnerablebuildClientParamstemplate is copied into the generatedpackages/sdk/js/src/v2/gen/core/params.gen.ts, so the fix means regenerating the SDK. With 0.97.3,packages/sdk/js/script/build.tsfails on its post-codegenpatchOnceforServerSentEventsResult<TData, TError>, because upstream changed that typing. The@hey-api/sdkinstanceoption is also deprecated in favour ofoperations: {...}. The regeneratedsrc/v2/gendiffers by about 18k lines. That should be its own PR that updates build.ts, regenerates the SDK, and reviews the SDK surface.
This supersedes Dependabot PRs #1185 (minimatch), #1104 (turbo) and #1277 (@ai-sdk/provider-utils).
How did you verify your code works?
Linux x64, bun 1.3.14:
bun install:bun.lockregenerated and consistent;bun install --frozen-lockfilereports no changes.bun typecheck(turbo typecheck --concurrency=1): all 13 packages pass.packages/corebun test: 1060 pass / 43 fail. Basemainon the same machine: 1058 pass / 45 fail. The failures come from the environment: nonodebinary on PATH (cross-spawn tests), git/project fixtures, and sandboxed network. The one failure that appeared only on this branch (Npm.add > reifies when package cache directory exists…) passes when re-run on its own.packages/driversbun test: 363 pass / 0 fail. This includes the Snowflake driver tests.packages/opencodebun test, run pertest/directory: 17010 pass / 38 fail. The same 38 failures appear onmain(identical set; environment-related: install/project/tool/format/cli).- Release binary:
bun run script/build.ts --singlebuiltaltimate-code-linux-x64.altimate-code --version→0.0.0-devin/1791820395-dependabot-security-…altimate-code run "Reply with the single word: pong"starts a session and resolves the agent (builder) and model, then fails at the outbound LLM request with a certificate error. The cause is the sandbox's network allowlist, not this change.altimate-code check q.sql→ PASS (2 warnings);altimate-code debug skilllists the built-in skills.
- The checks the
pre-pushhook would run (bun typecheckandscript/check-tracker-leaks.ts) pass.
Screenshots / recordings
N/A, dependency-only change.
Checklist
- I have tested my changes locally
- I have not included unrelated changes in this PR
Summary by cubic
Fixes 9 of 10 open Dependabot security alerts by bumping dependencies to their smallest patched versions. Leaves the @hey-api/openapi-ts alert open because fixing it requires regenerating the SDK and updating build.ts.
minimatchmoves to 10.2.5 in both direct pins, deduplicating the lockfile to a single 10.x version.@babel/corebumps to 7.29.6 with a rootoverridesentry so@opentui/solid's exact pin is forced to the patched version.@ai-sdk/provider-utilsbumps to 4.0.33 along with@ai-sdk/providerto 3.0.12 to avoid a typecheck collision from twoAPICallErrorcopies.turbobumps to 2.9.14.snowflake-sdkbumps from^2.0.3to~3.3.0; 3.x drops Node 18 support and 3.2.0 removedColumn.getRowValue()/getRowValueAsString(), which aren't used. The~pin avoids 3.4.0, which turns OCSP checking off by default.