Child and Juvenile Welfare and Rights Protection Act Article 54-1

If a child's parent, guardian, or other person actually caring for the child violates the Narcotics Hazard Prevention Act, the judicial police officer, judicial police, prosecutor, or court shall investigate the child's living and care situation when the person is wanted, detained, observed, rehabilitated, compulsorily rehabilitated, or imprisoned.When judicial police officers, judicial police, prosecutors, or courts conduct investigations into the circumstances mentioned in the preceding paragraph and learn that the child has any of the circumstances mentioned in the Subparagraphs of Article 53, Paragraph 1, and Article 54, they shall report to the special municipality or county (city) competent authority in accordance with the provisions of those articles.
中文原文 兒童及少年福利與權益保障法第54-1條
兒童之父母、監護人或其他實際照顧兒童之人,有違反毒品危害防制條例者,於受通緝、羈押、觀察、勒戒、強制戒治或入獄服刑時,司法警察官、司法警察、檢察官或法院應查訪兒童之生活與照顧狀況。
司法警察官、司法警察、檢察官、法院就前項情形進行查訪,知悉兒童有第五十三條第一項各款情形及第五十四條之情事者,應依各該條規定通報直轄市、縣(市)主管機關。

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