If there was a secret agreement, the quickness of responses from both implicated parties here reads well. I could definitely see the NSA having contractual language like "Upon suspicion by members of the media, the communications department of Company X should fully deny any and all implications of working with the NSA within 24 hours"