Zaros Part 1

DeFiFoundry
60,000 USDC
Submission Details
Severity: high
Valid

`LiquidationBranch::checkLiquidatableAccounts` function checks for trading accounts IDs to be liquidated by setting the bounds to be liquidated as (upperBound - lowerBound), this make every check to revert except where lowerbound is zero.

Updates

Lead Judging Commences

InAllHonesty Lead Judge about 1 month ago
Submission Judgement Published
Validated
Assigned finding tags:

`LiquidationBranch::checkLiquidatableAccounts()` executes `for` loop where `liquidatableAccountsIds[i] = tradingAccountId;` gives out of bounds if `lowerBound != 0`

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.