You want to avoid wallet hackers, but honestly storing coins on the exchange is also not safe. the exchange also has the threat of hacking, and also the risk of closing the exchange due to government regulations. the safest way is to keep the coins in the wallet, and don't open the wallet carelessly.