diff --git a/OKF_Nuxt/decisions/vulnerability-audit-policy.md b/OKF_Nuxt/decisions/vulnerability-audit-policy.md index a22ef94..10617ac 100644 --- a/OKF_Nuxt/decisions/vulnerability-audit-policy.md +++ b/OKF_Nuxt/decisions/vulnerability-audit-policy.md @@ -23,6 +23,14 @@ silenced but **reviewed and recorded**: `auditConfig.ignoreGhsas` in `pnpm-workspace.yaml`, each entry with the date and reason, removed when a patched version ships. +Advisories that DO have a patch take the upgrade route: the patched version +is forced with `overrides` in `pnpm-workspace.yaml`. First use (2026-10-20): +`postcss-selector-parser: 7.1.6` over the `6.1.4` that `tailwindcss` 3.4.19 +pins via `postcss-nested` 6.2.0 (GHSA-rj75-hqrm-r3gf, moderate) - the +patched 7.1.6 was already in the tree via `postcss-nesting` and proved +API-compatible through a full build. The override is removed when +`tailwindcss` ships `>= 7.1.6` itself or the site moves to Tailwind v4. + Currently ignored (both verified against the advisory database and the npm registries on 2026-10-18 - the newest published versions are the vulnerable ones): diff --git a/OKF_Nuxt/log.md b/OKF_Nuxt/log.md index f4ee77a..fbfe578 100644 --- a/OKF_Nuxt/log.md +++ b/OKF_Nuxt/log.md @@ -1,5 +1,8 @@ # Update Log +## 2026-10-20 (blocking audit catches the tailwind dep, first override) +* **Update**: [vulnerability audit policy](decisions/vulnerability-audit-policy.md) - the first PR run after adding `@nuxtjs/tailwindcss` failed the blocking audit on GHSA-rj75-hqrm-r3gf (moderate: `postcss-selector-parser` < 7.1.6, quadratic flat-selector parsing, pulled in by `tailwindcss` 3.4.19 → `postcss-nested` 6.2.0). Fixed per policy with the first `overrides` entry in `pnpm-workspace.yaml`, pinning 7.1.6 (already in the tree via `postcss-nesting`, build verified, audit green except the two reviewed highs). Same run: AI review job failed transiently (`Upstream request failed: Endpoint is unavailable` on `opencode-go/deepseek-v4-pro#max`; the model is still listed active, so retry on next push - the model-switch question stays open in [open questions](open-questions.md)). + ## 2026-10-20 (frontend API contract) * **Creation**: Added [backend endpoints](backend-endpoints.md) - the smallest endpoint set the UI needs: `GET /api/health` (footer dot, `SYS_STABLE`), `GET /api/chapters` (terminal rows; counters computed client-side), and the later `POST /api/fall/{chapter}` and SSE `GET /api/events`, with polling-first as the deliberately simple start.