Repository navigation
fix: upgrade Bun to 1.4.4 and patch server dependency CVEs - #266
Conversation
- Bun 1.3.2 -> 1.4.4 (packageManager, engines, CI). The server runs on Bun in production, and 1.4.4 ships the Brotli decoder fix for CVE-2026-111497 (oven-sh/bun#46352). 1.3.x has no backport. - expr-eval -> expr-eval-fork 3.0.3. expr-eval is unmaintained, with unpatched code execution and prototype pollution advisories (GHSA-q9v2-7m5w-4693, GHSA-jc85-fpwf-qm7x, GHSA-8gw3-rxh4-v6jx). - hono ^4.10.2 -> ^4.13.13 and axios ^1.11.0 -> ^1.20.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Summary
packageManager,engines.bun, CI). The server runs on Bun in production (bun apps/agentic-server/dist/server.js), so the.nvmrcNode 22.23.4 bump doesn't cover it. Bun bundles its own Brotli, and CVE-2026-111497 (Brotli decoder out-of-bounds write that can lead to RCE) is fixed in oven-sh/bun#46392, shipped in 1.4.4 (#46352). Bun'sfetch()auto-decompressesbrresponses from upstream APIs. There's no 1.3.x backport.mathCalculatorevaluates expressions that the LLM generates from user prompts. The fork keeps the sameParserAPI, and we don't pass an evaluation context, so the breaking changes in 3.0 don't affect us.bun audit: 175 → 132 findings (2 → 1 critical). What's left is transitive: older axios copies pinned inside the Dynamic wallet SDK (frontend only), wallet SDK deps, and dev tooling (shell-quoteviaconcurrently).Test plan
All run locally on Bun 1.4.4:
bun install,bun run type-check,bun run lintbun test: 659 pass, 0 failbun run build:server, then bootdist/server.js:/healthreturns 200mathCalculatorreturns the same results (781573210609912 / (10 ^ 18)gives0.000781573210609912), andconstructor.constructor(...)/__proto__access is rejectedfetch()still decodes Brotli responsesbun | 1.4.4 | idiomatic-version-file🤖 Generated with Claude Code
Summary by CodeRabbit