Description:
The ChangeFee function allows setting buy and sell fees to any value, even excessively high ones, with no validation.
Impact:
The owner could set fees to extreme values (e.g., 100%), rendering trading impossible or capturing exorbitant protocol revenue, harming users.
Proof of Concept: TODO add test
Test could set fee to an unreasonable value:
Mitigation:
Enforce max fee values, e.g., no more than 10% (100,000 in Uniswap V4 fee units).
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.