The LendingPool contract includes a pausable mechanism that should prevent most operations while the contract is paused. However finalizeLiquidation()
is callable even when paused.
This allows certain operations to bypass the pause mechanism, which could lead to unintended asset transfers during emergencies.
Assume LendingPool is paused by owner. However manager in StabilityPool can call liquidateBorrower(). then finalizeLiquidation()
is called while LendingPool is paused.
Liquidations proceed even when the protocol is paused → Could cause user assets to be moved unexpectedly.
manual
Add whenNotPaused
Modifier to finalizeLiquidation()
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.