build(deps): upgrade jsonwebtoken to 12.0.0 #390
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 295 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.340
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #390"
general
weight: 0.35
guicassolato
Why
The proxy's FIPS startup test needs to install a rival provider in the
same process-wide
jsonwebtokenprovider slot that Policy uses.Resolving both callers to 12.0.0 makes the test exercise that shared slot.
Refs praxis-proxy/praxis#1610
What
lockfile to
jsonwebtoken12.0.0. Disable default features and opt into
use_pemfor the existing PEM key sources.error. Update test key construction and cover empty-secret rejection.
rand_core0.10.1 as a traits-only dependency in the FIPS graphcheck. The new edge comes through
signature3.0.0.How
Validation
make check,make lint, andmake check-fips-graphpassed. The lockedstandalone
consumer and builtins FIPS graphs resolve 12.0.0 without a software
crypto backend. The builtins feature tree enables only
use_pemonjsonwebtoken.make test-fips-providerandmake test-fips-no-providerpassed. All12
jwt_fipscases passed, 11 with the provider installed and onewithout it. The tests cover eight approved algorithms across repeated
resolver initialization and reject an already-installed rival twice.
empty-secret regression.
The local FIPS runs used a source-built OpenSSL 3.6.5 module with its
generated integrity configuration supplied locally.
Merge risk
The change is reversible at the dependency level. Its runtime scope is
JWT identity and DPoP verification, including rejection of empty shared
secrets.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
JWT authentication now provides a clearer error when a shared secret cannot be used, including when the secret is empty. This helps identify invalid secret configuration during setup and troubleshooting. No changes to supported signing algorithms or authentication behavior are included in this update.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->