Criminal Code of the Armed Forces Article 20

A person who discloses or delivers a document, plan, information, electromagnetic record, or other things of a secret nature concerning the defence of the Republic of China shall be punished with imprisonment for not less than three years and not more than ten years. That if he committed the offence in wartime shall be punished with imprisonment for not less than seven years or imprisonment for life.A person who discloses or delivers to an enemy the military secrets in the preceding paragraph shall be punished with death or imprisonment for life.An attempt to commit an offence specified in one of the two preceding paragraphs is punishable.A person who commits the offence unpremeditatedly in the preceding paragraph shall be punished with imprisonment for not less than three years, detention, or a fine of not more than 300,000 yuan. That if he committed the offence in wartime shall be punished with imprisonment for not less than one year and not more than ten years.An attempt to commit an offence specified in paragraph Ⅰor Ⅱ shall be punished with imprisonment for not less than five years.
中文原文 陸海空軍刑法第20條
洩漏或交付關於中華民國軍事上應秘密之文書、圖畫、消息、電磁紀錄或物品者,處三年以上十年以下有期徒刑。
戰時犯之者,處無期徒刑或七年以上有期徒刑。
洩漏或交付前項之軍事機密於敵人者,處死刑或無期徒刑。
前二項之未遂犯,罰之。
因過失犯第一項前段之罪者,處三年以下有期徒刑、拘役或新臺幣三十萬元以下罰金。
戰時犯之者,處一年以上七年以下有期徒刑。
預備或陰謀犯第一項或第二項之罪者,處五年以下有期徒刑。

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