Distribution of Assets could DoS due to growing arrays of holders/stakers.
distributeAssets() loops through all the available users in other to record their portion for rewards during liquidation, the issue is that size of holders is dynamic and used through a nested for loop, this could hit the block size limit or OOG exception.
Liquidation could be DoSed and vaults would not be liquidated.
Manual Review
consider distributing assets in batches or change the implementation to checkpoint user rewards
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.