CIA and the Church
Are members of the Church overrepresented in the CIA?
Probably, but there aren't any solid numbers available supporting this. The only direct pieces of evidence supporting this are public statements made by CIA recruiters indicating that have had success recruiting from BYU.
Does this Church have any official relationship with the CIA?
No, but foreign governments have believed that they do. For example, in Russia, the Church's perceived relationship with the CIA led to a major curtailing of the Church's capacity to proselytize. In 1989, the government in Ghana accused missionaries of being CIA operatives, leading to a ban on public Church activities for close to 18 months.
Is there a scriptural precedent for the use of intelligence-gathering?
Yes, there is. In the Old Testament, when Moses[BIO] prepared to invade Canaan, he commissioned twelve spies to conduct espionage against Canaanites. Similarly, in the Book of Mormon, Captain Moroni[BIO] "sent spies into the wilderness to watch their camp." Captain Moroni's intelligence-gathering effort proved successful.
Were members of the Church involved in the CIA torture program used against Al-Qaeda?
Yes. Shortly after 9/11, the CIA contracted two psychologists, James Elmer Mitchell[BIO] and Bruce Jessen,[BIO] a Latter-day Saint bishop, to develop "enhanced interrogation techniques" that would not technically fall under the definition of torture. In 2014, Jessen stepped down from his position as bishop.
Although journalists identified Mitchell as a Latter-day Saint, he currently does not identify as a Latter-day Saint.
In August 2002, Assistant Attorney General Jay Bybee,[BIO] also a Latter-day Saint, advocated for torture's legal justification and constitutionality. He, along with his deputy, John Yoo,[BIO] determined that a "significant range of acts" were, while perhaps "cruel, inhuman, or degrading," did not legally constitute "torture." 
Does the CIA recruit from the Church membership because they are conditioned to follow authoritative organizations?
Possibly, but there are also other reasons that Church members would be attractive to the CIA. The Church's global missionary program regularly produces men and women who are fluent in another language and familiar with other cultures. Many members also have stable family relationships and a clear sense of personal and professional purpose. This makes them attractive recruits for government agencies.
How can a faithful member of the Church be okay with working for the CIA if it's involved in unethical activities?
During World War II, the First Presidency declared that God would not punish citizens for "acts done by them as the innocent instrumentalities of a sovereign" whom God had instructed them to obey and "whose will they were powerless to resist.” However, Latter-day Saints can and, at times, do commit acts beyond their roles as "instrumentalities" and will need to answer for their acts before God.