Despite taking precautions, the DeFi protocol Raft fell victim to a security exploit last week, which resulted in a total loss of $6.7 million worth of funds.