Skip to content

Auth login endpoint has no rate limiting #12

Description

@pallyoung

Problem

POST /auth/login has no rate limiting. A brute-force attacker could try every password.

For a local-only tool this risk is lower, but a simple in-memory rate limiter on this endpoint would be good practice.

Suggested Fix

Add a basic in-memory rate limiter (e.g., max 5 attempts per 5 minutes per IP) on the login endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions