Vulnerability Details
The setParameter
function in
allows the contract owner to modify critical protocol parameters, including the healthFactorLiquidationThreshold
. Unlike other parameters in the same function, this threshold lacks proper boundary validation, potentially allowing it to be set to unsafe values
Affected Function
If too low, users could get liquidated unnecessarily, causing fund losses.
If too high, liquidations might never trigger, leading to bad debt.
No upper/lower bound allows setting arbitrary values
manual review
Add Immediate Input validation
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.