In the most recent case of a spy being outed, the Bush administration infamously leaked the name of former CIA officer Valerie Plame to a journalist in 2003.
Still beating that drum, I see....
Plame's outing was an accident. Richard Armitrage told Robert Novak in passing that she worked for the CIA, because he had received a memo that mentioned her.
However, the memo didn't say she was a covert agent. So, Armitrage didn't know that. The fault lays with the person who wrote the memo, and didn't properly classify that information.
I am sure the media will give this the same attention that Plame got, huh?