A damaging series of classified leaks has put America’s intelligence agencies on the backfoot. Secret documents…