Remove react-router audit allowlist entry once upstream ships a fix
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 15/100
Research direction
The allowlist entry for GHSA-qwww-vcr4-c8h2 lives in the ALLOWLIST in scripts/audit-check.cjs, and the accepted-risk bullet is in CLAUDE.md. Nothing can be done until npm lists react-router-dom outside the advisory range, so first check the registry and ui/package.json. Done means the dependency is bumped in ui/package.json and ui/package-lock.json, the allowlist entry and CLAUDE.md bullet are removed, and node ../scripts/audit-check.cjs passes from ui/.
Written by the indexing model from the issue text.
Description
Background
The CI dependency-vulnerability gate (scripts/audit-check.cjs, added in #347) allowlists one high-severity advisory:
GHSA-qwww-vcr4-c8h2— React Router: RSC Mode CSRF Bypass Allows Action Execution Before 400 Response (react-router7.12.0 – 8.2.0)
Why it's allowlisted (not fixed)
- Non-applicable to this app. The UI is a client-only SPA using
BrowserRouter; it never enables React Router's RSC / server-action mode, so the vulnerable code path is unreachable. - No fixed version exists (yet).
[email protected]islatestand still inside the advisory range. npm's only offered "fix" is a semver-major downgrade to7.11.0(a feature regression, not a real fix).
This is the one high-severity accepted risk and the reason the audit gate is a small script rather than a bare npm audit --audit-level=high (which can't accept a single advisory). It's documented under "Accepted / deferred security risks" in CLAUDE.md.
Action to take when upstream patches
Once a patched react-router-dom is released (a version outside the advisory range, e.g. > 8.2.0 or a backported 7.x):
- Bump
react-router-dominui/package.jsonand refreshui/package-lock.json. - Remove the
GHSA-qwww-vcr4-c8h2entry from theALLOWLISTinscripts/audit-check.cjs. - Remove the corresponding bullet from the "Accepted / deferred security risks" section of
CLAUDE.md. - Confirm
node ../scripts/audit-check.cjsstill passes fromui/(and that the gate now finds nothing to accept for react-router).
References
- Advisory: https://github.com/advisories/GHSA-qwww-vcr4-c8h2
- Allowlist mechanism introduced in #347
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 8m
- Merged PRs (30d)
- 8
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LeeAdcock/robocodeJs.com
-
priority: medium tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
LeeAdcock/robocodeJs.com#411 ·
Maintainers usually reply within 1 day
-
enhancement priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LeeAdcock/robocodeJs.com#254 ·
Maintainers usually reply within 1 day
-
good first issue priority: low tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
LeeAdcock/robocodeJs.com#146 ·
Maintainers usually reply within 1 day
-
dependencies priority: low tech-debt
Difficulty 1/5 Under an hour Newbie friendliness 15/100
LeeAdcock/robocodeJs.com#413 ·
Maintainers usually reply within 1 day
-
priority: low tech-debt
Difficulty 3/5 Half a day Newbie friendliness 32/100
LeeAdcock/robocodeJs.com#412 ·
Maintainers usually reply within 1 day
All issues in LeeAdcock/robocodeJs.com
Similar issues
-
ui(ListToolbar): search takes the full row on a phone instead of sharing it with the result countOpen
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
priority:high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
immich-app/immich#32426 ·
Maintainers usually reply within 1 day
-
documentation good first issue hacktoberfest help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
libredb/libredb-studio#1756 ·
Maintainers usually reply within 1 day