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

+7
View File
@@ -102,3 +102,10 @@ Workflow service orchestration is in `.gitea/workflows/p05-ci.yml`, not Python.
| `backend_cleanup.sh` main | Same | Always-step removes only marked CI project with volumes; verifies no fixed network, matching project containers or volumes persist; no marker => no project teardown |
The scripts execute in the **Gitea Actions** runner, not on the local developer PC. Real user authentication and MFA are not implemented as CI checks.
## P05-SEC-01 — Security-only CI helper behavior
`tests/ci/security_advisory_gate.py` owns `main()`: it reads one npm or pnpm production registry audit JSON report, checks for report errors, validates required numeric severity counters and matching npm vulnerable-package or pnpm advisory records, prints the actual counts and **returns a failing CI exit code** if Moderate, High or Critical count is nonzero. Invalid or missing report information is also an error. It does **not** modify package manifests, bypass audit rules or accept a waived advisory. The upstream helper `tests/ci/advisory_triage.py` still displays exact GHSA/package/fix records and remains unchanged.
Workflow shell commands are written directly under `.gitea/workflows/p05-security-acceptance.yml`. No application runtime function or auth code changed in this phase.