Weapons meant for the Somali army could have been used by the militants in Friday's attack. A confidential U.N. Monitoring Group on Somalia and Eritrea reported this month that the country's military is selling weaponry in markets where the al-Qaida-linked militants buy weapons.
In at least one case weapons were sold by a military commander directly to an al-Shabab commander, the confidential report said.
Friday's attack against the compound where the president and prime minister live began with a car bomb explosion, followed by an assault by gunmen on palace guards, said police Capt. Mohamed Hussein. Al-Shabab, an al-Qaida-linked group, claimed responsibility.