fix(ci): suppress non-exploitable react-router CVE (GHSA-qwww-vcr4-c8h2), unblock nightly scan - #103
Merged
Merged
Conversation
… scan Die Nightly-Security-Scan- und Dependabot-Update-Läufe schlagen seit 2026-07-25 fehl wegen GHSA-qwww-vcr4-c8h2 (react-router 7.18.1, HIGH, CVSS 7.1). Die CVE ist eine CSRF-Lücke ausschließlich im unstable RSC-Modus (React Server Components). TaskWolf-Frontend ist eine reine Client-SPA (createBrowserRouter, kein SSR/RSC) → verwundbarer Code-Pfad ungenutzt, nicht ausnutzbar. Fix nur in react-router 8.3.0 (Major; react-router-dom in v8 aufgelöst, kein v7-Patch) → Dependabot kann nicht auto-fixen. - .trivyignore: begründete Ausnahme für GHSA-qwww-vcr4-c8h2 - Dependabot-Alert #82 dismissed (not_used) via API - v8-Migrations-Plan als Backlog dokumentiert, löst die Ausnahme später auf Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Der frontend-build npm-audit-Gate (`npm audit --audit-level=high`) failt ebenfalls an GHSA-qwww-vcr4-c8h2 — .trivyignore greift dort nicht, und npm audit kann einzelne Advisories nicht ausnehmen. Ersetzt durch .github/scripts/audit-gate.mjs: blockt weiterhin bei jedem nicht-allowlisteten HIGH/CRITICAL-Advisory, lässt aber die begründete Ausnahme (RSC-only, Client-SPA nicht betroffen) durch. Gleiche Policy wie .trivyignore. Negativ-getestet: leere Allowlist -> exit 1. v8-Migrations-Plan um dritten Aufräum-Ort ergänzt. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Nightly Security Scan(Trivy-Gate) schlägt seit 2026-07-25 fehl, zusätzlich derDependabot Updates-Lauf seit 2026-07-28. Ursache: eine einzelne, neu offengelegte HIGH-CVE.GHSA-qwww-vcr4-c8h2(react-router 7.18.1, HIGH, CVSS 7.1)createBrowserRouter, kein SSR/RSC, keineunstable_-APIs)react-router-domin v8 aufgelöst, kein v7-Patch) → Dependabot kann nicht auto-fixenÄnderungen
.trivyignore: begründete Ausnahme fürGHSA-qwww-vcr4-c8h2(RSC-only, Client-SPA nicht betroffen).54f2a90to4a73073in /frontend #82 dismissed (not_used) via API — stoppt den wiederkehrendenDependabot Updates-Fehllauf.docs/superpowers/plans/2026-07-29-react-router-v8-migration.md) — löst die Ausnahme später sauber auf (42 Import-Umstellungen + CI-Node-Bump 20→22).Verifikation
ci.yml) spiegelt den Nightly-Trivy-Gate → grüner Lauf hier bestätigt, dass die Ausnahme greift.Nightly Security Scanläuft gegen main mit der Ausnahme → grün.🤖 Generated with Claude Code