The world of decentralized finance (DeFi) experienced another stark reminder of its inherent risks recently. Millions of dollars worth of crypto assets vanished.