Skip to content

chore(deps): override frontend transitive deps for CVEs - #161

Merged
LucasACH merged 1 commit into
mainfrom
chore/frontend-security-deps
Jun 17, 2026
Merged

LucasACH merged 1 commit into
mainfrom
chore/frontend-security-deps

Conversation

@LucasACH

Copy link
Copy Markdown
Owner

What

Clears the pnpm audit --prod --audit-level moderate advisories that block the v1.4.2 release validate gate (frontend layer), after the backend audit was fixed in #160. 11 advisories in transitive deps, disclosed since v1.4.1.

Package Was Patched floor Severity
hono <4.12.25 ≥4.12.25 1 high (CORS) + 4 moderate
protobufjs ≤7.6.2 ≥7.6.3 moderate
js-yaml ≤4.1.1 ≥4.2.0 moderate
@opentelemetry/core <2.8.0 ≥2.8.0 moderate

How

All four are transitive, so pinned via pnpm.overrides in frontend/package.json (extends the existing override block), lockfile refreshed. No direct-dependency or app-code changes.

Verification

  • pnpm audit --prod --audit-level moderate: exit 0 (2 low advisories remain, below the gate).
  • pnpm typecheck: clean.
  • pnpm test: 272 passed.
  • pnpm build: production build succeeds.

Follow-up

Re-run the v1.4.2 release after merge (backend audit fixed in #160, frontend here).

🤖 Generated with Claude Code

pnpm audit (the release `validate` gate, --prod --audit-level moderate)
flagged 11 advisories in transitive frontend deps disclosed since v1.4.1,
failing the release after the backend audit was cleared:

  hono                <4.12.25  GHSA-88fw-hqm2-52qc (high, CORS) + 4 more
  protobufjs          <=7.6.2   GHSA-f38q-mgvj-vph7
  js-yaml             <=4.1.1   GHSA-h67p-54hq-rp68
  @opentelemetry/core <2.8.0    GHSA-8988-4f7v-96qf

All transitive, so pin patched floors via pnpm.overrides:
  hono >=4.12.25, protobufjs >=7.6.3, js-yaml >=4.2.0,
  @opentelemetry/core >=2.8.0

audit at moderate gate now exits 0 (2 low advisories remain, below
threshold); typecheck clean, 272 unit tests pass, production build green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@LucasACH
LucasACH requested a review from MarcosACH as a code owner June 17, 2026 19:47
@LucasACH
LucasACH merged commit a6e20c2 into main Jun 17, 2026
3 checks passed
@LucasACH
LucasACH deleted the chore/frontend-security-deps branch June 17, 2026 19:49
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