MUST A1: TOTP recovery bypasses the panic lock (DUR-04) #168
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit#168
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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).