[BUG]: Spectators can concede debates and repeatedly modify ratings
I maintainer di solito rispondono entro 20 giorni
@krushna-sahu1 ci sta già lavorando.
Dal 25/11/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 108
- Fork
- 266
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AOSSIE-Org/DebateAI
-
[BUG]: Comment, reply and team-join notifications link to wrong or non-existent frontend routesForse di nuovo libera @unnati-jaiswal24 l’ha presa 7 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AOSSIE-Org/DebateAI#811 · 2 commenti ·
I maintainer di solito rispondono entro 20 giorni
-
[BUG]: Comment, reply and team-join notifications link to wrong or non-existent frontend routesForse già presa @mithunkc017-ship-it l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
AOSSIE-Org/DebateAI#810 · 1 commento ·
I maintainer di solito rispondono entro 20 giorni
-
[BUG]: Inverted Mic icon causes input confusion in Bot Debate RoomForse già presa @Rusky-1014 l’ha presa 12 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
AOSSIE-Org/DebateAI#802 ·
I maintainer di solito rispondono entro 20 giorni
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageForse già presa @sujitkr268 l’ha presa 6 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AOSSIE-Org/DebateAI#801 · 2 commenti ·
I maintainer di solito rispondono entro 20 giorni
-
[BUG]: Singleton state leak in matchmaking tests causes non-deterministic failuresForse già presa @mithunkc017-ship-it l’ha presa 15 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
AOSSIE-Org/DebateAI#798 · 3 commenti ·
I maintainer di solito rispondono entro 20 giorni
Tutte le issue di AOSSIE-Org/DebateAI
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
review-followup
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
griffinwork40/agent-afk#5387 ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CodeManufactoryLLC/Code60#358 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
android:plan ios:plan main:plan packages:learn
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno