It happens everywhere. That is why dev team is very important. Even bitcoin also have its flaws and iota also did not escape from the same situation. That is why neo also got bounty and CoZ council team to help them do check. One very promising ICO quantstamp is getting more and more important for our cryptospace is that it verify smart contract so they can help to prevent similar things from happening.