In RAACToken:setTaxRate
, the function checks if the change in tax rate is too large. However, an admin can repeatedly call this function to bypass the restriction.
The tax rate update is restricted to incremental changes.
An admin can bypass this restriction by calling the function multiple times in succession.
This effectively allows drastic tax rate changes, negating the intended limit.
The tax rate restriction mechanism is ineffective as an admin can manipulate the system to exceed the intended limit over multiple transactions. This could lead to unfair taxation and unexpected changes for users.
Manual review
Implement a time-based mechanism to enforce a cooldown period between tax rate changes.
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.