Pirates based in Somalia have made the waters off East Africa some of the most dangerous in the world .