Unhealthy accounts not disallowed from liquidating self
There is no check that an unhealthy account can liquidate themselves
Low: This is not an ideal working of protocol. Unhealthy account will actually get a 10% bonus in return for liquidating themselves. Unless its the intended design of protocol, this may not be ideal
Manual Analysis
It is recommended in liquidations to perform the following check in liquidate(..) function
if (user == msg.sender) {
revert DSCEngine__MustNotBeSelf(); // or some other appropriate naming of the custom error
}
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.