National Security Act Article 13

Any person of military, public, education and state-run institution authority (agency), who has any of the following circumstances in his service or after his retirement, shall be deprived of his right to the payment of pension; and the pension, if paid, shall be recovered:1. Having committed the offense of sedition or the offense of treason for which the punishment is finally adjudicated.2. Having committed the offense under Articles 7 and 8, or the offense against the allegiance to the nation under the Criminal Code of the Armed Forces, or the offense under Articles 32 to 34 of the Classified National Security Information Protection Act, or the offense under Articles 30 to 31 of the National Intelligence Work Act, for which the punishment of not less than imprisonment is finally adjudicated.The amount to be recovered under the preceding paragraph shall be calculated from the time of committing the offense.
中文原文 國家安全法第13條
軍公教及公營機關(構)人員,於現職(役)或退休(職、伍)後,有下列情形之一者,喪失其請領退休(職、伍)給與之權利;其已支領者,應追繳之:
一、犯內亂、外患罪,經判刑確定。
二、犯第七條、第八條之罪、或陸海空軍刑法違反效忠國家職責罪章、國家機密保護法第三十二條至第三十四條、國家情報工作法第三十條至第三十一條之罪,經判處有期徒刑以上之刑確定。
前項應追繳者,應以實行犯罪時開始計算。

English translation for reference only; the Chinese text prevails. Not legal advice.