Yahoo operated at the request of both the NSA & FBI. The request was classified, of course, because that whole 4th Amendment gets bothersome if you have to go through actual courts and request legal rights to spy on citizens. We don’t live in a free country.
Yahoo Inc last year secretly built a custom software program to search all of its customers’ incoming emails for specific information provided by U.S. intelligence officials, according to people familiar with the matter.
The company complied with a classified U.S. government directive, scanning hundreds of millions of Yahoo Mail accounts at the behest of the National Security Agency or FBI, said two former employees and a third person apprised of the events.
Some surveillance experts said this represents the first case to surface of a U.S. Internet company agreeing to a spy agency’s demand by searching all arriving messages, as opposed to examining stored messages or scanning a small number of accounts in real time.
According to the two former employees, Yahoo Chief Executive Marissa Mayer’s decision to obey the directive roiled some senior executives and led to the June 2015 departure of Chief Information Security Officer Alex Stamos, who now holds the top security job at Facebook. This suggests that the previous news of a massive hack at Yahoo previously blamed on Russians may have been all the doing of Marissa Meyer herself, under pressure by the NSA.