Ripe Sage Ant
High
The missing slippage protection in ReputationMarket.sellVotes()
will impact users. Malicious user can sandwich and profit for them, basically stealing from honest users.
In sellVotes()
there is a missing slippage protection.
To attack become profitable fees must be lower than revenue from sandwiching.
No response
- User1 submits
sellVotes()
expecting to receive for example 1 ETH. - User2 executes
sellVotes()
, so after sell price becomes lower. - User1 tx is executed, he receive lower than 1 ETH. Additionally makes price even lower
- User2 buys back his votes at the lowered price.
User2 will profit as soon as price impact is higher than fees payed.
Users always suffer loss on sell operations. Especially when price impact of sell is high.
No response
Add slippage protection.