recently i discovered doing otc that its possible to buy dirty bitcoins from someone and then when you try to sell it on an exchange the account gets frozen

does anyone know how to know if a btc is clean this ?
kind regards
You can do AML check. But to be honest in Bitcoin ecosystem there are notcoins as dirty. It's the government who wants to decide what they want. It's better to avoid centralized exchanges.
How can you decide the 1 dollar bill in your hand is dirty or clean?