DeFi Interview Preparation: Securing Price Feeds and Preventing Manipulation
How do top DeFi lending protocols secure price feeds against manipulation and market crashes? I’m preparing for a DeFi developer interview and want to go beyond the basics.
I know most protocols use decentralized oracles like Chainlink or Pyth, with TWAPs and data aggregation from DEXs and CeFi sources. Do leading platforms add extra steps like outlier detection, backup checks, or emergency price freezes?
How do they handle real-time pricing during volatility or flash loan attacks without using stale data? Are protocols adopting UMA’s optimistic oracles or ZK proofs for more security?
If you work in DeFi lending or oracle design, can you share what’s used in production? I want to understand real-world risks and solutions for DeFi price feeds before my interview.