South Korean authorities on Tuesday detained a man after two police officers were stabbed outside the compound housing the presidential office in the capital Seoul, news agency Yonhap reported.