Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2022/06/18 12:0 a.m.12 views

_harvest() vulnerable to sandwich attacks due to missing slippage checks

Lines of code Vulnerability details Impact All funds that should have been harvested can be taken via MEV sandwich attacks because there is no slippage control. Proof of Concept The two swap calls pass zero as the third argument: File: contracts/MyStrategy.sol 1 249 uint256 balEthBptEarned =...

6.9AI score
SaveExploits0
Rows per page
Query Builder