August 2019
Intermediate to advanced
486 pages
13h 52m
English
On the Ethereum blockchain, many hacks occurred between the years 2017 and 2018, and they continue happening because of buggy contract code. In the year 2018 only, more than $1 billion worth of ether and tokens got stolen from Ethereum smart contracts due to vulnerabilities present in the code that attackers exploited. These hacks happened because of bad coding practices and a lack of testing of the contracts.
Looking at how those hacks happened, there have been many attack patterns that have been identified. It is the developer's responsibility to check their code for all of these known attack patterns. If these attack patterns are not prevented, there could be a loss of money (ether/tokens) or the attacker could enforce ...