Pakistani authorities are hunting for a militant who escaped from custody after being detained in connection with a plot to assassinate President Pervez Musharraf in December 2003 .