Skip to content

chore: patch vulnerable dependencies across workspace - #123

Merged
A-x6 merged 3 commits into
devfrom
fix-audit-vulns
Aug 1, 2026
Merged

A-x6 merged 3 commits into
devfrom
fix-audit-vulns

Conversation

@A-x6

@A-x6 A-x6 commented Aug 1, 2026 •

Copy link
Copy Markdown

Cuts bun audit findings from 155 vulnerabilities (3 critical, 43 high) to 51 (0 critical, 16 high). All three criticals (fast-xml-parser DOCTYPE entity-encoding bypass, seroval fromJSON() type confusion) are eliminated, along with the undici request-smuggling/CRLF set that shipped in the CLI via @actions/core / @actions/github.

Direct pins bumped: @actions/core 1.11.1 -> 3.0.1 and @actions/github 6.0.1 -> 9.1.1 (pulls patched undici ^6.23.0), @actions/artifact -> 6.2.1, hono -> 4.12.32, dompurify -> 3.4.12, diff -> 8.0.3, minimatch -> 10.2.6, wrangler -> 4.114.0, @cloudflare/vite-plugin -> 1.48.0, @hey-api/openapi-ts -> 0.99.0, @opentelemetry/* -> 2.10.0/0.221.0, astro -> 5.18.2.

Transitives that consumers pin to vulnerable versions are forced up within the same major via overrides:

"overrides": {
  "seroval": "1.6.0",
  "fast-xml-parser": "5.10.1",
  "@babel/core": "7.29.7",
  "postcss": "8.5.25",
  "react-router": "6.30.4",
  "@remix-run/router": "1.23.3"
}

@actions/github@9 is ESM-only and no longer exports ./lib/context, so the deep type import in packages/opencode/src/cli/cmd/github.handler.ts (and github/index.ts) is replaced with typeof github.context. The stale, unresolvable github/bun.lock is deleted: github/package.json uses workspace:*/catalog: specs that cannot resolve standalone, nothing installs that directory (the composite action downloads the released binary), and the lockfile only pinned the old vulnerable versions.

Residual findings (51) are all dev-tooling or need major migrations left out of scope: the docs-site astro 5 chain (astro 6 + @astrojs/cloudflare 13 migration would clear astro/sharp/ws/undici-7/h3/srvx), vite 5/esbuild dev-server advisories via storybook/electron-vite/jsx-email, and @hono/node-server via the version-patched @modelcontextprotocol/sdk.

bun typecheck passes across all 31 packages; bun install --frozen-lockfile verifies the lockfile is consistent.


View with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is enabled.

@vercel

vercel Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bolt-cli-app Ready Ready Preview Aug 1, 2026 4:07pm

@coderabbitai

coderabbitai Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@DevFlex-AI, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 27 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 88b68381-1c64-4b6a-9d3c-712fd7e4fa1e

📥 Commits

Reviewing files that changed from the base of the PR and between bbdc393 and 4534e3b.

⛔ Files ignored due to path filters (2)
  • bun.lock is excluded by !**/*.lock
  • github/bun.lock is excluded by !**/*.lock
📒 Files selected for processing (14)
  • github/index.ts
  • github/package.json
  • package.json
  • packages/console/app/package.json
  • packages/console/support/package.json
  • packages/core/package.json
  • packages/desktop/package.json
  • packages/opencode/package.json
  • packages/opencode/src/cli/cmd/github.handler.ts
  • packages/sdk/js/package.json
  • packages/sdk/js/script/build.ts
  • packages/session-ui/package.json
  • packages/ui/package.json
  • packages/web/package.json

Comment @coderabbitai help to get the list of available commands.

@deepsource-io

deepsource-io Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in bbdc393...4534e3b on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Aug 1, 2026 4:05p.m. Review ↗
Shell Aug 1, 2026 4:05p.m. Review ↗
Secrets Aug 1, 2026 4:05p.m. Review ↗
Docker Aug 1, 2026 4:05p.m. Review ↗
Python Aug 1, 2026 4:05p.m. Review ↗
CSS Aug 1, 2026 4:05p.m. Review ↗
Rust Aug 1, 2026 4:05p.m. Review ↗
Ruby Aug 1, 2026 4:05p.m. Review ↗
Swift Aug 1, 2026 4:05p.m. Review ↗
PHP Aug 1, 2026 4:05p.m. Review ↗
Lua Aug 1, 2026 4:05p.m. Review ↗
Java Aug 1, 2026 4:05p.m. Review ↗
Go Aug 1, 2026 4:05p.m. Review ↗
C & C++ Aug 1, 2026 4:05p.m. Review ↗
Ansible Aug 1, 2026 4:05p.m. Review ↗
Apex Aug 1, 2026 4:05p.m. Review ↗
Elixir Aug 1, 2026 4:05p.m. Review ↗
Groovy Aug 1, 2026 4:05p.m. Review ↗
Objective-C Aug 1, 2026 4:05p.m. Review ↗
PowerShell Aug 1, 2026 4:05p.m. Review ↗
Terraform Aug 1, 2026 4:05p.m. Review ↗
VB.NET Aug 1, 2026 4:05p.m. Review ↗
SQL Aug 1, 2026 4:05p.m. Review ↗
Scala Aug 1, 2026 4:05p.m. Review ↗
Perl Aug 1, 2026 4:05p.m. Review ↗
Kotlin Aug 1, 2026 4:05p.m. Review ↗
Helm Aug 1, 2026 4:05p.m. Review ↗
Erlang Aug 1, 2026 4:05p.m. Review ↗
Dart Aug 1, 2026 4:05p.m. Review ↗
C# Aug 1, 2026 4:05p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

A-x6 and others added 2 commits August 1, 2026 16:05
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
@A-x6
A-x6 merged commit 0a97b5c into dev Aug 1, 2026
44 checks passed

This branch was successfully deployed

1 active deployment
Preview — 4534e3bb Deployed Aug 1, 2026 by vercel[bot]
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.

1 participant