The protocol allows the repayment of bad debt using its reserves by calling repayBadDebtWithReserves
. However, the function is external and has no access rights, which means that anyone can call this function and pay off bad debt.
The protocol allows the repayment of bad debt with cash or reserves. The reserves are held in custody by the protocol, and their usage must be restricted to the admin or multisig controlled by the protocol team. However, in this new implementation, anyone can call repayBadDebtWithReserves
and repay the bad debt with protocol reserves
Any one can call this function and use totalReserve to pay bad debt
Manual Review
Add a Access rights:
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.