I used only top exchanges that have long reputation, however I don't keep my crypto assets in any exchange because is place to trade, not to store assets. I never lost any money due a hack. About decentralized exchanges, they are safe, but not ready yet for real trade, they are slow as AF.