Immigration Act Article 13

The National Immigration Agency shall revoke the permit of a national without household registration in the Taiwan Area, if during the national’s visits in the State, the national:1. Has been considered, on the basis of sufficient factual evidence, to endanger national security or social stability2. Has been sentenced to imprisonment and has completed his/her term of sentence, has been released on parole or pardoned, or have been on probation.
中文原文 入出國及移民法第13條
臺灣地區無戶籍國民停留期間,有下列情形之一者,移民署得廢止其停留許可:
一、有事實足認有妨害國家安全或社會安定之虞。
二、受有期徒刑以上刑之宣告,於刑之執行完畢、假釋、赦免或緩刑。

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