What he is doing should have been secure. The question is valid. How were the keys exposed from a private repo?
Sure, but using any third party is inviting a layer of risk. Banks get hacked too. No system is without vulnerabilities. You decide which to trust, including your potentially error-prone self.