Skip to content

fix(security): require Go 1.27.3 and patched vite in the TypeScript SDK - #2466

Merged
rdimitrov merged 2 commits into
mainfrom
claude/friendly-allen-8d035e
Oct 21, 2026
Merged

rdimitrov merged 2 commits into
mainfrom
claude/friendly-allen-8d035e

Conversation

@rdimitrov

@rdimitrov rdimitrov commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Three vulnerability gates fail on main and on every PR since advisories were published on 2026-10-21. This PR fixes all three.

  • Vulnerabilities (govulncheck): GO-2026-6809 (crypto/x509 distrusts compromised intermediate certificates) is reachable from the root module through executioncontroller.SecurityManager.authorize → x509.Certificate.Verify. Go 1.27.3 fixes it. This PR raises the go directive in every module and in go.work, re-pins the golang builder images to 1.27.3 by digest, and updates the documented toolchain floor (Taskfile, user docs, floor test). It follows the same file set as fix(security): update Go and x/net vulnerability floors #2221. No allowlist entry is needed.
  • TypeScript SDK (task sdk:audit): vitest resolved vite 8.2.2, which is affected by GHSA-587h-7wmj-h5pm (high, launch-editor fs.existsSync() bypass on Windows) and five related vite advisories, all fixed in 8.2.4. This PR adds an override for vite@>=8.2.0 <8.2.4 in sdk/typescript/pnpm-workspace.yaml next to the existing source-map-js override. The lockfile now resolves vite 8.3.4.
  • Mecatl Studio (task studio:audit): hono GHSA-5r4p-p66f-jhc7 (serveStatic double-decodes the path, so static-path middleware can be bypassed) is fixed in 4.13.11. This PR bumps apps/server hono from 4.13.9 to 4.13.13, the version Renovate chore(deps): update studio #2246 proposes. I bumped it here because chore(deps): update studio #2246 is red on unrelated checks, and the gate is required on every PR. Once this lands, chore(deps): update studio #2246 rebases with no hono change left.

Local verification

  • task vuln: PASS for all eight modules.
  • task sdk:audit: only the existing, already-ignored sprintf-js advisory remains. The SDK vitest suite passes (390 tests).
  • pnpm audit --prod in apps/: no known vulnerabilities. Studio server tests pass (255).
  • task docs: passes.
  • The focused Go floor tests (internal/adapter) and the module publication check pass.
  • bash .github/scripts/microvm-ci-release_test.sh fails on darwin-arm64 with a release-defaults mismatch, and fails the same way on unmodified main, so this change didn't cause it.
  • The local task lint / task test run was interrupted, so CI is the full-suite evidence for this PR.

🤖 Generated with Claude Code

GO-2026-6809 (crypto/x509 distrusts compromised intermediates) is reachable
from the root module through executioncontroller's certificate verification
and is fixed in Go 1.27.3. Raise the go directive in every module and
go.work, the golang builder images (re-pinned by digest), and the
documented toolchain floor.

The TypeScript SDK resolved vite 8.2.2 through vitest, which is affected by
GHSA-587h-7wmj-h5pm (high, bundled launch-editor) and five related vite
advisories, all fixed in 8.2.4. Override the vulnerable range in
pnpm-workspace.yaml next to the existing source-map-js override.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GHSA-5r4p-p66f-jhc7: hono serveStatic decodes the request path twice, so
middleware on static paths can be bypassed. Fixed in 4.13.11; 4.13.13
matches the version Renovate proposes, keeping that PR's rebase trivial.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rdimitrov
rdimitrov merged commit 4858699 into main Oct 21, 2026
47 checks passed
@rdimitrov
rdimitrov deleted the claude/friendly-allen-8d035e branch October 21, 2026 21:12
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 23, 2026
2 tasks
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