Imam served as the cabinet secretary in the Mujibnagar government. He was the political advisor to the Prime Minister of Bangladesh. He blamed the Inter Service Intelligence for facilitating the July 2016 Dhaka attack.