I've been thinking about writing a spy thriller based on that premise, ever since the Snowden leaks. At this point I'd assign 30% probability that it's already happened.
That's part of the plot for Dan Brown's Digital Fortress, although like other Dan Brown books it certainly leaves room for someone else to tell the same story better.