The ChangeFee function allows the contract owner to update the buy and sell fees used in the hook. The function performs no bounds checking on the provided fee values, allowing the owner to set arbitrarily high (or confiscatory) fees, including values that exceed 100% of the swap amount
Likelihood:
Owner intentionally or accidentally calls ChangeFee with extreme values
No on-chain protection exists — function accepts any uint24 value
Impact:
Users can be charged 100%+ of their input on sell swaps → full or partial drainage
Extreme fees break economic usability and can be used maliciously if ownership is compromised or misconfigured
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.