Rate-limit login and sign-up attempts
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 70/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- flask, python
- Lĩnh vực
- authentication, backend, security
Hướng nghiên cứu
Start at the application entry point to see how the Flask app is created and where the blueprints/routes for POST /login and POST /register live. Add Flask-Limiter to requirements.txt, initialise the limiter against the app, then decorate the two routes with the per-IP limits given. Register a 429 error handler that renders the friendly message without echoing whether the email exists, and confirm by hitting the endpoints repeatedly past the threshold.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Nothing currently stops someone from guessing passwords over and over. Add rate limiting before the site is deployed publicly.
- Limit
POST /login(e.g. 5 per minute per IP) andPOST /register(e.g. 3 per minute per IP) - Show a friendly "Too many attempts, try again in a minute" message
- Use a well-maintained library such as Flask-Limiter and add it to
requirements.txt - Don't reveal whether an email is registered in the error message
- Ngôn ngữ chính
- CSS
- Star
- 1
- Fork
- 1
- Merge trung bình
- 39 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NotADIM2/GameVault
-
Deployment guideĐang mởdocumentation help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
frontend help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Share button on game pagesĐang mởfrontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Add a faviconĐang mởfrontend good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
-
frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Tất cả issue của NotADIM2/GameVault
Issue tương tự
-
`void platform install --app-access public` fails when Cloudflare reports Access is disabledĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
voidzero-dev/void#835 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
RSA PKCS#1 v1.5 verify fails for SHA-512/224, SHA-512/256 and SHA-3 (UnhandledMatchError on 4.x)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NimblePros/eShopOnWeb#326 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Send confirmation shows the collaborator fee that the Send form hides, revealing the swept amountĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
joinmarket-webui/jam#1651 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày