Early rate$2,400 of senior audit time for $500. Early members keep the rate as it climbs.$2,400 of senior audit time for $500See how →
F-2024-0001·business-logic

Deposit function should be disabled before starting a game

Acknowledgedpentestblackboxcoin-flip
TL;DR

The deposit function was enabled before the user clicked 'Start Game', allowing transactions to be submitted with no active game session and creating an unnecessary gas griefing surface.

Severity
MEDIUM
Impact
MEDIUM
Likelihood
MEDIUM
Method
MManual review
CAT.
Complexity
LOW
Exploitability
MEDIUM
02Section · Description

Description

Enabling the deposit function before the user initiates the game with "Start Game" can lead to unnecessary transactions and potential gas griefing. Users could trigger deposits without an active session, consuming gas without any meaningful application state change.

03Section · Impact

Impact

Gas griefing surface; unintended transactions submitted without an active game session. No direct fund-loss vector but a robustness and UX failure.

04Section · Recommendation

Recommendation

Disable the deposit function in the UI and at the API boundary until a game session has been started. Reject deposit attempts that arrive before the session-start transition.

Hopium: Acknowledged. Zealynx: Acknowledged.

F-2024-0001