Oculary
Findings
ContradictedF-114

Passwords are hashed with Argon2id before they are stored.

Passwords are hashed with bcrypt at cost 10, not Argon2id.

Access Control PolicyVersion 3, section 2.3
2.3Oculary never stores a password in a form it can read back. Passwords are hashed with Argon2id before they are stored.
api/src/accounts/password.tsoculary/api at commit 41d07ce
4import bcrypt from "bcrypt"5 6export function hashPassword(plain: string) {7  return bcrypt.hash(plain, 10)8}

Why the agent reached this verdict

Every path that stores a password calls hashPassword, which uses bcrypt with a cost of 10. No Argon2 library is installed.

What this run could not see

Nothing relevant. All password handling is in this repository.

History

Run 47 found a possible contradiction

Does the code break this claim?