DeFi protocols can protect against bridging hacks by using secure smart contracts, implementing multi-signature wallets, and using automated security measures.