Files
ZitPlane/docs/P05-SEC-02-A01.md

3.0 KiB

P05-SEC-02-A01 — Login Dependency Security Final Acceptance

Date: 2026-11-22 Scope: Gitea-only focused CI verification of the already committed corrected PNPM transitive-override validator and frozen Login V2 security dependencies. Baseline: 7655dbdcb48c49aab8f3bf97aab8f1867f129531. Status: ACCEPTED/PASS — Gitea Run #89 on ff4c58ed861474061c8f045be3a9f0752caf6ca0 SUCCESS, both Login CI jobs PASS and both Account jobs SKIPPED.

Why this follow-up exists

In Gitea Run #88, Login security audit job #192 passed with 0 Moderate, 0 High, 0 Critical after seven parent-scoped glob@14.0.6 and minimatch@11.0.9 resolutions. However Login build job #190 never reached frozen install because a new CI-only parser incorrectly interpreted old axios@>=... and similar root version-range keys as new parent selectors. The parser was subsequently restricted to explicit >glob or >minimatch selectors and committed, but the corrected parser had not been tested by Gitea.

How to verify

Open Gitea ZitPlane Actions. Select ZitPlane P05 Dependency Security Acceptance (SEC-01/02), dispatch main with login_only=true. A valid result has two Account jobs SKIPPED and only two Login jobs executing:

  • Login job: source-level exact seven parent selector/lockfile contract → pinned pnpm@10.30.3 install --frozen-lockfile → original Nx proto/client/Next Login V2 standalone production build → upstream Vitest. Each check must execute; a skipped or failed check is not a PASS.
  • Security job: nonmutating pnpm audit --prod, strict High/Critical gate and separate complete-report zero Moderate/High/Critical gate.

Full phase PASS requires a green overall run, a frozen install, a generated standalone Login build, actual upstream unit-test count and zero Moderate/High/Critical vulnerabilities, with no source edit outside Scope Lock. If CI fails, note the exact blocker and do not rerun. No real login/MFA, ZITADEL integration or Coolify production deployment is covered.

ACTUAL VERDICT: Gitea Run #89, one manual login_only=true run on tested SHA ff4c58ed861474061c8f045be3a9f0752caf6ca0, overall SUCCESS. Account jobs #193/#195 SKIPPED intentionally. Login build job #194 PASS: corrected seven-parent selector and lock contract, pinned PNPM 10.30.3 frozen install (1,121 packages), original Nx proto/client/Next.js 16.4.6 standalone build + artifact check, upstream Vitest 84/84 files and 1,219/1,219 tests. Login production security job #196 PASS: real registry pnpm audit --prod found 0 Moderate, 0 High, 0 Critical (also 0 Low/Info), fail-closed gate PASSED. All P05-SEC-02-A01 acceptance gates fulfilled. This is NOT proof of real authenticated OIDC/MFA/session/browser E2E or production deployment. See notes/P05-SEC-02-A01.md and project/DEPENDENCY-SECURITY.md.