flagShort()
does not check if flaggerHint == 0
, it may cause the malicious user call the flagShort()
repeatly to prevent liquidation
As we can see, flagShort()
does not check if flaggerHint == 0
, and then it will call the short.setFlagger(cusd, flaggerHint);
to set the short.flaggerId
is 0. So the flagShort()
can be call repeatly to prevent liquidation
the malicious user call the flagShort()
repeatly to prevent liquidation
manual
check if flaggerHint == 0
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.