Authorities in the Somali autonomous region of Puntland said eight foreign militants were killed following an attack by Islamic fighters on security forces early Tuesday.