Oculary
Findings
ContradictedF-104

An account is locked after five failed sign-in attempts.

Failed attempts are counted, but nothing locks the account when the count reaches five.

Access Control PolicyVersion 3, section 2.5
2.5An account is locked after five failed sign-in attempts.
api/src/accounts/sign-in.tsoculary/api at commit 41d07ce
41if (!valid) {42  await attempts.increment(account.id)43  throw new HttpError(401, "Wrong email or password")44}

Why the agent reached this verdict

Failed attempts are recorded per account, but no code reads the count to block further attempts.

What this run could not see

Rate limiting applied at the gateway.

History

Hannah Berg opened Jira issue OCU-482
Priya Raman confirmed the gap
The policy is right. The code needs to change.
Run 45 found a possible contradiction