A vulnerability in Truebit’s code enabled an attack that generated about $26 million in new tokens .