Skip to content

fix: resolve dependency audit findings - #20

Open
clbotdev wants to merge 14 commits into
mainfrom
audit-fix
Open

clbotdev wants to merge 14 commits into
mainfrom
audit-fix

Conversation

@clbotdev

@clbotdev clbotdev commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Non-breaking dependency audit fixes for frontlit. main has moved from pnpm to bun, so this branch was merged with main (the old pnpm overrides and pnpm-lock.yaml are gone) and the fixes were re-applied as same-major overrides in the root package.json, with bun.lock refreshed. No major versions were bumped.

Packages updated (bun.lock)

  • next: 16.3.0 / 16.3.4 → 16.3.8 (clears the critical next/og RCE and image-optimizer advisories plus the 16.3.8 fixes)
  • @modelcontextprotocol/sdk: 1.30.0 → 1.32.1
  • brace-expansion: 1.1.18 / 2.1.4 / 5.0.9 → 1.1.21 / 2.1.7 / 5.0.12
  • fast-uri: 3.1.7 → 3.1.8
  • image-size: 2.0.2 → 2.0.3
  • ip-address: 10.7.0 → 10.7.1
  • proxy-addr: 2.0.7 → 2.0.8
  • sharp: 0.35.4 → 0.35.5
  • source-map-js: 1.2.1 → 1.2.2

bun audit: 33 advisories before, 6 after.

Left unfixed

  • vitest 3.2.7 / @vitest/mocker / tinypool 1.1.1 in @frontlit/text-editor (critical tinypool advisories): needs vitest 4 / tinypool 2, a major bump. The other workspaces are already on vitest 4.1.11.
  • braces 3.0.3 and sprintf-js 1.0.3: no patched release exists.

Note

The CodeLit platform preset (@codelitdev/platform-cli 0.3.0–0.4.1) pins next 16.3.6 and @modelcontextprotocol/sdk 1.30.0 exactly. frontlit's platform-conformance workflow does not run platform-cli doctor, so it is not affected, but the preset will need a bump if doctor is added here.

Checks run locally (bun 1.4.x, same as CI)

  • bun install --frozen-lockfile: OK
  • package builds (api-contract, text-editor, media-uploader, page-builder): OK
  • bun run test: OK (api 709 passed, web 97, sites 44, text-editor 89)
  • bun run format:check, bun run lint: OK (warnings only)
  • bun run check:drift, bun run typecheck, conformance test: OK

rajat1saxena and others added 14 commits September 30, 2026 19:47
Update @ai-sdk/azure within ^3 to pull provider-utils that depends on
patched undici 6.x, clearing undici and @fastify/busboy advisories
without major upgrades.
…ector-parser, prosemirror-view, @modelcontextprotocol/sdk and client)
Non-breaking transitive override for GHSA-g7r4-m6w7-qqqr (low).
Remaining findings need major bumps (nodemailer 10, vitest 4, tinypool 2, ts-deepmerge 8) or have no patch (braces, sprintf-js).
…ace-expansion, fast-uri, image-size, ip-address, proxy-addr, source-map-js)

Re-applied after main moved from pnpm to bun. Same-major overrides only.
Remaining findings need major bumps (vitest 4 / tinypool 2 in @frontlit/text-editor) or have no patch (braces, sprintf-js).
…ess 10.7.4, body-parser 1.20.9/2.4.0, undici 7.30.1/6.29.1, nodemailer 10.1.4, @modelcontextprotocol/server 2.3.0, hono 4.13.11, vite 7.3.7)
…er 2.x to 2.1.5, @modelcontextprotocol/node 2.1.1
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