The world of decentralized finance (DeFi) took a hit when a former Amazon engineer exploited vulnerabilities in DeFi protocols, leading to millions in.