We have the potential for an owner to set fees exceeding a 100% threshold, effectively allowing them to expropriate funds during significant transactions.
It's essential to enforce a cap on permissible fees.
A rogue owner might initially set the fee rate at zero.
However, when a substantial transfer value is detected in the mempool, the owner can drastically increase the rate to its peak, enabling a potential sandwich attack on an unsuspecting user.
This vulnerability can be severe for users interacting with the contract. If exploited, users could lose a significant portion, if not all, of the transferred value in fees.
Manual review
Implement a fee cap
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.