What does Islam say on the code of Silence (Omertà).
Citing wikipedia: A code of silence is a condition in effect when a person opts to withhold what is believed to be vital or important information voluntarily or involuntarily. Such as staying silent on certain issues regarding criminality for example.. etc. not snitching, not being a rat. I dont know if i made it clear. I'm asking because I want to see if there's a relationship with not exposing other peoples sins

If you know something privately about someone’s life, you cannot expose them. It would be sinful to do so. Yes, if you believe this person is about to harm others then you must take action to protect the others. If you know something about someone’s relationships, you should not expose them.