Christmas Dinner

First Flight #31
Beginner FriendlyFoundrySolidity
100 EXP
View results
Submission Details
Severity: high
Invalid

Exploitable `receive()` function

Summary

Recive() can be called with a smart-contract not a user.

Vulnerability Details

-The receive() function can be initiated by any Ethereum account, not merely by participants in the contract.
-This lack of restricted access allows non-participants the potential to manipulate user balances and influence the contract's state.

Impact

-Unauthorized users could gain access and tamper the system.
-Potential mismanagement or loss of funds.

Tools Used

Static code analysis, Automated audit tools

Recommendations

-Implement suitable access control in the receive() function to restrict usage.
-Validate user identities/roles before executing function calls.

Updates

Lead Judging Commences

0xtimefliez Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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