Skip to content

Patch Hono and container vulnerabilities and harden markup conversion - #191

Merged
jmgasper merged 1 commit into
developfrom
fix/security-findings-2026-11-15
Nov 15, 2026
Merged

jmgasper merged 1 commit into
developfrom
fix/security-findings-2026-11-15

Conversation

@jmgasper

Copy link
Copy Markdown
Contributor

The deployed image and both dependency lockfiles contain vulnerable Hono packages. Upgrade Hono to 4.13.18 and @hono/node-server to 2.1.8 in the API and migration tool, move both container builders to Node 26.13.1, and require patched zlib at image build time. Explicitly retain the existing hardened tc-core-library-js v4.0.0-rc.2 for linked service dependencies so lockfile regeneration cannot restore its older JWT verifier.

Code scanning alert #616 identifies empty inline-element replacements in the historical Marathon description converter. Preserve a separator for empty inline elements, as already done for block elements, so removal cannot join surrounding markup fragments. Add eight cases covering the supported inline elements while retaining the final deterministic tag scanner.

Validation:

  • Full production Docker build passes frozen install, Prisma generation, dependency compatibility tests, lint, and compilation.
  • Rebuilt production image: zero critical/high/medium Trivy vulnerability findings, including unfixed findings.
  • API pnpm audit and migration npm audit: zero critical/high/moderate vulnerabilities (low findings remain).
  • Description-sourcing Jest suite: 14 tests pass.
  • All 11 current medium Dependabot alerts resolve to patched versions in their specific lockfiles.

Merge and the normal image rollout are required to replace the vulnerable deployed digest.

@jmgasper
jmgasper merged commit e57e251 into develop Nov 15, 2026
7 checks passed
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