CIA has a long tradition and culture of leaking, when the price is right.
TRUMP team got aware in August 2016 from CIA about the setting up of hacks by Russia in every ballot box, in every county … and the TRUMP team operated against these attempts by Russia, diplomatically forcing Russia into submission of the intrinsic democratic process the Presidential Elections always have been. Forced them to stop hacking!!! OK Obama should have done more, should have done all manual, paper based non digital non internet elections. The TRUMP team with all their body and soul wanted fair and democratic elections so much.