The LikeRegistry contract has a payable receive() function, but direct ETH is not assigned to any user balance or to totalFees
That ETH cannot be withdrawn by users or the owner.
The ETH is stuck in LikeRegistry contract
Likelihood:
Any user can mistakenly send ETH directly to LikeRegistry contract and not receive the funds back , so likelihood is Medium
Impact:
The impact is Medium since user isn't able to withdraw or use the funds/ETH in any meaningful way.
It proves issue where user, alice sends 1 eth directly to LikeRegistry contract . After the transfer
LikeRegistry still holds 1 ether
Alice userBalances is 0
withdrawFees() reverts with "No fees to withdraw"
Alice isn't able to recover or withdraw the funds
either remove receive() so accidental transfers revert, or account direct transfers under a defined recoverable balance. A conservative fix is:
the second option is accounting direct transfer into defined recoverable balances
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.