Skip to content

fix: clear the high-severity UI and Echo advisories - #375

Merged
vishr merged 2 commits into
mainfrom
fix/ui-audit-advisories
Oct 25, 2026
Merged

vishr merged 2 commits into
mainfrom
fix/ui-audit-advisories

Conversation

@vishr

@vishr vishr commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

What changed

bun audit reported two high advisories in ui/host, which failed just check and the pre-push hook on main.

  • happy-dom 20.14.5 → 21.0.4 (GHSA-834v-8h66-3h79 affects up to 21.0.3, so chore(deps): bump happy-dom from 20.14.5 to 21.0.3 in /ui/host #351's 21.0.3 is not enough).
  • zod 4.6.5 → 4.6.6 (GHSA-mrhx-c7xc-m3w5). The embedded UI (internal/ui/dist, internal/mcp/apps) and THIRD_PARTY_NOTICES are rebuilt for it.
  • The zod advisory remains in the zod 3.25.76 copy that @ag-ui/client and @ag-ui/proto require (^3.25.76, also in AG-UI 1.0.3), and zod 3 has no patched release. In the browser it parses events from Fanout's own authenticated /api/agent/runs, so the worst case is the user's own tab running out of memory. ui-audit ignores the advisory with that rationale in the Justfile, to be dropped when AG-UI moves to zod 4.6.6 or later.
  • Echo v5.4.0 → v5.4.2 for GHSA-cxf3-9h37-7rr8 (critical) and GHSA-9969-6676-49h5 (high), both fixed in v5.4.1, which the runtime image scan flagged. Only Echo is taken from chore(deps): bump the go group with 3 updates #373, which also moves the DuckDB driver and needs its own engine verification.

Verification

  • just check: all checks passed, including ui-audit ("No vulnerabilities found", one ignored), ui-check, notices-check, Go and UI tests, and the site build.
  • just test-race — not run; no Go code changed.
  • No credentials, private telemetry, host details, or enterprise-only source are included

Supersedes #351.

bun audit reported two high advisories, which failed `just check` and
blocked every push. Upgrade happy-dom to 21.0.4 (GHSA-834v-8h66-3h79
affects up to 21.0.3) and zod 4 to 4.6.6 (GHSA-mrhx-c7xc-m3w5), and
rebuild the embedded UI and THIRD_PARTY_NOTICES for the new zod.

The zod advisory remains in the zod 3 copy that @ag-ui/client and
@ag-ui/proto require, and zod 3 has no patched release. In the browser
it parses events from Fanout's own authenticated /api/agent/runs, so the
worst case is the user's own tab running out of memory. ui-audit ignores
it with that rationale until AG-UI moves to zod 4.6.6 or later.
The runtime image scan fails on Echo v5.4.0: GHSA-cxf3-9h37-7rr8 (critical, rejected WebSocket upgrades can bypass Echo) and GHSA-9969-6676-49h5 (high, the WebSocket proxy can retain connections). Both are fixed in v5.4.1; take the latest patch release, v5.4.2, and regenerate THIRD_PARTY_NOTICES.
@vishr vishr changed the title fix(ui): clear the high-severity audit advisories fix: clear the high-severity UI and Echo advisories Oct 25, 2026
@vishr
vishr merged commit dae0b25 into main Oct 25, 2026
17 checks passed
@vishr
vishr deleted the fix/ui-audit-advisories branch October 25, 2026 23:42
vishr added a commit that referenced this pull request Oct 26, 2026
Take the SQLite driver update from #373 (with modernc.org/libc v1.79.0) and regenerate THIRD_PARTY_NOTICES. Echo is already on v5.4.2 from #375. The duckdb-go v2.20000.0 update in #373 is left out: it moves the native bindings to go.duckdb.org/libduckdb and references duckdb_register_static_extensions, which the pinned DuckDB v2.0.0 static archive does not export, so every DuckDB build fails to link.
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