Skip to content

v1.38.12 — the scanner findings are cleared - #940

Merged
MBombeck merged 3 commits into
mainfrom
chore/trivy-findings
Sep 9, 2026
Merged

v1.38.12 — the scanner findings are cleared#940
MBombeck merged 3 commits into
mainfrom
chore/trivy-findings

Conversation

@MBombeck

@MBombeck MBombeck commented Sep 9, 2026

Copy link
Copy Markdown
Owner

Trivy reports seventeen findings on pnpm-lock.yaml and the image, twelve distinct advisories, none in this code and none listed by Dependabot:

Package Installed Fixed Severity
next 16.2.11 16.3.3 critical ×2
sharp (via next) 0.35.3 0.35.4 high
nodemailer 9.0.3 9.1.1 high + medium ×3
js-yaml 4.3.1 4.3.2 high
hono (via the MCP SDK) 4.13.3 4.13.5 medium ×3
vitest / @vitest/mocker 4.1.5 4.1.11 medium
baseline-browser-mapping 2.10.43 2.11.0 medium

Direct pins: next 16.3.4, nodemailer 9.1.1, vitest ^4.1.11. Transitive: js-yaml, hono, baseline-browser-mapping and sharp move through pnpm overrides bounded to the vulnerable ranges. pnpm audit is clean at moderate. Typecheck, lint (the three baseline warnings), the full unit suite (22 864 tests) and the production build pass locally; this PR's integration and e2e runs are the gate for the minor Next bump.

Trivy flags twelve distinct advisories on the lockfile and the image, none
in this code: next 16.2.11 (two critical, fixed in 16.3.3), sharp 0.35.3
pulled by next (high), nodemailer 9.0.3 (one high, three medium), js-yaml
4.3.1 (high), hono 4.13.3 under the MCP SDK's node server (three medium),
and the vitest mocker and baseline-browser-mapping (medium). Dependabot
lists none of them, which is why they sat.

next moves to 16.3.4 and nodemailer to 9.1.1 as direct pins; vitest to
4.1.11. js-yaml, hono, baseline-browser-mapping and sharp are transitive
and move through pnpm overrides bounded to the vulnerable ranges, so the
copies the scanner names change and nothing else does. Typecheck, lint,
the unit suite and the production build pass locally; the release gate
runs the integration and end-to-end suites on the minor Next bump.
… build

next 16.3 type-checks the whole tsconfig program during the build. That
reaches the unit tests under src/**/__tests__, their fixtures under
tests/, the Playwright config and the e2e tree, none of which is in the
image build context — .dockerignore leaves tests/ and e2e/ out on
purpose — so the image build stopped at "Cannot find module
'../../tests/fixtures/...'" on both architectures.

The build now reads tsconfig.build.json, which extends the main tsconfig
and excludes the test tree and the test-runner configs. `pnpm typecheck`
keeps using tsconfig.json and still covers the full program; the change
narrows only what `next build` compiles, which was already the case on
16.2 by omission. Verified by building with tests/ and e2e/ moved away.
Version anchors, the OpenAPI document and the changelog entry for the dependency release.
@MBombeck MBombeck changed the title Clear the seventeen scanner findings v1.38.12 — the scanner findings are cleared Sep 9, 2026
@MBombeck
MBombeck merged commit 925cc59 into main Sep 9, 2026
24 checks passed
@MBombeck
MBombeck deleted the chore/trivy-findings branch September 9, 2026 17:57
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