No minimum password length — 2-character password accepted #24
Labels
No labels
blocked:needs-human
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/subvault#24
Loading…
Add table
Add a link
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?
Bug
The auth registration accepts a 2-character password ("ab") without any validation.
Evidence
Impact
Combined with existing issue #13 (no rate limiting on auth endpoints), this creates a significant security risk — attackers can brute-force register accounts with trivial passwords and then attempt to compromise other users' accounts.
Severity
ORANGE High — No password policy enforcement. Related to existing #13 (no rate limiting).
Fix
Add minimum password length validation (e.g., 8 characters) in the register handler. Return 400 with a clear message.
Fixed in commit. Closing.