Pakistan faces a raging insurgency by the Taliban in the tribal regions along the border with Afghanistan , where Western governments worry that al-Qaida militants could be plotting more attacks on their cities .