Describe the normal behavior in one or more sentences
The LikeRegistry contract implements a dating/matching platform with ETH-based likes and multisig wallet rewards.
Explain the specific issue or problem in one or more sentences
The matchRewards() function violates the Checks-Effects-Interactions pattern by making an external call to the newly deployed MultiSigWallet before all state changes are finalized
Likelihood:
Reason 1 // Describe WHEN this will occur (avoid using "if" statements)
If MultiSigWallet's constructor or receive function calls back into LikeRegistry, contract state is inconsistent
Reason 2
Impact:
Impact 1
Deploy a malicious MultiSigWallet that reenters likeUser()
Drain all ETH from the contract through recursive matching
Impact 2
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.