Malaysia legislation
Section 8
Section 8
If both the parents of an infant have died without appointing a testamentary guardian, any Magistrate, police officer or Protector may cause the infant to be taken before the Court, and the Court shall appoint a guardian of the infant’s person and property or either of them.
Protector to be temporary guardian of abandoned infant.