Anyone who willingly opts into staking on a shady exchange, agreeing to a contract saying that they might be slashed, needs to be prepared to be slashed.
On the other hand, any exchange that automatically opts user deposits into staking without notifying them should be criminally liable. That's a big breach of user trust.