Skip to content

fix(security): patch vulnerable dependencies and fix audit workflow - #5

Merged
vrnvrn merged 3 commits into
mainfrom
claude/gallant-cerf-hpw17x
Dec 3, 2026
Merged

vrnvrn merged 3 commits into
mainfrom
claude/gallant-cerf-hpw17x

Conversation

@vrnvrn

@vrnvrn vrnvrn commented Dec 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Patch vulnerable dependencies: pnpm audit goes from 28 advisories (4 critical, 4 high) to 1 low.
    • next 15.5.29, vitest 4.1.12, vite 6.4.6, @vitejs/plugin-react 5.2.0.
    • pnpm overrides for ws, zod, uuid, cross-spawn and minimatch.
  • Fix the weekly security audit job: it ran npm ci, but the repo has no package-lock.json, so it always failed. It now runs pnpm audit --audit-level=high.

Left open (needs human review)

  • @simplewebauthn/server (low, GHSA-6hxq-p678-4hr2) is still open.
    • The advisory affects attestation chain checks. The app uses attestationType: 'none'.
    • The fix needs a v9 → v13 migration that changes the user ID format and could break existing passkeys.

Verification

  • vitest: 37/37 tests pass.
  • lint passes.
  • tsc error count is unchanged (817, pre-existing).
  • next build fails the same way as on main: a pre-existing @arkiv-network/sdk ./accounts export error.

Generated by Claude Code

pnpm audit: 28 advisories (4 critical, 4 high) -> 1 low.

- next 15.5.29 (cookie exposure, response injection, SVG bypass)
- vitest/@vitest/coverage-v8 4.1.12 (UI file read, mocker path traversal,
  tinypool RCE gadgets, glob/minimatch/cross-spawn via test-exclude)
- vite 6.4.6 + @vitejs/plugin-react 5.2.0 (fs.deny bypasses, esbuild)
- overrides: ws 8.23 / 7.5.14, zod 4.6.6, uuid 11.1.1, cross-spawn 7.1.2,
  minimatch 11.0.8

Left open: @simplewebauthn/server (low, GHSA-6hxq-p678-4hr2). It affects
attestation chain checks; we use attestationType 'none'. The fix needs a
v9 -> v13 migration that changes the user ID format.

Verified: vitest 37/37 pass, tsc error count unchanged (817, pre-existing),
lint passes, next build fails the same way as before (pre-existing
@arkiv-network/sdk ./accounts export error).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S4gCMdDTEQhkJUwMkJZ9is
The job ran npm ci, but the repo has no package-lock.json, so it failed
before auditing. Use pnpm audit, which reads pnpm-lock.yaml and needs no
install. Match ci.yml for the pnpm and Node versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S4gCMdDTEQhkJUwMkJZ9is
@vercel

vercel Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
p2pmentor Error Error Dec 3, 2026 9:15pm UTC

Request Review

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S4gCMdDTEQhkJUwMkJZ9is
@vrnvrn
vrnvrn merged commit 29bc349 into main Dec 3, 2026
5 of 7 checks passed

This branch had an error being deployed

1 failed deployment
Preview — fb0d77f8 Deployed Dec 3, 2026 by vercel[bot]
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