Description:Description\
There is no slippage protection (minOut parameter) in AlgebraPool.sol
in function swap - this will lead to fund loss via MEV bots .
Attack Scenario\
When transaction is seen in the mempool, MEV bots will sandwich the transaction and fund loss will occur.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)
consider adding ''minOut'' parameter to function swap .
Github username: -- Twitter username: Buggsy Submission hash (on-chain): 0x11430057908f55e3748154424d6078e3e1426d724ffbc5c1d9afe58299c2a748 Severity: high
Description: Description\ There is no slippage protection (minOut parameter) in AlgebraPool.sol in function swap - this will lead to fund loss via MEV bots .
Attack Scenario\ When transaction is seen in the mempool, MEV bots will sandwich the transaction and fund loss will occur.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional) consider adding ''minOut'' parameter to function swap .