Description
Under normal behavior, the contract’s ChangeFee function should allow the owner to update buy and sell fees within reasonable, bounded limits so that swaps remain economically viable and users are protected from abusive fee configurations.
The issue is that the contract allows the owner to set any uint24 value for buyFee and sellFee with no upper bound, no validation, and no safety checks. Since Uniswap V4 fees operate with a / 1e6 denominator, this allows the owner to set fees as high as 16,777,215%, making swaps impossible and enabling soft-rug behavior.
Likelihood:
The fee update function is operational and expected to be used during normal lifecycle management, making misconfiguration highly probable.
Any compromise of the owner key will immediately grant an attacker the ability to set malicious, extreme fees.
Impact:
The owner (or attacker with owner privileges) can set fees extremely high (100%–16M%), making swaps revert or draining nearly all traded tokens.
This enables soft-rug behavior by sharply increasing fees to extract funds from traders without modifying token contracts.
Add a maximum safe fee cap and enforce validation:
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.