updateFlashLoanFee Has No Lower Bound, Owner Can Set Fee to 0| Field | Value |
|---|---|
| Severity | Medium |
| Location | src/protocol/ThunderLoan.sol lines 252–256 |
updateFlashLoanFee only checks newFee > s_feePrecision (upper bound). There is no check for newFee == 0 or any minimum threshold. The owner can set the fee to 0 instantly with no timelock.
Centralization risk: owner can unilaterally destroy LP yield.
No rational LP would deposit if fees can be zeroed at any moment.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.