Authorities said Erica Leeder, 26, of Calista, Western Australia, was being searched Tuesday at the Fremantle police station after being arrested on an unspecified warrant.
Police said Leeder, who was nude from the waist up during the search, grabbed her own breast and squirted milk onto the forehead, arms and clothes of the female officer conducting the search.
Leeder appeared Wednesday in Fremantle Magistrate's Court on a charge of assaulting a public officer. She was denied bail and ordered to undergo a mental health evaluation prior to her next court appearance March 31.
Bizarre food scam
The magistrate said a previous conviction for assaulting a police officer factored into the decision to deny bail.
The Western Australia Police Union said the assault charge from Tuesday's incident was partially due to the possibility of spreading disease from the breast milk.