Pakistan is routinely ranked among the world's most dangerous countries for journalists, and reporting that is critical of security policies controlled by the powerful military is considered a major red flag, with reporters at times arrested, beaten and even killed.