Rate-limit login and sign-up attempts
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- flask, python
- Área
- authentication, backend, security
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- CSS
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 39 min
- PR fusionados (30 d)
- 6
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NotADIM2/GameVault
-
Deployment guideAbiertodocumentation help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
frontend help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Share button on game pagesAbiertofrontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Add a faviconAbiertofrontend good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
-
frontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Todos los issues de NotADIM2/GameVault
Issues similares
-
`void platform install --app-access public` fails when Cloudflare reports Access is disabledAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/void#835 ·
Los mantenedores suelen responder en 1 día
-
RSA PKCS#1 v1.5 verify fails for SHA-512/224, SHA-512/256 and SHA-3 (UnhandledMatchError on 4.x)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NimblePros/eShopOnWeb#326 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 2 días
-
Send confirmation shows the collaborator fee that the Send form hides, revealing the swept amountAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
joinmarket-webui/jam#1651 · 1 comentario ·
Los mantenedores suelen responder en 3 días