repayBadDebtWithReserves can be invoked by anyone which will affect the exchange rate directly.
repayBadDebtWithReserves allows the caller to repay the bad debt with the contract reserves(totalReserves). And the totalReserves will directly affect the exchange rate.
However, since there is no access control on this function, anyone can invoke this and get benefits from the exchange rate immediately.
Attackers may benefit from the exchange rate change. Also, this is an inconsistency in governance operation to change the important value in the contract.
Manual
Adding access control on repayBadDebtWithReserves.
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.