Skip to content

fix(security): close open Dependabot vulnerability alerts - #1055

Open
santoshkumarradha wants to merge 3 commits into
mainfrom
santosh/security-deps-bump-0858
Open

santoshkumarradha wants to merge 3 commits into
mainfrom
santosh/security-deps-bump-0858

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Sep 13, 2026

Copy link
Copy Markdown
Member

Summary

Single PR that upgrades the packages behind the selected open Dependabot alerts so they can auto-close once merged.

@AbirAbbas — please review and merge once CI is green.

Critical

Alerts Package Fix
#459, #454, #455 next (rag evaluation UI) 15.5.2215.5.25 (Windows RCE + AVIF Image Optimization RCE)
#456 sharp (rag evaluation UI) 0.35.30.35.4 (libheif GHSA-g89c-p67h-r497 / GHSA-2jg2-4ch7-h545)

High

Alerts Package Fix
#443, #446, #449, #453 js-yaml (web client, desktop, mastra-bench) 4.3.14.3.2 (empty merge-source CPU DoS)
#422#425, #431#432, #434#435 fast-uri (desktop, mastra-bench) 3.1.53.1.7 (host confusion / SSRF)
#439 google.golang.org/grpc (control-plane) v1.83.1v1.83.2 (xDS missing :authority/Host DoS)
#415 browserslist (web client) 4.28.9 (normalizeStats prototype write)

Moderate

Alerts Package Fix
#440 baseline-browser-mapping (web client) 2.11.23 (invalid input process termination)
#452, #450, #451 hono (mastra-bench) 4.12.344.13.7 (toSSG() traversal, fragment query parse, unbounded parseBody())
#427, #436 qs (sdk/typescript) 6.16.0 (arrayLimit bypass + isBuffer DoS)
#441, #442, #444, #445, #447, #448, #457, #458 vitest / @vitest/mocker (desktop, web client, sdk/typescript) 4.1.11 (redirect mock path traversal)
#430 @humanfs/node (web client pnpm) 0.16.70.16.8 (symlink recursive copy)

Low

Alerts Package Fix
#438 @ai-sdk/provider-utils (mastra-bench) 4.0.51 including v5/v6 aliases (resource consumption)
#414 postcss-selector-parser (web client pnpm) 6.1.26.1.4 (AST recursion DoS)
#215 esbuild (web client) already 0.28.1 (patched floor for Windows servedir file read)

Overrides were bumped in each affected package.json, then lockfiles were regenerated with full npm install / pnpm install --lockfile-only (verified npm ci locally for web client + desktop). go get google.golang.org/grpc@v1.83.2 && go mod tidy refreshed related golang.org/x/* indirects required by grpc.

Local verification

  • desktop: vitest 668/668 passed on 4.1.11; npm ci OK
  • sdk/typescript: vitest 970/970 passed on 4.1.11; npm ci OK
  • control-plane web client: npm ci OK after lockfile regeneration
  • control-plane: go build ./... OK; go test ./internal/config/... OK
  • rag evaluation UI + mastra-bench: npm ci OK; mastra npm audit clean after provider-utils bump

Type of change

  • Bug fix
  • CI / tooling
Open in Web Open in Cursor 

Bump vulnerable dependencies across the monorepo to patched releases:

- next 15.5.25 + sharp 0.35.4 (rag evaluation UI RCE / libheif)
- js-yaml 4.3.2 (empty merge-source CPU DoS)
- fast-uri 3.1.7 (host confusion / SSRF)
- google.golang.org/grpc v1.83.2 (xDS authority DoS)
- browserslist 4.28.9 + baseline-browser-mapping 2.11.23
- hono 4.13.7 (toSSG path traversal)
- qs 6.16.0 (arrayLimit / isBuffer DoS)
- vitest / @vitest/mocker 4.1.11 (redirect mock path traversal)

Regenerated affected npm/pnpm lockfiles and go.sum.

Co-authored-by: Santosh kumar <santoshkumarradha@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Performance

SDK Memory Δ Latency Δ Tests Status
TS 350 B - 1.98 µs -1%

✓ No regressions detected

Full npm install (not package-lock-only) so control-plane web client
and desktop locks include all transitive deps required by npm ci.

Co-authored-by: Santosh kumar <santoshkumarradha@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage gate

Thresholds from .coverage-gate.toml: per-surface ≥ 84%, aggregate ≥ 85%, max per-surface regression ≤ 1.0 pp, max aggregate regression ≤ 0.50 pp.

Surface Current Baseline Δ
control-plane 87.80% 87.40% ↑ +0.40 pp 🟡
sdk-go 93.10% 92.00% ↑ +1.10 pp 🟢
sdk-python 94.72% 93.73% ↑ +0.99 pp 🟢
sdk-typescript 91.72% 90.42% ↑ +1.30 pp 🟢
web-ui 84.77% 84.79% ↓ -0.02 pp 🟡
aggregate 85.89% 85.75% ↑ +0.14 pp 🟡

✅ Gate passed

No surface regressed past the allowed threshold and the aggregate stayed above the floor.

@github-actions

Copy link
Copy Markdown
Contributor

📐 Patch coverage gate

Threshold: 80% on lines this PR touches vs origin/main (from .coverage-gate.toml:thresholds.min_patch).

Surface Touched lines Patch coverage Status
control-plane 0 ➖ no changes
sdk-go 0 ➖ no changes
sdk-python 0 ➖ no changes
sdk-typescript 0 ➖ no changes
web-ui 0 ➖ no changes

✅ Patch gate passed

Every surface whose lines were touched by this PR has patch coverage at or above the threshold.

@cursor

cursor Bot commented Sep 13, 2026

Copy link
Copy Markdown

@AbirAbbas CI is green on this PR (40/40). Please review and merge when you have a moment.

Covers the selected Dependabot alerts (next/sharp RCE, js-yaml, fast-uri, grpc, browserslist, baseline-browser-mapping, hono, qs, vitest). Local + CI verified.

@santoshkumarradha
santoshkumarradha marked this pull request as ready for review September 13, 2026 20:20
@santoshkumarradha
santoshkumarradha requested review from a team and AbirAbbas as code owners September 13, 2026 20:20
- @humanfs/node 0.16.8 (pnpm lock still had 0.16.7 symlink copy)
- postcss-selector-parser 6.1.4 (pnpm lock still had 6.1.2 AST DoS)
- @ai-sdk/provider-utils 4.0.51 including v5/v6 aliases (resource consumption)

Vitest 4.1.11, hono 4.13.7, and esbuild 0.28.1 were already patched
on this branch for the related alerts.

Co-authored-by: Santosh kumar <santoshkumarradha@users.noreply.github.com>
@cursor

cursor Bot commented Sep 13, 2026

Copy link
Copy Markdown

@AbirAbbas added the remaining selected alerts to this same PR (vitest/hono were already covered; new: @humanfs/node 0.16.8, postcss-selector-parser 6.1.4, @ai-sdk/provider-utils 4.0.51). esbuild was already at the patched 0.28.1.

Please re-review after CI goes green on de12e486.

@cursor

cursor Bot commented Sep 13, 2026

Copy link
Copy Markdown

@AbirAbbas CI is green again on de12e486 (40/40). Ready to review and merge.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants