Bancor Front Running
In June 2017, a researcher published a number of vulnerabilities in Bancor, an ICO that raised over $150M in a few minutes. One of the vulnerabilities could allow an adversary to gain 117% Return On Investment (ROI) at the expense of other participants. Let's explore what happened and why, and how to protect our smart contracts against this vulnerability.