Client dependency refresh — npm 10 arborist bug blocks audit fix; 24 trivy findings triaged in .trivyignore #83
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit#83
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from task 0.6 / security-ci (#14): trivy flags 24 HIGH findings across
clients/admin/package-lock.json(16) +clients/desktop/package-lock.json(8) — all in dev/build-time tooling (nanoid, picomatch, postcss, react-router, source-map-js, vite launch-editor). None is in the API runtime.Blocked by an npm bug: npm 10.9.8 arborist crashes with
TypeError: Cannot read properties of null (reading 'edgesOut')on plaininstall/update/audit fixfor these trees (peer-set loader).--legacy-peer-depsinstalls fine but targeted upgrades (react-router@7.18,vite@7.3.7,zod@4.x) break the vitest setup — this is a dependency-refresh project, not piecemeal fixes.Interim triage: all 24 CVEs are listed in
.trivyignorewith justification + expiry (see file header). Gate remains hard for production paths — anything outside the client lockfiles fails security-ci.Fix plan (at this milestone):
.trivyignore; trivy gate must be clean.Deadline: before the first client RELEASE milestone (desktop bundle ships deps to users — M4/M5 hardening).
amiryahaya referenced this issue2026-11-07 08:40:12 +01:00
RESOLVED — closing. PR #140 (squash, CIs: admin-ci 12388 + desktop-ci 12389 + security-ci 12360 all green on the final head): the arborist bug is bypassed by REGENERATING lockfiles instead of in-place updates; targeted top-level bumps (vite/vitest/react-router-dom/typescript-eslint latest, zod ^4.6.7) + overrides for patched transitives + @testing-library/dom explicit peer. Admin 26 → 7 findings (0 HIGH/CRIT), desktop 24 → 8 (0 HIGH/CRIT) — local trivy verified on both lockfiles; .trivyignore client block removed (spike block retained). CI fixes en route: npm install over npm ci (npm/cli#4828 macOS-regen omits linux natives — lockfiles enriched with linux-x64 entries) + react-hooks v7 set-state-in-effect downgraded to warn (8 pre-existing sites, tracked as lint debt).