During President Obama's first term the CIA, the latest in a very long series of failures by an organization that is often lionized in pop culture, it has been revealed that the agency had scores of its agents compromised in places like Iran, China (where thirty agents were subsequently murdered by the regime), and North Korea. The breach started in Iran, which used fricking Google to track down covert CIA websites used for communications, and then they helped China do the same, and then began aggressively exposing agents in other countries as well.
You can read about it here: