fix(security): patch Next and OpenTelemetry dependencies with CI gates

This commit is contained in:
Vib Tools committed 2026-11-22 06:08:27 -08:00
1 parent 1a602551ad
commit 752d243ae8
29 files changed
+1138 -9280

No files matched your search

+9
View File
@@ -54,3 +54,12 @@ The runner's published TCP 8080 was already in use, so P02's local-only Traefik
## P05-CI-03 backend acceptance — proven in Gitea only
Run #86 on commit `03fb589` executed a backend-only manual Gitea Actions job and verified the original pinned P02 container images on a disposable Docker v29.9.3 / Compose v5.7.2 runner. The P05 portless CI override removed the developer-only host binding, all four containers came up, PostgreSQL retained a synthetic row across a restart, and ZITADEL ready/issuer/OIDC discovery/JWKS passed. Owned network/containers/volumes were verified removed by the always-run cleanup step. No local PC/docker startup, release or production deployment occurred. Remaining steps before deployment: review/patch 18 Moderate Login findings and 1 Moderate Account `next` package, then disposable authenticated OIDC and Admin Console/MFA tests plus production TLS/Coolify/backup readiness.
## P05-SEC-01 — Frozen dependency security resolution
- Account: direct `next@16.4.6` and npm v3 lock metadata created with `npm install --package-lock-only --ignore-scripts --no-audit --no-fund`; no local application install/build/test.
- Imported Login V2: direct `next@16.4.6`, `@next/eslint-plugin-next@16.4.6`; `@opentelemetry/auto-instrumentations-node@^0.80.0`, `@opentelemetry/sdk-node@^0.222.0`, `@opentelemetry/api-logs@^0.222.0` to align the telemetry release family. PNPM v10.30.3 ran metadata-only `install --lockfile-only --ignore-scripts --no-frozen-lockfile`; no project `node_modules` was created.
- The imported PNPM lock previously retained snapshots from an upstream monorepo larger than the 4-member ZitPlane workspace. Regeneration pruned many no-longer-reachable snapshots, with only metadata file changes inside approved scope; root workspace `pnpm-workspace.yaml` and imported code unchanged. The Gitea **frozen install** is the required proof of consistency.
- Advisory resolution cannot be claimed merely from versions. `glob@10.5.0` and `minimatch@10.2.x` remain in the lockfile through tooling parents with older major ranges, and the workspace override file is read-only. Their Moderate advisories stay OPEN until proven fixed or separately approved.
- Dedicated manual Gitea `p05-security-acceptance.yml` performs Account/Login frozen builds and a strict High/Critical + Moderate gate. Prior P05 backend Run #86 was successful and was **not** deployed.