You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P1 auth: replace python-jose with pyjwt (CVE-2024-33663/33664) #48
python-jose ≤3.3.0: CVE-2024-33663 (algorithm confusion) и CVE-2024-33664 (JWT-бомба, DoS в decode). Проект не поддерживается; decode_token вызывается на публичных /refresh и /me. passlib тоже unmaintained.
Фикс: миграция на PyJWT (+ argon2-cffi вместо passlib), лимит размера токена до decode; обновить core/security.py, тесты, docs/spec.md:73. Verify:make test-py, логин/refresh работают. Источник: docs/REVIEW-2026-09-13-merged.md §2 H4
Автоматически создано из сводного ревью. Сверяй актуальность номеров строк — они зафиксированы на коммите 91efb5b.
Activity
SlavaKuntsov commentedon Sep 18, 2026
Ready for review — Phase 16
Implemented (#48)
options={"require": ["exp","sub"]}), passlib → argon2-cffi (PasswordHasher)pyproject.toml,uv.lock, тесты (+ oversized/no-exp регрессии),docs/spec.mdVerification
make test-py— 38 passed (18 auth + 20 transcoder)make lint-py— black/flake8/mypy чистоCommits:
d1314df(+cf78449fixes). PR закроет тикет черезCloses #48.SlavaKuntsov commentedon Sep 18, 2026
Pull request opened
#77 — will auto-close via
Closes #48on merge.Project status:
In review(synced).Verification
make test-py/make test-go— passmake lint-py/make lint-go/make lint-front— чистоmake up && make e2e— PASS на чистых volumesRemaining risks
none known (follow-up: #76)