Anyone can become a participant within the deadline without payment, becoming attendee and getting a free dinner at the cost of others.
In addition, making it in the participants list @ mapping (address user => bool) participant automatically makes the user part of the pool of possible _newHost .
Due to the ChristmasDinner::changeParticipationStatus function external visibility, lack of checks and bad business logic, anyone can become attendee and render the participant list useless for the organizer.
The participant mapping is also used as a pool for choosing _newHost in ChristmasDinner::changeHost if and when necessary. It is not stated whether the arrangement between the old and new host would be done off-chain and if the new host is trusted but in the natspec (ln.165) _newHost is an arbitrary user which is participant (and as such he/she should pay a fee). We should assume that anyone (especially non-paying participants) could be malicious and by becoming a host (by omissive, misleading or intentional address input by the old host) would have full access to the protocol's funds and overall setup which would put them at risk.
A simple test proving that anyone can become participant (paste this in the test suite):
Protocol's funds and core organization idea are at risk in two possible ways:
A random user could become a participant for free and would have dinner at the cost of others.
A possibility exists by becoming _newHost, for a malicious user to drain the funds and/or making non-acceptable changes of the setup of the protocol.
Manual review, Foundry
Either remove the part of the ChristmasDinner::changeParticipationStatus function that stores users in the participant mapping:
...or remove the function entirely, hindering indecisive users from participating in the event.
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.