Early warning for DeFi risk