Cosmos-based DeFi Protocol Exploited for $5M, Devs Write Patch After Identifying Bug