Severity: Medium
Affected location: routes/auth.ts:19-20
Issue:
Passwords are only checked for non-empty value; weak passwords are allowed.
Mitigation plan:
- Enforce minimum length (e.g., 8+).
- Optionally add breached-password checks and complexity guidance.
- Return clear validation errors to users.
Verification / tests:
- Unit tests for password policy acceptance/rejection cases.
- Signup integration tests for invalid weak passwords.
Severity: Medium
Affected location:
routes/auth.ts:19-20Issue:
Passwords are only checked for non-empty value; weak passwords are allowed.
Mitigation plan:
Verification / tests: