Updates to this story
The US government is furious that documents which show its ally Pakistan is briefing terrorists to bump off US personnel ended up on the whistleblowing site Wikileaks.
US policy for a number of years is to be friendly to Pakistan as a buffer against terrorism.
However, it turns out, according to the documents, that some elements in Pakistan's intelligence community have been helping US enemies.
More than 92,000 documents were released by Wikileaks, containing previously untold details of the Afghan war through Pentagon files and field reports from 2004 to 2010.
The New York Times said the papers show that Pakistan allows representatives of its spy service to meet directly with the Taliban.
As the Guardian points out, along with the growing numbers of civilians dying at the hands of international forces as well as the Taliban, Wikileaks is showing "a devastating portrait of the failing war in Afghanistan".
Not surprisingly the White House issued a condemnation before the leaks were posted online, saying the information could endanger US lives. However, it also had to admit that Washington had long-held doubts about links between Pakistan intelligence agents and Afghan insurgents.
White House National Security Adviser James Jones said the “irresponsible leaks” will not impact US commitment to deepen partnerships with Afghanistan and Pakistan, “to defeat our common enemies; and to support the aspirations of the Afghan and Pakistani people.”
One of the papers was from Defence Secretary Robert Gates dated March 31, 2009 which said that Pakistani links with extremist groups were a real concern.
It is not surprising. According to the papers Pakistan spies "organise networks of militant groups that fight against American soldiers in Afghanistan, and even hatch plots to assassinate Afghan leaders".
Pakistan's former ISI spy chief Hamid Gul is described at a January 2009 meeting with a group of insurgents following the death by CIA drone attack of a leader of al-Qaeda operations in Pakistan named Zamarai. It was discused how to complete Zamarai's last mission by arranging a suicide vehicle-borne improvised explosive device from Pakistan to Afghanistan through the Khan Pass.
Pakistan's ambassador to the United States, Husain Haqqani, also denounced the leaks, saying they consisted of "unprocessed" reports from the field that "do not reflect the current onground realities".
By unprocessed, we guess he means uncensored, to give the impression that Pakistan was not helping terrorists carry out raids against coalition forces and was providing safe havens for Taliban forces in Pakistan.