Sri Lanka slammed the United Nations yesterday over its plans to investigate alleged human rights abuses committed in the final months of the island's savage civil war.

Government spokesman Keheliya Rambukwella accused the UN of having a "hidden agenda" on Sri Lanka, where government troops finally wiped out separatist Tamil Tiger guerrillas last May after decades of ethnic bloodshed.

Rambukwella said UN Secretary-General Ban Ki-moon's appointment of a panel to advise on any violations of international human rights in Sri Lanka was "an attempt to provide oxygen to the LTTE [Liberation Tigers of Tamil Eelam]."

"The United Nations and its secretary-general have revealed their hidden agenda in no uncertain terms," Rambukwella said in remarks posted on a government website.

Ban's latest move followed international pressure for a probe into allegations that thousands of ethnic Tamil civilians were killed by government troops in the military offensive that won the war.

UN spokesman Martin Nesirky said in a statement that the panel would be chaired by Marzuki Darusman from Indonesia, the UN's special envoy for North Korea, and hoped to complete its work in four months.

Nesirky emphasised the group had a mostly consultative role, and that "primary responsibility for investigating rests with the authorities of Sri Lanka".

But Peggy Hicks, global advocacy director with Human Rights Watch, welcomed the panel, saying it had "long been abundantly clear that the Sri Lankan government is unwilling to seriously investigate wartime abuses".

Sri Lankan authorities faced numerous allegations of war crimes during the fighting in early 2009 against Tamil rebels in the northeast of the island.