BitMEX had some issues with the US Department of Justice in 2021, but the exchange is safe and running. They have never had public issues with hacks or customer funds and are one of the more trusted exchanges (as evidenced in part by their reputation, liquidity, and longevity).