Passing block.timestamp
as the deadline of an operation does not mean “require immediate execution” - it means “whatever block this transaction appears in, I’m comfortable with that block’s timestamp”. Providing this value means that a malicious sequencer can hold the transaction for as long as they like, which may be until they are able to cause the transaction to incur the maximum amount of slippage allowed by the slippage parameter.
The current implementation allows the sequencer to extract some value from the operation that leads to a less favorable swap price for an owner. Low severity since the sequencer is trusted but it is still better to prevent such cases completely.
Manual Review
Consider specifying a deadline by the caller to avoid unnecessary MEV.
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.