Liquid Staking

Stakelink
DeFiHardhatOracle
50,000 USDC
View results
Submission Details
Severity: high
Invalid

Continuously growing ```accounts``` might break PriorityPool contract.

Summary

Vulnerability Details

Lines of impacted code:

address[] private accounts; is a dynamic list which only grows during the lifetime of priority pool contract. At the moment there is no way to remove items from this list. If grown in significant size it might be difficult to traverse through or retrieve items from this list. It might break multiple private/public functions including getAccountData.

Impact

Continuously growing accounts might break PriorityPool contract.

Tools Used

Manusl

Recommendations

Have a mechanism to put a hard cap on accounts and delete items from accounts.

Updates

Lead Judging Commences

inallhonesty Lead Judge 8 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.