Repository navigation
Close all open Dependabot alerts: Next.js 16.4, transitive fixes, PyJWT for python-jose - #19
Merged
Merged
Conversation
next and eslint-config-next 16.4.0 close alerts 27 (critical, next/og RCE), 38–43; npm audit fix brings sharp 0.35.5, source-map-js 1.2.2, smol-toml 1.9.1 and brace-expansion 1.1.21/5.0.12 (alerts 32, 33, 35–37). tsconfig leaves out the dev server's route validator, whose unused type imports broke tsc after `next dev` (as on feat/temporal-simulation-ui). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Cristian Curaba <cristiancuraba00@gmail.com>
python-jose has no release fixing CVE-2026-85394 (alert 44, critical: HS256 forged with a DER public key). auth/oauth2.py now verifies with PyJWT 2.15.1 against the JWKS, accepting only the configured RS* algorithm, so an HS256 token is refused before any key is used; config refuses HS*/none. ecdsa (PYSEC-2026-1325) leaves with python-jose, so pip-audit in audit.sh and CI runs with no ignores. New tests sign real tokens: valid, wrong audience/issuer, expired, another key, HS256 with the public key (PEM and DER), and a kid-miss JWKS refetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Cristian Curaba <cristiancuraba00@gmail.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.
Closes every open Dependabot alert on
main(13: 2 critical, 3 high, 7 moderate, 1 low).Frontend
next/eslint-config-next16.2 → 16.4.0: alert 27 (critical, next/og RCE) and 38–43.npm audit fix: sharp 0.35.5, source-map-js 1.2.2, smol-toml 1.9.1, brace-expansion 1.1.21 / 5.0.12 (32, 33, 35–37).tsconfig.jsonexcludes.next/dev/types/validator.ts(Next 16.4's dev server writes unused type imports there).Backend
auth/oauth2.pynow verifies with PyJWT 2.15.1 (MIT) against the IdP's JWKS, withalgorithms=[settings.jwt_algorithm];config.jwt_algorithmaccepts only RS256/RS384/RS512.scripts/audit.shand CI.test/test_jwt_verification.pysigns real tokens: valid; wrong audience, issuer or expiry; signed by another key; HS256 forged with the public key (PEM and DER); kid miss → one JWKS refetch.Checks run locally: backend
scripts/audit.sh(ruff, pyright, bandit, pip-audit with no ignores, vulture, deptry, import-linter, 284 pytest); frontend lint, tsc, 438 vitest, knip, madge, production build; detect-secrets baseline unchanged.🤖 Generated with Claude Code