The withdrawFees()
function uses transfer()
, which has a fixed gas stipend and may fail.
Location: src/TrickOrTreat.sol:withdrawFees()
Proof of Concept:
This could lead to stuck funds if the recipient is a contract with a complex fallback function or if gas costs increase significantly.
Forge
Use call()
with proper checks for sending ETH.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.