Beatland Festival

AI First Flight #4
Beginner FriendlyFoundrySolidityNFT
EXP
View results
Submission Details
Impact: medium
Likelihood: low
Invalid

The withdraw function uses transfer to send ETH, which can cause a Denial of Service.

The withdraw function uses payable(target).transfer(...) to send the contract's ETH balance to a specified target address. The transfer function forwards a fixed stipend of 2300 gas. If the target address is a smart contract with a receive or fallback function that consumes more than 2300 gas, the transfer will revert, causing a permanent Denial of Service for withdrawing funds.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 4 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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

Give us feedback!