Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WPB-11901] Add rate limiting for any endpoints which hash a password #4350

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

mdimjasevic
Copy link
Contributor

Tracked by https://wearezeta.atlassian.net/browse/WPB-11901

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@echoes-hq echoes-hq bot added the echoes: technical-roadmap/security More specific category, to highlight task that tackle security requirements. label Nov 27, 2024
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Nov 27, 2024
pcapriotti and others added 2 commits November 28, 2024 09:15
One limits per IP address and the other limits per ZUser
All the endpoints that perform password hashing are rate limited with
one of the introduced rate limit zones. The endpoints were identified by
searching for every endpoint handler that has the 'HashPassword' effect
in its constraints.
mdimjasevic and others added 2 commits November 28, 2024 11:59
Once they are all in that effect, we can start asking for either the user ID or
the IP address and use that to rate limit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap/security More specific category, to highlight task that tackle security requirements. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants