You’re the one conflating issues. No one said anything about forcing people to divulge their private messages. The difference here is that this leaked source code can no longer be considered private after the moment it leaks to the general public. Don’t want your proprietary code leaking? Make better hiring decisions and implement better technical safeguards against it. Just because you fail to secure your code shouldn’t give you the legal power to dox everyone who viewed it on a public repository and seize their machines in an attempt to claw back the code.