Classified National Security Information Protection Act Article 34

Spying or collecting of classified national security information approved under this law shall be imprisoned not more than 5 years.Spying or collecting of classified national security information approved under Article 6 shall be imprisoned not more than 3 years.Spying or collecting of classified national security information for a foreign country, Mainland China, Hong Kong, Macao, foreign hostile power, or their appointees shall be imprisoned from 1 to 7 years.An attempt to commit an offense specified in the preceding three paragraphs shall be punishable.Those who prepare or conspire to commit offenses as prescribed in the first, second, or third paragraphs shall be imprisoned not more than 1 year.If commitment of the aforementioned 5 types of offenses involving the spying or collecting of classified national security information, the penalty will be intensified by one-half of the punishment.
中文原文 國家機密保護法第34條
刺探或收集經依本法核定之國家機密者,處五年以下有期徒刑。
刺探或收集依第六條規定報請核定國家機密之事項者,處三年以下有期徒刑。
為外國、大陸地區、香港、澳門、境外敵對勢力或其派遣之人刺探或收集經依本法核定之國家機密或依第六條規定報請核定國家機密之事項者,處一年以上七年以下有期徒刑。
前三項之未遂犯罰之。
預備或陰謀犯第一項、第二項或第三項之罪者,處一年以下有期徒刑。
犯前五項之罪,所刺探或收集屬絕對機密或其擬訂等級屬絕對機密之事項者,加重其刑至二分之一。

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