[BUG]: Spectators can concede debates and repeatedly modify ratings
Los mantenedores suelen responder en 20 días
@krushna-sahu1 ya está trabajando en esto.
Desde el 25/11/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend
Línea de trabajo
Trace the 1v1 message dispatcher and handleConcede, then inspect the room phase, participant roles, and rating update path. Reproduce the repeated concede from the issue’s WebSocket steps and identify where server-side state can enforce the stated invariant. Done when only a registered non-spectator can concede once during an active debate and repeated or out-of-phase requests cannot change ratings.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug Description
The 1v1 dispatcher routes the 'concede' message from every client to handleConcede. The handler does not reject spectators, does not check room phase, and does not prevent repeated concedes; it picks any non-spectator as opponent and calls UpdateRatings.
Expected vs actual
- Expected: The system enforces the invariant described in the remediation below: Accept concede only from a registered non-spectator in an active debate, exactly once, and guard with server-side state.
- Actual: Rating manipulation and collusion; a single spectator can repeatedly boost another user.
Root cause
The message dispatcher forwards concede from every client, and the handler has no role, phase or duplicate-concede guard.
Steps to Reproduce
- Connect to /ws?room=&spectator=true&token=.
- Send {'type':'concede'} repeatedly.
- Observe rating updates on each call even during setup and even from a spectator account.
Logs and Screenshots
Server logs 'Error updating ratings...' only on failure; successful concedes silently change users.rating. No authorization error is returned.
Environment Details
No response
Impact
High - Major feature is broken
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Lenguaje dominante
- TypeScript
- Estrellas
- 108
- Forks
- 266
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin 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 AOSSIE-Org/DebateAI
-
[BUG]: Comment, reply and team-join notifications link to wrong or non-existent frontend routesQuizá libre de nuevo @unnati-jaiswal24 la tomó hace 7 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
AOSSIE-Org/DebateAI#811 · 2 comentarios ·
Los mantenedores suelen responder en 20 días
-
[BUG]: Comment, reply and team-join notifications link to wrong or non-existent frontend routesPosiblemente ocupada @mithunkc017-ship-it la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
AOSSIE-Org/DebateAI#810 · 1 comentario ·
Los mantenedores suelen responder en 20 días
-
[BUG]: Inverted Mic icon causes input confusion in Bot Debate RoomPosiblemente ocupada @Rusky-1014 la tomó hace 12 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
AOSSIE-Org/DebateAI#802 ·
Los mantenedores suelen responder en 20 días
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pagePosiblemente ocupada @sujitkr268 la tomó hace 6 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
AOSSIE-Org/DebateAI#801 · 2 comentarios ·
Los mantenedores suelen responder en 20 días
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failuresPosiblemente ocupada @mithunkc017-ship-it la tomó hace 15 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
AOSSIE-Org/DebateAI#798 · 3 comentarios ·
Los mantenedores suelen responder en 20 días
Todos los issues de AOSSIE-Org/DebateAI
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
review-followup
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
griffinwork40/agent-afk#5387 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CodeManufactoryLLC/Code60#358 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
android:plan ios:plan main:plan packages:learn
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día