The hack on one of the largest decentralized exchanges earlier this week has triggered a negative pullback across the DeFi sector.