Consider for a moment the fictional scenario that all US tax documents were leaked, or perhaps only the tax documents of folks whose names started with Warren B. We might (in this fictional scenario) find out about some very significant tax evasion on the part of Warren Buffet (just a hypothetical example, almost certainly not true), but how might Warren Beaufort feel?
To provide another (completely fictional) example, what about if the medical information of all federal US employees gets leaked. The US public is shocked to discover the huge misappropriations of funds towards unnecessary procedures for US congressmen/women, but at the same time Joe Normal, who works for a middle school, loses his job because it's revealed he has AIDS and the parents petition his removal from the classroom.
I don't want to give these folks who might have access to this data any hope of exoneration or leniency if they use their privileged position to reveal secrets.
Once again, blaming the leaker is blaming the wrong individual here.
There is already a cost to society of people not seeking treatment for mental health issues on the possibility the info might be leaked, not because the leak itself is a feared occurrence (in reality it is rare) but because of how irrational society reacts (especially when mental disorders are treated as moral failings).
Consider a closer analogy of report a number of child abusers to the police. One of these abusers is a father who abuses their child. Enough info is made public during the trial that the child is shamed for it (even though we can agree they should not be shamed for it). Are you guilty for shaming the child? Say another child is taken from their parents, both of whom had abused them but stopped and placed into foster care where they are abused again. Are you guilty for their continued abuse?
In the event of a shamed child, I am indeed responsible (not guilty, that has a legal connotation that's undesired here) for a child's shaming if I am the one who acted, and the result of which was the shaming, regardless of other outcomes. Had I not acted, the child would not have been shamed. Therefore I am the responsible actor in the child shaming (not exclusively, obviously).
You're apparently mixing both morality and legality, as well as what is happening vs. what ought to happen [0]. I am explicitly speaking in the realm of what is happening. You are responsible for the shaming of the child, the beating of the child, or the exposure of Joe Normal's loss of his job. Whether or not you were acting morally is an issue I'd like to address, but only once we've agreed on the premise that an actor is considered responsible for all direct consequences of his/her action.
Am I missing anything here?