The withdrawInheritedFunds
function contains a critical flaw in its asset distribution logic that permanently traps residual funds in the contract. The issue stems from:
Key Issue:
Integer division truncates remainders (e.g., 101 wei ÷ 3 beneficiaries = 33 wei each, leaving 2 wei stranded)
No mechanism to handle residual amounts after equal division
Permanent Fund Loss: Residual amounts remain locked in contract forever
Accumulation Risk: Repeated distributions compound stranded funds
Protocol Leakage: Creates unrecoverable "dust" across all asset types (ETH/ERC20s)
Manual Review
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.