The FBI has arrested an NSA contract employee and entered a criminal complaint against him for theft of government property and unauthorized removal and retention of classified documents or material. The man arrested—Harold Thomas Martin—is (or was) employed by Booz Allen Hamilton. Reports in the New York Times and elsewhere mention the possibility that among the classified material the FBI found in Martin's possession was software. There's much speculation that Martin had been working for Russia's SVR as a "mole," and that he may have been connected with the Shadow Brokers' compromise of Equation Group tools, but the story is still developing and these conclusions are premature.
A statement from Martin's lawyers reported in the New York Times seems to adumbrate his likely defense: “We have not seen any evidence. But what we know is that Hal Martin loves his family and his country. There is no evidence that he intended to betray his country.” Thus, no intent.
The markets regard the arrest, of course, as a black eye for Booz Allen Hamilton.
The story of Yahoo!'s alleged complicity with Government surveillance is more complex than earlier reports would have suggested. After initially responding to inquiries concerning the allegation with bland assertions of being law-abiding, Yahoo! has denied giving up customer emails in bulk to the US Government. It's unclear exactly what Yahoo! did beyond compliance with court orders (many note that Reuters' sources' anonymity isn't helping). NSA Director Rogers has said the account sounds implausible to him.