The receive() function lacks the beforeDeadline modifier allowing users to send ETH after the registration deadline has passed, unlike other functions like deposit() which enforce this check. This creates an inconsistency in deadline enforcement between ETH and token deposits.
The receive() function in the ChristmasDinner contract lacks the beforeDeadline modifier that is present in other participation functions like deposit(). This allows users to send ETH to the contract even after the registration deadline has passed.
Bypassing Deadline: Users can send ETH after the intended cutoff date
Inconsistent Behavior: Token deposits enforce deadline but ETH deposits don't
Compromised Control: Host loses ability to enforce strict registration deadlines
Event Planning Issues: Inability to finalize participant count by deadline
Manual Review
Add the beforeDeadline modifier to maintain consistent deadline checks across all participation methods.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.