Skip to content

Commit 999a7d9

Browse files
committed
docs: mark JWT format guards issue (#13) as complete
Update SECURITY-REVIEW.md to reflect that JWT format and length guards are now properly applied in get_jwt_user before token decoding.
1 parent c71eeec commit 999a7d9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SECURITY-REVIEW.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,11 @@
237237

238238
### 13. Missing JWT Format Guards in get_jwt_user
239239

240+
> [!NOTE]
241+
> **Done**: JWT format and length guards now applied in `get_jwt_user` before
242+
> decoding. Tokens exceeding `MAX_JWT_TOKEN_LENGTH` or failing `is_valid_jwt_format`
243+
> checks are rejected with 401 Unauthorized.
244+
240245
**Location**: `app/managers/auth.py:478-544` (`get_jwt_user`)
241246

242247
- **Issue**: `get_jwt_user` doesn't apply the JWT format/length guard you already

0 commit comments

Comments
 (0)