Code is law on the blockchain. Users are the main ones to blame if they lose value because someone use the code in unintended ways
There is no such thing as exploit or hack on the blockchain. Code is law. When you use code on the blockchain, you should know what you are doing. Things might go wrong and you might lose value if you don't know what you are doing or if you don't take the proper precautions.