Khushal Malhotra
Khushal Malhotra
## **Describe the bug** Critical authorization bypass in voting system. Any authenticated player can vote on any dealt card (including their own) by executing JavaScript commands in browser console. The...
**Describe the bug** Stored malicious HTML/JS payloads (e.g. alert('XSS')) are accepted and saved in player/game names without any validation or sanitization. Phoenix auto-escapes output so no XSS executes now, but...
- **Describe the bug** The `Vote` schema defines a `changeset/2` function that casts no fields and validates nothing (`cast(attrs, [])` + `validate_required([])`), providing zero input validation. However, the app never...
**Describe the bug** Players can vote on any dealt_card by guessing/submitting its ID ***(from the console)** — even before the game starts, or after it ends. Backend `toggle_vote` handler lacks...
## Describe the bug Two AttributeError vulnerabilities exist in `scripts/convert.py` where string methods are called on potentially None values without type checking: 1. **Line 815**: `if k.strip() not in el_text:`...
**Describe the bug** (watch the full video) The API endpoint `PUT /api/games/:game_id/players/:player_id/card` (play_card action) has no rate limiting protection. Testing shows 100 simultaneous requests are all processed, with 29 succeeding...
**Describe the bug** when game ends Scores are only visible on the game page (`/games/:id`), not on individual player pages (`/games/:id/players/:player_id`). Players cannot see scores (their own or others') from...
## Describe the Bug The mobile hamburger menu opens and closes, but the transition is not smooth/animated. ## To Reproduce 1. Open the site on mobile or a narrow viewport...
- **Describe the bug** A race condition occurs when multiple users (or the same user with rapid clicks) trigger the "Start Game" action at nearly the same time. Because card...
**Is your feature request related to a problem? Please describe.** Current YAML card loading in scripts/ (primarily in convert.py and related scripts) uses yaml.safe_load without any schema validation or type...