Protocol fees can be updated anytime without any time lock, governance process, or min max ranges. This allows the protocol to steal user funds. Basic security mechanisms should be implemented to reduce centralization risks.
There are multiple fees implemented inside the protocol which are transferred to the protocol itself:
mintFeeRate: fee for taking a loan
burnFeeRate: fee for paying back a loan
swapFeeRate: fee for swapping tokens inside a vault
These fees can be updated anytime without time lock or governance and are not checked for min max values:
Therefore, it is possible to for example set the burn fee to 500% and therefore no user will be able to pay back the loan and all get liquidated. Or front run a mint or swap call and update the fee to steal user funds.
Other owner functions should also implement time locks to improve the trustlessness of the protocol:
The protocol is able to steal user funds by setting fees >= 100%.
Implement min max value checks and time locks for updating fees.
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.