Lucene search
+L

3 matches found

Code423n4
Code423n4
โ€ขadded 2022/07/04 12:0 a.m.โ€ข13 views

Attacker may front-run acceptCounterOffer() cause users to take both original order and new one

Lines of code Vulnerability details Impact Function PuttyV2.acceptCounterOffer is used in case users see better deal and want to cancel their own order before filling the new one. But attacker can abuse this function by front-run calling fillOrder before it is cancelled in acceptCounterOffer...

6.8AI score
SaveExploits0
Code423n4
Code423n4
โ€ขadded 2022/07/04 12:0 a.m.โ€ข13 views

both order side positions donโ€™t exist is not checked

Lines of code Vulnerability details Impact The flow in fillOrder as documented in expects the check order side positions doesn't exist . However the fillOrder function does not have a require check for this. This allows for the same side positions to be created multiple times leading to loss of...

6.8AI score
SaveExploits0
Code423n4
Code423n4
โ€ขadded 2022/07/04 12:0 a.m.โ€ข11 views

Returned Value not checked when Depositing Eth

Lines of code Vulnerability details Impact In fillorder function, when eth is converted to weth, at line 335, it deposit the msg.value here. But it does not check the return value if the call succeeded. Proof of Concept IWETHweth.depositvalue: msg.value; Tools Used Visual Studio Code Recommended...

6.8AI score
SaveExploits0
Rows per page
Query Builder