Even binance has been involved in controversy about this problem. There is no guarantee that Centralized exchanges are absolutely secure, except for stolen personal information your property can also be lost, but for Centralized exchanges you will also receive benefits and policies. which the DEX doesn't have.