Skip to content

fix(deps): patch compatible runtime security advisories before release - #404

Merged
stackbilt-admin merged 2 commits into
mainfrom
release/issue-397-audit-readiness
Nov 2, 2026
Merged

stackbilt-admin merged 2 commits into
mainfrom
release/issue-397-audit-readiness

Conversation

@stackbilt-admin

@stackbilt-admin stackbilt-admin commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

The release prerequisite audit currently reports ten advisories. This updates six compatible dependency overrides and the pnpm lockfile, removing nine findings while preserving the public Zod 3 schema contract.

Related #397. This does not complete the requested release. The remaining high-severity Zod advisory GHSA-mrhx-c7xc-m3w5 affects versions below 4.6.6 and lists no patched Zod 3 release; #310 must resolve that separately. The audit gate remains enabled and is expected to stay red until that migration lands.

Updates: @hono/node-server 2.0.10 to 2.1.3, body-parser 2.3.0 to 2.4.0, fast-uri 4.1.5 to 4.2.3, hono 4.13.7 to 4.13.11, ip-address 10.7.1 to 10.7.4, qs 6.16.0 to 6.16.1. No version bump, release tag, publishing, deployment, or SBOM tooling changes.

Added runtime regression tests resolve dependencies through the MCP SDK graph, preventing a hoisted development copy from masking a vulnerable runtime copy. They cover encoded URI schemes and hostile objects in comma-array query serialization.

Validation (Windows Node 24.19.0, pnpm 9.15.9):

  • CI=true pnpm install --frozen-lockfile: PASS.
  • pnpm run build: PASS.
  • pnpm run typecheck: PASS.
  • pnpm exec vitest run packages/cli/src/__tests__/dependency-security.test.ts: PASS, 4 tests.
  • pnpm audit --json: 10 to 1 advisories; remaining 1 HIGH is Zod, intentionally not suppressed.
  • pnpm run test: FAIL on Windows, 1,928 passed / 5 failed before correction of one new query-serialization control expectation. After correction, the final-code rerun of the new test file plus all four baseline-failing files reports 83 passed / 4 failed. All 4 new security tests pass; the remaining failures are the same bootstrap/path and Ctrl-D terminal cases observed on main. Full final-code CI remains blocked by the intentionally unsuppressed Zod audit finding.
  • scripts/smart-commit.sh --dry-run, then scripts/smart-commit.sh: PASS, including TypeScript and ADF evidence hooks.

Draft pending independent review and resolution of the Zod release blocker. The full Windows suite is not green; no release readiness is claimed.

@stackbilt-admin
stackbilt-admin merged commit 41c32f9 into main Nov 2, 2026
6 of 7 checks passed
@stackbilt-admin
stackbilt-admin deleted the release/issue-397-audit-readiness branch November 27, 2026 23:55
stackbilt-admin added a commit that referenced this pull request Nov 28, 2026
Rename the [Unreleased] content to a [3.0.0] section with a YYYY-MM-DD
date placeholder for the release owner, add a fresh empty [Unreleased],
and add the missing entries: the Zod 4 breaking change with the
migration guide link (#310 / #413), the security pins (#404, #425), the
MCP SDK 1.32.1 -> 1.32.2 bump (b38f04a) and the fixes from #398, #399,
#400, #341, #389, #401, #402, #403, #409, #410 and #411.

Docs only; no package versions or code change.

Refs #397

Co-authored-by: Kurt Overmier <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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