DatingDapp

First Flight #33
Beginner FriendlyFoundrySolidityNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Unrestricted Fee Withdrawal in the `LikeRegistry::withdrawFees()` function

Description: Owner can withdraw fees without comprehensive restrictions in the withdrawFees() function

Impact: Potential unauthorized fund extraction

Proof of Concept:

function withdrawAllFees() external onlyOwner {
// Drain accumulated fees without additional checks
withdrawFees();
}

Recommended Mitigation:

  • Implement tiered withdrawal limits

  • Add time-based restrictions

  • Create multi-signature withdrawal mechanism

Updates

Appeal created

n0kto Lead Judge 6 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement
Assigned finding tags:

Admin is trusted

Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.