Prison Act Article 9

To achieve the goals of correctional treatment, a prison shall investigate relevant information of inmates.To implement the aforementioned investigation, the prison may, within the necessary scope, collect, process, or use the personal information of each inmate, and request relevant authorities (agencies), legal entities, organizations, or individuals to provide related information, to which authorities (agencies), legal entities, organizations, or individuals must not refuse without a legitimate reason.Regulations governing the scope, period, procedures, methods, review, and other requirements for the investigation of inmate information mentioned in Paragraph 1 shall be prescribed by the Ministry of Justice.
中文原文 監獄行刑法第9條
為達到矯治處遇之目的,監獄應調查與受刑人有關之資料。
為實施前項調查,得於必要範圍內蒐集、處理或利用受刑人之個人資料,並得請求機關(構)、法人、團體或個人提供相關資料,機關(構)、法人、團體或個人無正當理由不得拒絕。
第一項與受刑人有關資料調查之範圍、期間、程序、方法、審議及其他應遵行事項之辦法,由法務部定之。

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