Title: Implement throttling for communication end points like OTP tokens, reset and verify account sequences · Issue #75 · anomaly/lab-python-server · GitHub
Open Graph Title: Implement throttling for communication end points like OTP tokens, reset and verify account sequences · Issue #75 · anomaly/lab-python-server
X Title: Implement throttling for communication end points like OTP tokens, reset and verify account sequences · Issue #75 · anomaly/lab-python-server
Description: Is your feature request related to a problem? Please describe. At the moment the API could be repeatedly hit to send OTP tokens, kick off the verify and reset account sequences which also sends emails. While we can use web application fi...
Open Graph Description: Is your feature request related to a problem? Please describe. At the moment the API could be repeatedly hit to send OTP tokens, kick off the verify and reset account sequences which also sends ema...
X Description: Is your feature request related to a problem? Please describe. At the moment the API could be repeatedly hit to send OTP tokens, kick off the verify and reset account sequences which also sends ema...
Opengraph URL: https://github.com/anomaly/lab-python-server/issues/75
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement throttling for communication end points like OTP tokens, reset and verify account sequences","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nAt the moment the API could be repeatedly hit to send OTP tokens, kick off the verify and reset account sequences which also sends emails.\r\n\r\nWhile we can use web application firewalls to mitigate risk, we should have logic in the application that assist in preventing the abuse of these endpoints.\r\n\r\n**Describe the solution you'd like**\r\nThe first and foremost will be never to originate sequences if they are inappropriate e.g:\r\n- Ignore the verification sequence if the account is verified\r\n- Abort execution of a handler as soon as possible, e.g user not found \r\n\r\nIf the request is legitimate specially for something like reset password or OTP tokens, implement a shifting time window that prevents the caller from repeatedly calling the endpoints.\r\n\r\nE.g: allow 2 subsequent calls within a short period of time, upon that start moving the time window to every 30 seconds and eventually make it reject the request for a very long period of time.\r\n\r\nThe above will be different per operation, so we need to make recommendations that are secure without hampering the user experience of the application.\r\n\r\n**Describe alternatives you've considered**\r\nNA\r\n\r\n**Additional context**\r\nNA","author":{"url":"https://github.com/devraj","@type":"Person","name":"devraj"},"datePublished":"2023-05-15T02:31:34Z","url":"https://github.com/anomaly/lab-python-server/issues/75"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:af6c1933-a91e-7b3c-375b-125a20f4190b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B218:3A5098:39D25F:50F4CB:6B0479CB |
| html-safe-nonce | 5fbb4e1e582882105cbb43ca581b6734bb5d6e528e9b858e33c7a0b15f869cc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjE4OjNBNTA5ODozOUQyNUY6NTBGNENCOjZCMDQ3OUNCIiwidmlzaXRvcl9pZCI6IjIwNzMzNDQ4NTIwNDQ4MzkzNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a8c8aabdda8a3e05dd77a4fc5f896d274acdf1c3a70bf87e84177e8751757ce |
| hovercard-subject-tag | issue:1709210505 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/anomaly/lab-python-server/75/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b20ce789b7ad6f64083ba5f431bd073f71848e2f449b142b1c88f5956454779/anomaly/lab-python-server/issues/75 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b20ce789b7ad6f64083ba5f431bd073f71848e2f449b142b1c88f5956454779/anomaly/lab-python-server/issues/75 |
| og:image:alt | Is your feature request related to a problem? Please describe. At the moment the API could be repeatedly hit to send OTP tokens, kick off the verify and reset account sequences which also sends ema... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devraj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/anomaly/lab-python-server git https://github.com/anomaly/lab-python-server.git |
| octolytics-dimension-user_id | 3654837 |
| octolytics-dimension-user_login | anomaly |
| octolytics-dimension-repository_id | 491764445 |
| octolytics-dimension-repository_nwo | anomaly/lab-python-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 491764445 |
| octolytics-dimension-repository_network_root_nwo | anomaly/lab-python-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width