Lucene search
+L

3 matches found

Code423n4
Code423n4
added 2021/12/22 12:00 a.m.13 views

Unsafe transfer in XTokenUpgradeable

Handle 0x1f8b Vulnerability details Impact Unsafe transfer was done. Proof of Concept In the method XTokenUpgradeable.burnXTokens it's made a transfer without checking the boolean result, ERC20 standard specify that the token can return false if the transfer was not made, so it's mandatory to che...

6.9AI score
SaveExploits0
Code423n4
Code423n4
added 2021/12/21 12:00 a.m.9 views

XTokenUpgradeable burnXTokens doesn't check baseToken transfer result

Handle hyh Vulnerability details Impact Transaction will not be reverted on failed transfer, setting system state as if it was successful. User will have the remainder funds frozen within the system. Proof of Concept burnXTokens does the baseToken transfer after burning the shares: Recommended...

7AI score
SaveExploits0
Code423n4
Code423n4
added 2021/12/21 12:00 a.m.9 views

Use safeTransfer/safeTransferFrom consistently

Handle sirhashalot Vulnerability details Impact A transfer function can fail without reverting. To prepare for such situations, a contract should either check the return value of the transfer function or use a solution such as Open Zeppelin's SafeTransfer function. Only a few places in this proje...

6.9AI score
SaveExploits0
Rows per page
Query Builder