Five Japanese nationals in Pakistan escaped on Friday from a suicide bomb attack on their vehicle as police shot down a gunman accompanying the bomber, a police spokesperson said, but two bystanders were among the three injured.

Islamist militants seeking to overthrow the government and set up their own strict brand of Islamic rule have launched some of Pakistan's bloodiest attacks during the last few years, with some separatist groups targeting foreigners, including Chinese.

No militant group immediately claimed responsibility for the rare attack on Japanese nationals, however, with Pakistani authorities identifying them as engineers working for the management of an export processing zone in the port city.