It turns out that Bond (Pierce Brosnan) didn't spill any information during his torture; it was Miranda Frost (Rosamund Pike) who is the traitor (she is a double agent working, supposedly, for the British Government. Flamboyant businessman and Bond Bad Guy, Gustav Graves (Toby Stephens), turns out to be Colonel Moon (Will Yun Lee), the North Korean renegade military man Bond was supposed to assassinate at the beginning of the film, but equipped with a new face and a DNA transplant.
Thanks, Thomas B!