Timestamp-Based Randomness is Manipulable + Medium-High Impact
The contract generates random amounts using block timestamp modulo operation
Block timestamps are predictable and can be influenced by miners/validators, making the randomness gameable
Likelihood:
Miners/validators can manipulate block timestamps within small ranges
Attackers can time transactions to land in favorable timestamp windows
Impact:
Unfair airdrop distribution favoring miners and sophisticated attackers
Loss of trust in the airdrop's fairness and randomness guarantees
Potential legal and reputational damage due to biased outcomes
The `get_random_slice` function should only be called by the owner via the `register_pizza_lover` function. Also, the `owner` is trusted and will not choose a specific time for a new user to register. Therefore, I disagree with the claim of most reports in this group that an attacker can manipulate the random number of pizza slices. But I agree with the root cause of the reports in this group, that the random distribution is not completely random.
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.