Detecting Common Vulns
Balance Extraction
function buggy() public {
payable(msg.sender).transfer(1 ether);
}Token Extraction
function buggy() public {
// the price of tokenAddr2 is higher than tokenAddr1
SomeToken(tokenAddr1).transferFrom(msg.sender, address(this), 1000);
SomeToken(tokenAddr2).transfer(msg.sender, 1000);
}Uniswap Pair Issues
Arbitrary Selfdestruct
Integer Overflow / Underflow
Last updated