Beginner FriendlySolidity
100 EXP
View results
Submission Details
Severity: medium
Invalid

Vulnerability in Loop-Based Transfers

Description: InheritanceManager::withdrawInheritedFunds uses 'require' statements and 'safeTransfer' calls within a loop. If any single transfer fails—perhaps because a beneficiary is a contract with a rejecting fallback—then the entire transaction reverts.

Impact: A single failing beneficiary transfer can block the distribution process, leaving funds locked in the contract and potentially preventing other beneficiaries from receiving their rightful share.

Recommended Mitigation: Adopt a pull-payment mechanism where each beneficiary withdraws their funds individually. This isolates transfer failures to individual withdrawals rather than impacting the entire transaction.

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.

Give us feedback!