Blockchain vulnerabilities
Access control
function initContract() public {
owner = msg.sender
}Bad randomness
function play() public payable {
require(msg.value >= 1 ether);
if (block.blockhash(blockNumber) % 2 == 0){
msg.sender.transfer(this.balance)
}
}Denial of Service
Frontrunnning
Timestamp dependence
Last updated