DeFi has recently suffered losses worth millions due to a series of attacks.