MUST A1: TOTP recovery bypasses the panic lock (DUR-04) #168

Closed
opened 2026-11-12 06:30:52 +01:00 by amiryahaya · 0 comments
Owner

TotpRecoveryVerify.cs:37-40 + TotpRecovery.cs (send) have no PanicLockedAt check — recovery-code path mints a full session, resets TOTP, revokes sessions for a panic-locked account. Email is exactly the weaker factor DUR-04 rejects. Fix: gate both recovery endpoints like TotpVerify.cs:45-46 + tests (none today). Found at M9-close audit (#167).

TotpRecoveryVerify.cs:37-40 + TotpRecovery.cs (send) have no PanicLockedAt check — recovery-code path mints a full session, resets TOTP, revokes sessions for a panic-locked account. Email is exactly the weaker factor DUR-04 rejects. Fix: gate both recovery endpoints like TotpVerify.cs:45-46 + tests (none today). Found at M9-close audit (#167).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/failsulit#168
No description provided.