MEDIUM: No rate limiting on auth endpoints — vulnerable to brute-force attacks #13
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#13
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?
Severity: Medium
Location
backend/src/app.tslines 38–41 (auth route registration)Description
The
/api/auth/loginand/api/auth/registerendpoints have no rate limiting or brute-force protection. An attacker can send unlimited login attempts.Impact
Suggested Fix
Add rate limiting middleware:
Fixed in commit. Closing.