Skip to content

Fix voting security: block voting before game starts and after game ends#2591

Open
khushal-winner wants to merge 4 commits intoOWASP:masterfrom
khushal-winner:voting-security-fix
Open

Fix voting security: block voting before game starts and after game ends#2591
khushal-winner wants to merge 4 commits intoOWASP:masterfrom
khushal-winner:voting-security-fix

Conversation

@khushal-winner
Copy link
Contributor

Closes - #2568

  • Pre-game voting blocked - No voting before started_at is set
  • Post-game voting blocked - No voting after finished_at is set
  • Server-side validation - Cannot be bypassed by client manipulation
  • Security logging - Logs unauthorized voting attempts
  • Comprehensive tests - Covers all edge cases

@sydseter
Copy link
Collaborator

sydseter commented Mar 12, 2026

@khushal-winner your code has a build error.

Copy link
Collaborator

@sydseter sydseter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to fix the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants