Each exchange has cybersecurity specialists who carefully look for and fix vulnerabilities so that users never have problems with data leakage and, worse, loss of funds. I found information about one of the exchanges in the article about
binance audit. Anyone who is interested in the topic of cryptocurrency security, read here.