| Field | Value |
|---|---|
| Severity | Medium |
| Location | ThunderLoan.sol::setAllowedToken, updateFlashLoanFee, _authorizeUpgrade |
All three owner-restricted functions execute immediately with no delay. No timelock, no multi-sig, no governance vote.
The owner can unilaterally at any moment:
Upgrade to a malicious implementation → drain all funds.
Disallow all tokens → brick all LP redemptions.
Set fee to 100% or 0%.
Apply the same schedule/execute pattern to setAllowedToken and _authorizeUpgrade. Consider multi-sig for the upgrade path.
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.